I've manually tried to verify the dashboard is available following the steps described with the kubernetes-calico bundle. As seen below a connection to the calico cidr IP assigned to the kubernetes-dashboard-7cf54d76b5-r8k8g pod times out.
ubuntu@anorith:~$ kubectl proxy
Starting to serve on 127.0.0.1:8001
^Z
[1]+ Stopped kubectl proxy
ubuntu@anorith:~$ bg
[1]+ kubectl proxy &
I've manually tried to verify the dashboard is available following the steps described with the kubernetes-calico bundle. As seen below a connection to the calico cidr IP assigned to the kubernetes- dashboard- 7cf54d76b5- r8k8g pod times out.
ubuntu@anorith:~$ kubectl proxy
Starting to serve on 127.0.0.1:8001
^Z
[1]+ Stopped kubectl proxy
ubuntu@anorith:~$ bg
[1]+ kubectl proxy &
ubuntu@anorith:~$ nc -nz 127.0.0.1 8001
ubuntu@anorith:~$ echo $?
0
ubuntu@anorith:~$ curl 'http:// localhost: 8001/api/ v1/namespaces/ kubernetes- dashboard/ services/ https:kubernete s-dashboard: /proxy/ #!/login'
Error trying to reach service: 'dial tcp 172.16.1.199:8443: i/o timeout'
ubuntu@anorith:~$ kubectl describe po -n kubernetes- dashboard metrics- scraper- cc4c766b4- 5st8p dashboard kubernetes- 9/172.16. 0.185 dashboard- metrics- scraper
pod-template- hash=cc4c766b4 dashboard- metrics- scraper- cc4c766b4 metrics- scraper: //810e53b4beb6d c605bd9f52f3fb2 e8281515db7cea1 fb1400565cd8aec d44e7e .com:443/ cdk/kubernetesu i/metrics- scraper: v1.0.1 .com:443/ cdk/kubernetesu i/metrics- scraper@ sha256: 3b1cb436dbc2c02 aabd7d29e3d9b3f 8b4dfc1eb50dbcc 63640213ef11392 35dd :8000/ delay=30s timeout=30s period=10s #success=1 #failure=3 var/run/ secrets/ kubernetes. io/serviceaccou nt from kubernetes- dashboard- token-qjphl (ro) dashboard- token-qjphl: dashboard- token-qjphl kubernetes. io/master: NoSchedule
node. kubernetes. io/not- ready:NoExecute for 300s
node. kubernetes. io/unreachable: NoExecute for 300s
Name: dashboard-
Namespace: kubernetes-
Priority: 0
Node: juju-cd5864-
Start Time: Wed, 19 Feb 2020 20:46:50 +0000
Labels: k8s-app=
Annotations: <none>
Status: Running
IP: 172.16.1.201
IPs:
IP: 172.16.1.201
Controlled By: ReplicaSet/
Containers:
dashboard-
Container ID: containerd:
Image: rocks.canonical
Image ID: rocks.canonical
Port: 8000/TCP
Host Port: 0/TCP
State: Running
Started: Wed, 19 Feb 2020 20:48:31 +0000
Ready: True
Restart Count: 0
Liveness: http-get http://
Environment: <none>
Mounts:
/tmp from tmp-volume (rw)
/
Conditions:
Type Status
Initialized True
Ready True
ContainersReady True
PodScheduled True
Volumes:
tmp-volume:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
kubernetes-
Type: Secret (a volume populated by a Secret)
SecretName: kubernetes-
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node-role.
Events: <none>
Name: kubernetes- dashboard- 7cf54d76b5- r8k8g dashboard kubernetes- 9/172.16. 0.185 kubernetes- dashboard
pod-template- hash=7cf54d76b5 kubernetes- dashboard- 7cf54d76b5 dashboard: //86d925a8abeb9 6fc4e0164ee91d9 275d800a38d1e74 6510861a3ce517c 4c6c08 .com:443/ cdk/kubernetesu i/dashboard- amd64:v2. 0.0-beta4 .com:443/ cdk/kubernetesu i/dashboard- amd64@sha256: 1dc220ba89df386 cf8696d53093fc3 24a12f918b82aef b8deca3974b0b17 9d04 -auto-generate- certificates -authentication -mode=basic -namespace= kubernetes- dashboard /:8443/ delay=30s timeout=30s period=10s #success=1 #failure=3 dashboard- certs (rw) var/run/ secrets/ kubernetes. io/serviceaccou nt from kubernetes- dashboard- token-qjphl (ro) dashboard- certs: dashboard- certs dashboard- token-qjphl: dashboard- token-qjphl kubernetes. io/master: NoSchedule
node. kubernetes. io/not- ready:NoExecute for 300s
node. kubernetes. io/unreachable: NoExecute for 300s
Namespace: kubernetes-
Priority: 0
Node: juju-cd5864-
Start Time: Wed, 19 Feb 2020 20:46:50 +0000
Labels: k8s-app=
Annotations: <none>
Status: Running
IP: 172.16.1.199
IPs:
IP: 172.16.1.199
Controlled By: ReplicaSet/
Containers:
kubernetes-
Container ID: containerd:
Image: rocks.canonical
Image ID: rocks.canonical
Port: 8443/TCP
Host Port: 0/TCP
Args:
-
-
-
State: Running
Started: Wed, 19 Feb 2020 20:48:10 +0000
Ready: True
Restart Count: 0
Liveness: http-get https:/
Environment: <none>
Mounts:
/certs from kubernetes-
/tmp from tmp-volume (rw)
/
Conditions:
Type Status
Initialized True
Ready True
ContainersReady True
PodScheduled True
Volumes:
kubernetes-
Type: Secret (a volume populated by a Secret)
SecretName: kubernetes-
Optional: false
tmp-volume:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
kubernetes-
Type: Secret (a volume populated by a Secret)
SecretName: kubernetes-
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node-role.
Events: <none>