2 repository: cgr.dev/scratch-images/test-tmp/kubernetes-dns-node-cache-fips
3 # -- Overrides the image tag whose default is the chart appVersion.
4 tag: 1.26.8-r17@sha256:c26fcccef2545f54bc908e1a6cfac89b9b9eac2618e603847c97d586625a8cef
6 # -- Internal k8s DNS domain
7 dnsDomain: "cluster.local"
8 # -- Main coredns service (kube-dns) ip, used on iptables-mode.
9 dnsServer: "172.20.0.10"
10 # -- Virtual IP to be used by ipvs mode, to be used as --cluster-dns, must not collide.
11 localDns: "169.254.20.25"
12 # -- Use a custom upstreamsvc for -upstreamsvc
14 # -- Use a custom upstream service selector
15 upstreamServiceSelector:
17 # -- If false, it will bind 0.0.0.0, otherwise dnsServer and localDns will be used. https://github.com/bottlerocket-os/bottlerocket/issues/3711#issuecomment-1907087528
19 # -- Set communication protocol. Options are `prefer_udp` or `force_tcp`
20 commProtocol: "force_tcp"
21 # -- Set boolean to log DNS requests
23 # -- If true, return NOERROR when attempting to resolve an IPv6 address
25 # -- Cache TTL in seconds for DNS records. https://coredns.io/plugins/cache/
27 # -- If enabled, coredns will prefetch popular items when they are about to be expunged from the cache. https://coredns.io/plugins/cache/
33 # -- If enabled, coredns will serve stale cache entries while fetching fresh ones in the background. https://coredns.io/plugins/cache/
38 # -- Port used for the health endpoint
43 # -- Add extra server blocks to the generated configuration.
45 # -- Overrides the generated configuration with specified one.
48 # -- Port used for DNS traffic
50 # -- Port name used for TCP DNS traffic
52 # -- Port name used for UDP DNS traffic
54 # -- Overrides the upstream servers used for default server block
55 upstreamServers: "__PILLAR__UPSTREAM__SERVERS__"
56 # -- Allows for configuration of upstream server forwarding for the default server block
57 upstreamForwardConfig: {}
61 # -- Specifies whether a service account should be created.
63 # -- Annotations to add to the service account.
65 # -- The name of the service account to use.
66 # -- If not set and create is true, a name is generated using the fullname template.
69 # -- Annotations to add to the service.
73configMapAnnotations: {}
75daemonsetAnnotations: {}
77# -- DaemonSet update strategy configuration
82 # Optional, can be set to a integer value rather than a percentage
90# -- https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md
92 # -- Ensure that servicemonitor is created, this will disable prometheus annotations
97 # Fallback to the prometheus default unless specified
100 # Fallback to the prometheus default unless specified
103 # -- Metric relabel configs to apply to samples before ingestion.
104 # [Metric Relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs)
105 metricRelabelings: []
107 # regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
108 # sourceLabels: [__name__]
110 # -- Relabel configs to apply to samples before ingestion.
111 # [Relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config)
113 # - sourceLabels: [__meta_kubernetes_pod_node_name]
116 # targetLabel: nodename
121 # -- The service monitor name prefix which align with the prometheus operator name, eg.: `kube-prometheus-stack`
123 # -- The namespace of prometheus where the service monitor should be deployed
124 prometheusNamespace: kube-system
125# -- https://github.com/grafana/helm-charts/blob/main/charts/grafana/README.md
128 # -- namespace where grafana sidecar is configured to look for dashboards. e.g. "monitoring"
129 namespace: kube-system
130 # -- label that grafana sidecar is configured to look for
131 label: grafana_dashboard
139# -- Container lifecycle hooks for the node-cache pod.
143# command: ["/bin/sh", "-c", "sleep 30"]
145# -- Resize policy for in-place pod vertical scaling.
146# [Container resize policies](https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/)
149# restartPolicy: NotRequired
150# - resourceName: memory
151# restartPolicy: RestartContainer
155# - name: "image-pull-secret"
160 - key: "CriticalAddonsOnly"
162 - effect: "NoExecute"
164 - effect: "NoSchedule"