User Tools

Site Tools


tech:k8s:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tech:k8s:start [2019/10/30 08:56]
rk4n3
tech:k8s:start [2019/11/03 22:02] (current)
rk4n3
Line 5: Line 5:
   * Dashboard: [[http://​k8s:​8080/​api/​v1/​namespaces/​kube-system/​services/​monitoring-grafana/​proxy|(local cluster - k8s)]]   * Dashboard: [[http://​k8s:​8080/​api/​v1/​namespaces/​kube-system/​services/​monitoring-grafana/​proxy|(local cluster - k8s)]]
   * Dashboard (proxied):   * Dashboard (proxied):
-    * Tunnel: ​ ''​ssh -L 18001:localhost:8001 k8s''​ +    * Tunnel: ​ ''​ssh -L 18443:<​DashboardIP>​:443 k8s'' ​//(discover DashboardIP as in instructions below)// 
-    * [[http://​localhost:​18001/​api/​v1/​namespaces/​kube-system/​services/​https:​kubernetes-dashboard:/​proxy/​]]+    * [[https://​localhost:​18443/​api/​v1/​namespaces/​kube-system/​services/​https:​kubernetes-dashboard:/​proxy/​]]
  
 ====== Installation & Configuration ====== ====== Installation & Configuration ======
Line 24: Line 24:
     * ''​kubectl get pods''​     * ''​kubectl get pods''​
     * ''​kubectl get pod garden-7dd9f6bc88-pp87l''​     * ''​kubectl get pod garden-7dd9f6bc88-pp87l''​
-    * ''​kubectl exec -it garden-7dd9f6bc88-pp87l -- /​bin/​bash''​ +    * ''​kubectl exec -it garden-7dd9f6bc88-pp87l -- /​bin/​bash'' ​\\  
-  * Figure out access to dashboard:<​code>​ +  * Discover ​dashboard ​IP:<​code>​microk8s.kubectl get all --all-namespaces |grep kubernetes-dashboard | grep ClusterIP</​code>​ 
-microk8s.kubectl get all --all-namespaces |grep kubernetes-dashboard | grep ClusterIP+  * Discover dashboard token:<​code>​
 microk8s.kubectl -n kube-system get secret microk8s.kubectl -n kube-system get secret
 microk8s.kubectl -n kube-system describe secret default-token-{xxxxx} microk8s.kubectl -n kube-system describe secret default-token-{xxxxx}
tech/k8s/start.1572443799.txt.gz · Last modified: 2019/10/30 08:56 by rk4n3