美文网首页
Kubernetes:15.kubectl set

Kubernetes:15.kubectl set

作者: 小六的昵称已被使用 | 来源:发表于2019-08-12 16:23 被阅读0次

    语法

    [15:00:50 root@ceshi-01 ~ $]kubectl set --help
    Configure application resources
    配置应用资源
    
     These commands help you make changes to existing application resources.
     这些命令可帮助您更改现有应用程序资源。
    
    可用命令:
      env            Update environment variables on a pod template
                     更新pod模板上的环境变量
      image          更新一个 pod template 的镜像
      resources      在对象的 pod templates 上更新资源的 requests/limits
      selector       设置 resource 的 selector
      serviceaccount Update ServiceAccount of a resource
                     更新资源的ServiceAccount
      subject        Update User, Group or ServiceAccount in a RoleBinding/ClusterRoleBinding
                     在RoleBinding / ClusterRoleBinding中更新用户,组或ServiceAccount
    
    用法:
      kubectl set SUBCOMMAND [options]
    
    Use "kubectl <command> --help" for more information about a given command.
    Use "kubectl options" for a list of global command-line options (applies to all commands).
    

    相关文章

      网友评论

          本文标题:Kubernetes:15.kubectl set

          本文链接:https://www.haomeiwen.com/subject/cxsujctx.html