micro8ks - kubernetes
Installation
To install MicroK8s on Ubuntu, you can follow these steps
To install MicroK8s on Ubuntu, you can follow these steps: 1. Open a terminal on your Ubuntu mac...
To install the Kubernetes dashboard and set up HTTPS access, you can follow these steps:
To install the Kubernetes dashboard and set up HTTPS access, you can follow these steps: 1. Inst...
To automatically start the Kubernetes dashboard after booting your Ubuntu machine
To automatically start the Kubernetes dashboard after booting your Ubuntu machine, you can create...
kubectl
sudo snap install kubectl --classic microk8s.kubectl config view --raw > $HOME/.kube/microk8s....
Change kubectl editor
sudo -H nano /etc/environment insert new line: KUBE_EDITOR="nano"
Dashboard WithOut Proxy
Enable additional Add-Ons We will need to enable a few additional Kubernetes add-ons to get this...
Dashboard - TimeOut
kubectl -n kube-system edit deployments kubernetes-dashboard - --token-ttl=0 spec: conta...
Dashboard Get Token
sudo cat /var/snap/microk8s/current/credentials/client.config
To use a container registry with MicroK8s, you can follow these steps:
To use a container registry with MicroK8s, you can follow these steps: 1. Enable the `registry` ...
Installationanleitung 2
The first thing to do is open a command line on your Ubuntu system and execute the following sn...
Dashboard
Dashboard - enable-skip-login
microk8s.kubectl edit deployment/kubernetes-dashboard --namespace=kube-system spec: contai...
Dashboard - Remote Access
sudo crontab -e @reboot sleep 60 && /snap/bin/microk8s dashboard-proxy > /tmp/dashboard-start...
Dashboard Get Token
sudo cat /var/snap/microk8s/current/credentials/client.config
Docker Desktop Dashboard
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recomme...
Deploying the Dashboard UI
https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/ create sample user...
Creating sample user
https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user...
kubectl config
microk8s - Registry
Registry Cleanup
microk8s disable registry microk8s disable storage:destroy-storage microk8s enable regist...
Registry - Commands
http://192.168.0.115:32000/v2/_catalog http://192.168.178.100:32000/v2/_catalog kubectl get svc...
Delete more images by Name
microk8s ctr images rm $(microk8s ctr images ls | grep 'IMAGENAME')
Uninstall
microk8s - Commands
kubectl - Commands
Get a Shell to a Running Container kubectl get pod kubectl exec --stdin --tty PODNAME -- /bin/b...