Installing Camel-K on microk8s running Ubuntu
First, we’ll set up microk8s. I am running Ubuntu, this is therefore super straightforward, running these commands:
sudo snap install microk8s — classic
sudo microk8s status — wait-ready
sudo microk8s enable dashboard dns registry istio
After running these commands, you should be able to see tons of processes running when executing:
ps -ef | grep kube
To access our local single-node cluster, I like to use the standard kubectl command on my local user. This command allows you to do that:
sudo microk8s config > ./kube/config
Now executing kubectl get pods will return nothing since right now there is nothing yet running on the default namespace. Next, we are going to change that, by installing camel-k
kamel install — registry=https://index.docker.io/v1/
If we execute the command again, we can see the Camel-K Operator is up and running: