33
loading...
This website collects cookies to deliver better user experience
logiq
Helm Chart. You can also use your own favorite Helm Chart that you’d like to try out. Let’s also assume that you have access to the Linux operating system.sudo apt-get -y update
sudo snap install core
sudo snap install microk8s --classic
sudo usermod -a -G microk8s $USER
sudo chown -f -R $USER ~/.kube
sudo microk8s config > ~/.kube/config
sudo microk8s status
microk8s enable helm
microk8s enable storage
microk8s enable dns
microk8s enable ingress
microk8s enable registry
microk8s.kubectl config view > $HOME/.kube/config
LoadBalancer
and assign them an IP address. Alternatively, you can also set an IP address while enabling add-ons. IP-address:80
. If you do not know your local machine’s IP address, run the ifconfig
command as shown below and use the output of the command:ifconfig:
wlp60s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.27 netmask 255.255.255.0 broadcast 192.168.1.255
microk8s enable metallb
Enabling MetalLB
Enter each IP address range delimited by comma (e.g. '10.64.140.43-10.64.140.49,192.168.0.105-192.168.0.111'): 192.168.1.27-192.168.1.27
logiq
Helm Chart and Helm 3 in the following commands. You can replace the Helm Chart repo URL in the following command with your own Helm Chart’s repo URL if you’re trying another chart.helm repo add logiq-repo https://logiqai.github.io/helm-charts
helm repo update
logiq
for the stack to spin up from and start running with the command:microk8s kubectl create namespace logiq
helm install
with the storage class set to the microk8s-hostpath
as shown below:helm install logiq -n logiq --set global.persistence.storageClass=microk8s-hostpath logiq-repo/logiq -f values.yaml --debug --timeout 10m
values.yml
file used in the command above is customized to suit our cluster’s configuration. You can download the values.yml
file from docs.logiq.ai and edit it to suit your cluster’s needs, and then run the above command. logiq
namespace you created:microk8s kubectl get pod -n logiq
$microk8s kubectl get service -n logiq |grep -i loadbalancer
logiq-kubernetes-ingress LoadBalancer 10.152.183.45 192.168.1.27
80:30537/TCP,20514:30222/TCP,24224:30909/TCP,24225:31991/TCP,2514:30800/TCP,3000:32680/TCP,514:32450/TCP,7514:30267/TCP,8081:30984/TCP,9998:31425/TCP 18m
http://192.168.1.27:80