Martin Koníček


Installing Istio on MicroK8S

Showcase image

Installing Istio on MicroK8S using standard path following tutorial from with just small changes.

If you will follow default tutorial you will probably get following errors

Installation error

bash# istioctl install --set profile=demo -y
Error: check minimum supported Kubernetes version: error getting Kubernetes version: Get "http://localhost:8080/version?timeout=5s": dial tcp connect: connection refused

For resolving this issue you should export kubeconfig first

bash# microk8s config > ~/.kube/config
bash# export KUBECONFIG=~/.kube/config
bash# istioctl install --set profile=demo -y


Next difference is in ingress set-up.

bash# kubectl get svc istio-ingressgateway -n istio-system
NAME                   TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                                                                      AGE
istio-ingressgateway   LoadBalancer   <pending>     15021:31323/TCP,80:30732/TCP,443:30212/TCP,31400:32197/TCP,15443:30158/TCP   2m24s

You can see that port 80 is mounted to port 30732, now you just list interfaces

bash# ip addr l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group ...
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group ...
    inet metric 100 brd scope global dynamic 

And eth0 interface is on

So after installing initial tutorial you will find out sample application on

  • Connecting the IKEA Parasoll door sensor with Slack
    Connecting the IKEA Parasoll door sensor with SlackWhen IKEA recently came out with their new Parasoll door and window sensors, I thought, why not play around with it. These are quality sensors using the open Zigbee standard.
  • cs | en