方法1:部署清单时,修改yaml文件,添加 container.Args 增加 --token-ttl=43200 其中43200是设置自动超时的秒数。也可以设置 token-ttl=0 以完全禁用超时。

方法2:操作已经部署的配置,kubectl edit deployment -n kube-system kubernetes-dashboard,新增上面参数到args

相关文章:

  • 2022-12-23
  • 2021-09-04
  • 2021-12-29
  • 2022-01-06
  • 2021-06-07
  • 2021-04-14
  • 2021-04-24
  • 2022-01-13
猜你喜欢
  • 2022-01-15
  • 2021-10-22
  • 2021-05-28
  • 2021-12-02
  • 2021-06-04
  • 2021-11-15
  • 2021-11-11
相关资源
相似解决方案