K8S---kubectl options

kubectl options 可以打印出所有命令行的共有选项
[root@yyzc-zjjcs01 ~]# /opt/kubernetes/bin/kubectl --kubeconfig /opt/kubernetes/conf/default-admin.kubeconfig options
The following options can be passed to any command:
–add-dir-header=false: If true, adds the file directory to the header of the log messages
–alsologtostderr=false: log to standard error as well as files
–as=‘’: Username to impersonate for the operation
–as-group=[]: Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
–cache-dir=‘/root/.kube/cache’: Default cache directory
–certificate-authority=‘’: Path to a cert file for the certificate authority
–client-certificate=‘’: Path to a client certificate file for TLS
–client-key=‘’: Path to a client key file for TLS
–cluster=‘’: The name of the kubeconfig cluster to use
–context=‘’: The name of the kubeconfig context to

相关推荐

  1. k8s学习

    2024-01-11 06:44:02       32 阅读
  2. <span style='color:red;'>K</span><span style='color:red;'>8</span><span style='color:red;'>s</span>基础

    K8s基础

    2024-01-11 06:44:02      38 阅读
  3. <span style='color:red;'>k</span><span style='color:red;'>8</span><span style='color:red;'>s</span>-Pod

    k8s-Pod

    2024-01-11 06:44:02      31 阅读
  4. 学习<span style='color:red;'>k</span><span style='color:red;'>8</span><span style='color:red;'>s</span>

    学习k8s

    2024-01-11 06:44:02      31 阅读
  5. K8s 教程

    2024-01-11 06:44:02       46 阅读
  6. <span style='color:red;'>k</span><span style='color:red;'>8</span><span style='color:red;'>s</span>基础

    k8s基础

    2024-01-11 06:44:02      37 阅读
  7. <span style='color:red;'>k</span><span style='color:red;'>8</span><span style='color:red;'>s</span>初学

    k8s初学

    2024-01-11 06:44:02      32 阅读
  8. <span style='color:red;'>K</span><span style='color:red;'>8</span><span style='color:red;'>S</span>理论

    K8S理论

    2024-01-11 06:44:02      41 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-01-11 06:44:02       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-01-11 06:44:02       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-01-11 06:44:02       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-01-11 06:44:02       18 阅读

热门阅读

  1. ELK 企业级日志分析系统

    2024-01-11 06:44:02       28 阅读
  2. ELK

    2024-01-11 06:44:02       28 阅读
  3. Docker基础

    2024-01-11 06:44:02       38 阅读
  4. C++中的深度优先搜索算法

    2024-01-11 06:44:02       31 阅读
  5. HJ12 字符串反转

    2024-01-11 06:44:02       37 阅读