Increase the expiration time for the kubernetes-dashboard page, reduce the number of logins.

Many ways, the simplest is to log on, find Deployments service, the right side of the interface kubernetes-dashboard items will appear, if not present, then select all of the namespace in the namespace there.

ports:
- containerPort: 8443
  protocol: TCP
args:
  - --auto-generate-certificates
  - --token-ttl=43200

Add args period. The time in seconds, I fill 12 hours of time, basically one day log on once is enough.

Next: Hyper-v access docker desktop virtual machines created DockerDesktopVM 

 

Guess you like

Origin www.cnblogs.com/worldinmyeyes/p/12343897.html