检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
首先使用cci-iam-authenticator作为k8s client端的认证插件,通过用户名/密码的方式配置IAM认证信息。您可参照安装并设置kubectl进行配置。配置完成后,执行“kubectl config view”命令,获取$HOME/.kube/config路径下的kubeconfig文件。
在对应类型的命名空间下单击“创建”。 填写命名空间名称。 设置VPC。 选择使用已有VPC或新建VPC,新建VPC需要填写VPC网段,建议使用网段:10.0.0.0/8~24,172.16.0.0/12~24,192.168.0.0/16~24。 设置子网网段。 您需要关注子网的可用IP数,确保
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
abels标签。添加的标签需满足如下要求: service的labels中设置的标签必须和负载的selector中matchLabels设置的label一致。 例如,负载中matchLabels标s签设置如下: "spec": { "replicas": 1,
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy 否 String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy 否 String Set DNS policy for the pod. Defaults to "ClusterFirst"
环境设置 登录云容器实例控制台 登录云容器实例控制台,并授予云容器实例访问其他云服务的权限。 登录管理控制台。 单击管理控制台左上角的选择区域。 云容器实例当前仅支持在“华东-上海一”、“华东-上海二”、“华北-北京四”、“华南-广州”、“西南-贵阳一”区域使用。 云容器实例CCI不支持在子项目创建资源请求。
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy 否 String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy 否 String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"