Add on: Portainer

From MicroK8s version: 1.20+
Supported arch: amd64, arm64

Portainer allows you to “build, manage and deploy containers in your Kubernetes environment quickly and easily. No more CLI, no more YAML, no more Kubernetes manifests. Just simple, fast, K8s configuration in a graphical UI, built on a trusted open source platform.”

To enable the addon:

microk8s enable portainer

You will now find the Portainer exposed as a Nodeport service on port 30777

When first navigating to the URL above, you will be asked to create a user:

Confirm the username and an 8+ character password to continue to the dashboard. This will initially open on the settings page:

For details of the settings and usage of portainer, see the official documentation


The addon can be disabled at any time with the command:

microk8s disable portainer

$ microk8s enable portainer
Nothing to do for portainer

Where is the plugin on fresh system?

Sorry portainer isn’t working for you. Some things to check:

  • is MicroK8s the latest version ( snap info microk8s -> v1.20.0 (1864) 219MB classic
  • are you running on something other than amd64?
  • are you set to the 1.20 track? sudo snap refresh microk8s --channel=1.20

Thank you very much!

1 Like

The URL could be with v1.20/stable on Ubuntu Server 20.04.

microk8s.kubectl get all -n portainer

NAME                TYPE       CLUSTER-IP       EXTERNAL-IP   PORT(S)                          AGE
service/portainer   NodePort   <none>        9000:30777/TCP,30776:30776/TCP   26m
1 Like

When you visit the portainer URL, do you get a list of API interfaces, or a UI?

I’ve yet to work out how to land on the UI.

I get an UI when I visit

1 Like

pl visit to know about the features & how to deploy stack

Hi pl change the node port to 30777 in documentation,9000 is container port