fujitatomoya / ros_k8s

Kuberenetes / ROS&ROS2 Cluster Samples
Creative Commons Attribution 4.0 International
185 stars 26 forks source link

dashboard token timeout after an hour #11

Closed fujitatomoya closed 1 year ago

fujitatomoya commented 1 year ago

related to the following issue, could extend the lifetime or skip login should be reasonable for this tutorial.

fujitatomoya commented 1 year ago

off topic but fix these at the same time. cleaning up requires more operations.

kubeadm reset -f
\rm -rf $HOME/.kube/config
rm -rf /etc/cni/net.d
rm -rf /var/lib/weave
fujitatomoya commented 1 year ago

https://github.com/fujitatomoya/ros_k8s/issues/11#issuecomment-1454068214 is addressed with https://github.com/fujitatomoya/ros_k8s/commit/0e2e5b95934bb6eb61a203e3de3114de10c9a659

fujitatomoya commented 1 year ago

Adding --enable-skip-login argument option for kubernetes dashboard container via kubectl edit deployment/kubernetes-dashboard --namespace=kubernetes-dashboard can allow us to skip the login for the dashboard. But this is not recommended cz that everyone else can login the cluster dashboard, even control the cluster. Just expanding lifetime duration forever should be enough. closing since that is already addressed.