检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
CCI如何配置DNS服务? 如果用户负载需要使用k8s内部域名解析,则需要安装coredns插件。此时pod的dnsPolicy需要设置为ClusterFirst。 在插件市场界面可以单击,将coredns插件安装在指定的namesapce下。 图1 创建插件 如果用户负载不需要
dnsConfig为应用设置DNS参数,设置的参数将合并到基于dnsPolicy策略生成的域名解析文件中。当dnsPolicy为“None”,应用的域名解析文件完全由dnsConfig指定;当dnsPolicy不为“None”时,会在基于dnsPolicy生成的域名解析文件的基础上,追加dnsConfig中配置的dns参数。
查询Endpoint 功能介绍 查询Endpoint。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/endpoints/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name
查询Service 功能介绍 查询Service的详细信息。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{namespace}/services/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"
查询Namespace 功能介绍 查询Namespace的详细信息。 调用方法 请参见如何调用API。 URI GET /api/v1/namespaces/{name} 表1 路径参数 参数 是否必选 参数类型 描述 name 是 String name of the Namespace
查询Ingress 功能介绍 查询Ingress的详细信息。 调用方法 请参见如何调用API。 URI GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} 表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"
0.0/16网段的容器端口。 配置默认使用的指定dns服务器 操作场景 在某些场景中,用户想要弹性CCI的Pod可以使用指定的dns服务器地址。bursting插件提供配置指定的dns服务器地址的能力,无需在每个Pod上都配置dnsConfig,从而降低用户网络运维成本。 操作步骤
什么是服务? 服务定义了实例及访问实例的途径,如单个稳定的IP地址和相应的DNS名称。 为了解决组件间的通信问题,CCI使用服务名称代替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"
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"
服务器。 已配置存根域:如果配置了存根域和上游 DNS 服务器,DNS 查询将基于下面的流程对请求进行路由: 查询首先被发送到 coredns 中的 DNS 缓存层。 从缓存层,检查请求的后缀,并根据下面的情况转发到对应的 DNS 上: 具有集群后缀的名字(例如“.cluster
specified here will be merged to the generated DNS configuration based on DNSPolicy. dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst"