Release Notes
Announcements
Release Notes
.:53 {template ANY HINFO . {rcode NXDOMAIN}errorshealth {lameduck 30s}readykubernetes cluster.local. in-addr.arpa ip6.arpa {pods insecurefallthrough in-addr.arpa ip6.arpa}prometheus :9153forward . /etc/resolv.conf {prefer_udp}cache 30reloadloadbalance}
Kubernetes Object Name | Type | Requesting Resources | Associated Namespace |
coredns | Deployment | 100 M CPU and 30 Mi memory per instance | kube-system |
coredns | ConfigMap | - | kube-system |
kube-dns | Service | - | kube-system |
coredns | ServiceAccount | - | kube-system |
system:coredns | ClusterRole | - | - |
system:coredns | ClusterRoleBinding | - | - |
global.cluster.highAvailability configuration. Ordinary clusters use soft constraints (ScheduleAnyway), while high availability clusters use hard constraints (DoNotSchedule).Function | Objects Involved | Involved Operation Permissions |
Monitors Service, Pod, Namespace, and Endpoint resources within the cluster to implement service discovery. | endpoints,services,pods,namespaces | list/watch |
Monitors EndpointSlice resources (service discovery optimization for Kubernetes 1.21+). | endpointslices | list/watch |
apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRolemetadata:name: system:corednsrules:- apiGroups:- '*'resources:- endpoints- services- pods- namespacesverbs:- list- watch- apiGroups:- discovery.k8s.ioresources:- endpointslicesverbs:- list- watch
configmap/coredns in the kube-system namespace. After configuration changes, CoreDNS will hot reload automatically without restarting Pods. For detailed configurations, see CoreDNS official documentation.Parameter | Description | Type | Default Value |
global.image.host | Image repository address | string | ccr.ccs.tencentyun.com |
global.kubednsClusterIP | ClusterIP for the kube-dns Service; if empty, it is automatically assigned. | string | "" |
global.cluster.highAvailability | Whether it is a high availability cluster (controls the strength of zone topology distribution constraints) | bool | false |
global.podSpec.tolerations | Additional toleration configurations (appended after the default CriticalAddonsOnly) | list | [] |
global.podSpec.priorityClassName | Pod PriorityClass name | string | system-cluster-critical |
coredns.replicas | CoreDNS number of replicas | int | 2 |
coredns.hostNetwork | Whether to use the host network | bool | false |
coredns.image | Custom image address; if empty, automatically selected based on the Kubernetes version. | string | "" |
coredns.server.port | DNS service port | int | 53 |
coredns.livenessProbe.port | Liveness probe port | int | 8080 |
coredns.readinessProbe.port | Readiness probe port | int | 8181 |
coredns.resources.requests.cpu | CPU request | string | 100m |
coredns.resources.requests.mem | memory request | string | 30Mi |
coredns.resources.limits.cpu | CPU limit. Leave empty to not set. | string | "" |
coredns.resources.limits.mem | Memory limit | string | 2Gi |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan