详情页标题前

腾讯云容器服务授权腾讯云售后运维排障同尘科技

详情页1

默认情况下腾讯云无法登录集群进行问题排障,如果您需要腾讯云售后协助进行运维排障,请参考以下步骤授予腾讯云运维权限。您有权随时吊销回收授予腾讯云的运维排障权限。

通过控制台授予腾讯云权限

1. 登录 容器服务控制台。2. 在集群管理中选择需要腾讯云协助的集群。3. 在集群详情页,选择授权管理 > 授权腾讯云运维。4.集群RBAC设置中,选择赋予腾讯云的操作权限。如下图所示:

腾讯云容器服务授权腾讯云售后运维排障同尘科技

5. 设置完成后,您可在 我的工单 中查看问题处理进度。注意默认情况下腾讯云无法登录集群进行问题排障,如果您需要腾讯云售后协助进行运维排障,您可以授予腾讯云指定的运维权限,同时您有权随时吊销回收授予腾讯云的运维排障权限。
您可以通过删除相关资源(ClusterRoleBinding/tkeopsaccount-ClusterRole、ServiceAccount/tkeopsaccount、Sercet/tkeopsaccount-token-xxxx)吊销腾讯云运维权限。

通过 Kubernetes API 授予腾讯云权限

您可以通过创建以下 Kubernetes 资源授予腾讯云指定权限。

ServiceAccount 授予腾讯云访问集群凭证

kind: ServiceAccountapiVersion: v1metadata:  name: tkeopsaccount  namespace: kube-system  labels:    cloud.tencent.com/tke-ops-account: tkeops

ClusterRoleBinding/RoleBing 授予腾讯云的操作权限规则

说明1. 名称和 label 需按如下规则创建。2. roleRef 可替换为您期望授权腾讯云的权限。

apiVersion: rbac.authorization.k8s.io/v1beta1kind: ClusterRoleBindingmetadata:  annotations:    cloud.tencent.com/tke-ops-account: tkeops  labels:    cloud.tencent.com/tke-ops-account: tkeops  name: tkeopsaccount-ClusterRoleroleRef:  apiGroup: rbac.authorization.k8s.io  kind: ClusterRole  name: tke:adminsubjects:- kind: ServiceAccount  name: tkeopsaccount  namespace: kube-system

(可选)ClusterRole/Role 授予腾讯云的操作权限

如集群内有相关 ClusterRole/Role 可直接使用 ClusterRoleBinding/RoleBinding 关联。通过控制台授权,将自动创建策略,无需单独创建。管理员权限只读权限

apiVersion: rbac.authorization.k8s.io/v1beta1kind: ClusterRolemetadata:  labels:    cloud.tencent.com/tke-rbac-generated: "true"  name: tke:adminrules:- apiGroups:  - '*'  resources:  - '*'  verbs:  - '*'- nonResourceURLs:  - '*'  verbs:  - '*'
apiVersion: rbac.authorization.k8s.io/v1beta1kind: ClusterRolemetadata:  labels:    cloud.tencent.com/tke-rbac-generated: "true"  name: tke:rorules:- apiGroups:  - ""  resources:  - pods  - pods/attach  - pods/exec  - pods/portforward  - pods/proxy  verbs:  - get  - list  - watch- apiGroups:  - ""  resources:  - configmaps  - endpoints  - persistentvolumeclaims  - replicationcontrollers  - replicationcontrollers/scale  - secrets  - serviceaccounts  - services  - services/proxy  verbs:  - get  - list  - watch- apiGroups:  - ""  resources:  - nodes  - persistentvolumes  verbs:  - get  - list  - watch- apiGroups:  - ""  resources:  - events  - replicationcontrollers/status  - pods/log  - pods/status  - componentstatuses  verbs:  - get  - list  - watch- apiGroups:  - apps  resources:  - daemonsets  - deployments  - deployments/rollback  - deployments/scale  - replicasets  - replicasets/scale  - statefulsets  verbs:  - get  - list  - watch- apiGroups:  - autoscaling  resources:  - horizontalpodautoscalers  verbs:  - get  - list  - watch- apiGroups:  - storage.k8s.io  resources:  - storageclasses  verbs:  - get  - list  - watch- apiGroups:  - batch  resources:  - cronjobs  - jobs  verbs:  - get  - list  - watch- apiGroups:  - extensions  - networking.k8s.io  resources:  - daemonsets  - deployments  - deployments/rollback  - deployments/scale  - ingresses  - replicasets  - replicasets/scale  - replicationcontrollers/scale  verbs:  - get  - list  - watch- apiGroups:  - servicecatalog.k8s.io  resources:  - clusterserviceclasses  - clusterserviceplans  - clusterservicebrokers  - serviceinstances  - servicebindings  verbs:  - get  - list  - watch- apiGroups:  - policy  resources:  - poddisruptionbudgets  verbs:  - get  - list- apiGroups:  - networking.istio.io  - config.istio.io  - rbac.istio.io  - authentication.istio.io  - security.istio.io  - install.istio.io  resources:  - '*'  verbs:  - get  - list  - watch- apiGroups:  - apiextensions.k8s.io  resources:  - customresourcedefinitions  verbs:  - get  - list  - watch- apiGroups:  - networking.tke.cloud.tencent.com  resources:  - '*'  verbs:  - get  - list  - watch- apiGroups:  - cloud.tencent.com  resources:  - '*'  verbs:  - get  - list  - watch- apiGroups:  - ccs.cloud.tencent.com  resources:  - '*'  verbs:  - get  - list  - watch- apiGroups:  - cls.cloud.tencent.com  resources:  - '*'  verbs:  - get  - list  - watch



容器服务官网1折活动,限时活动,即将结束,速速收藏
同尘科技为腾讯云授权服务中心。
购买腾讯云产品享受折上折,更有现金返利。同意关联立享优惠

转转请注明出处:http://www.yunxiaoer.com/148843.html

(0)
上一篇 2023年12月9日 下午1:02
下一篇 2023年12月9日
详情页2

相关推荐

  • 阿里云人工智能平台PAI管理工作流任务-云淘科技

    PAI支持通过任务管理页面,统一可视化的管理工作流任务。本文为您介绍如何管理工作流任务。 背景信息 目前工作流任务中汇总了以下几种类型的Pipeline任务。 使用PAIFlow OpenAPI提交的任务,详情请参见API概览。 在Designer中手动执行的任务,详情请参见模型训练。 在DataWorks周期性调度中定期触发执行的任务,详情请参见使用Dat…

    2023年12月10日
  • 云数据仓库ADB执行数据失败:执行SQL失败:请问这个报错代码是什么原因引起的呢?-云小二-阿里云

    云数据仓库ADB执行数据失败:执行SQL失败:“[31004, 2023121817001319216817200303151051107] : Compiler failed and interpreter is disabled”请问这个报错代码是什么原因引起的呢?adb mysql 3.0 以下为热心网友提供的参考意见 这个报错代码是由于在执行SQL语…

    阿里云 2023年12月25日
  • 腾讯云TDSQL-C MySQL版新建规则模板

    本文为您介绍通过控制台新建规则模板。说明2023年09月25日起,规则模板与审计实例的关系由初始化调整为强关联,修改规则模板的内容会同步影响已绑定该规则模板的实例所应用的审计规则。规则内容的同一个参数字段中最多可配置5个特征串,多个特征串之间使用英文竖线“|”分隔。 操作步骤 1. 登录 TDSQL-C MySQL 版控制台。2. 在左侧导航栏选择数据库审计…

    2023年12月9日
  • dataworks支持maxcompute的数据同步到mysql的分表吗?-云小二-阿里云

    dataworks支持maxcompute的数据同步到mysql的分表吗? 以下为热心网友提供的参考意见 阿里云DataWorks支持将MaxCompute中的数据同步到MySQL的分表。在DataWorks中创建数据同步任务时,可以配置源端为MaxCompute的数据表,目标端为MySQL数据库,并且可以指定目标MySQL表是分表。 具体操作步骤包括: 创…

    阿里云 2023年12月31日
  • 信息流广告,信息流部分建议宽度830px,只针对默认列表样式,顺序随机
  • 腾讯云对象存储提交任务

    功能描述 提交一个异常图片检测任务。 授权说明 授权策略中 action 设置为 ci:CreateMediaJobs 。查看所有 action。 服务开通 使用该功能需提前开通数据万象,并绑定存储桶。详情请参见 绑定存储桶。 使用限制 使用该接口时,请先确认相关限制条件。详情请参见 使用限制。 请求 请求示例 POST /jobs HTTP/1.1Hos…

    腾讯云 2023年12月9日

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信
本站为广大会员提供阿里云、腾讯云、华为云、百度云等一线大厂的购买,续费优惠,保证底价,买贵退差。