I will walk you through the Portainer installation steps in this article.
Here is a video tutorial; continue reading for a list of written instructions.
VIDEO
Exercises to complete:
Install Portainer on master node
Open URL in the web browser
Delete Portainer if needed
Install Portainer on master node
1
kubectl apply -f https://raw.githubusercontent.com/portainer/k8s/master/deploy/manifests/portainer/portainer.yaml
Display the Portainer dashboard URL
1
curl -vk https://<IP_ADDRESS>:<PORT_NUMBER>
eg.
1
curl -vk https:10.10.0.120:30777
Copy the URL and put it into the address bar into your web browser. Then login to Portainer using login: admin. Generate a password by using a random password generator.
Delete Portainer if needed
1
kubectl delete deployments.apps/portainer -n portainer && kubectl delete service portainer -n portainer && kubectl delete serviceaccount -n portainer portainer-sa-clusteradmin && kubectl delete pvc portainer -n portainer && kubectl delete clusterrolebinding portainer && kubectl delete namespace portainer && rm -f portainer.yaml