1apiVersion: v1 2kind: Pod 3metadata: 4 annotations: 5 scheduler.alpha.kubernetes.io/critical-pod: "" 6 seccomp.security.alpha.kubernetes.io/pod: docker/default 7 creationTimestamp: 2018-12-03T16:59:57Z 8 generateName: kube-dns-548976df6c- 9 labels: 10 k8s-app: kube-dns 11 pod-template-hash: "1045328927" 12 name: kube-dns-548976df6c-d9kkv 13 namespace: kube-system 14 ownerReferences: 15 - apiVersion: apps/v1 16 blockOwnerDeletion: true 17 controller: true 18 kind: ReplicaSet 19 name: kube-dns-548976df6c 20 uid: b589a851-f71b-11e8-af4f-42010a800072 21 resourceVersion: "50572715" 22 selfLink: /api/v1/namespaces/kube-system/pods/kube-dns-548976df6c-d9kkv 23 uid: dd4bbbd4-f71c-11e8-af4f-42010a800072 24spec: 25 containers: 26 - args: 27 - --domain=cluster.local. 28 - --dns-port=10053 29 - --config-dir=/kube-dns-config 30 - --v=2 31 env: 32 - name: PROMETHEUS_PORT 33 value: "10055" 34 image: k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.13 35 imagePullPolicy: IfNotPresent 36 livenessProbe: 37 failureThreshold: 5 38 httpGet: 39 path: /healthcheck/kubedns 40 port: 10054 41 scheme: HTTP 42 initialDelaySeconds: 60 43 periodSeconds: 10 44 successThreshold: 1 45 timeoutSeconds: 5 46 name: kubedns 47 ports: 48 - containerPort: 10053 49 name: dns-local 50 protocol: UDP 51 - containerPort: 10053 52 name: dns-tcp-local 53 protocol: TCP 54 - containerPort: 10055 55 name: metrics 56 protocol: TCP 57 readinessProbe: 58 failureThreshold: 3 59 httpGet: 60 path: /readiness 61 port: 8081 62 scheme: HTTP 63 initialDelaySeconds: 3 64 periodSeconds: 10 65 successThreshold: 1 66 timeoutSeconds: 5 67 resources: 68 limits: 69 memory: 170Mi 70 requests: 71 cpu: 100m 72 memory: 70Mi 73 terminationMessagePath: /dev/termination-log 74 terminationMessagePolicy: File 75 volumeMounts: 76 - mountPath: /kube-dns-config 77 name: kube-dns-config 78 - mountPath: /var/run/secrets/kubernetes.io/serviceaccount 79 name: kube-dns-token-lwn8l 80 readOnly: true 81 - args: 82 - -v=2 83 - -logtostderr 84 - -configDir=/etc/k8s/dns/dnsmasq-nanny 85 - -restartDnsmasq=true 86 - -- 87 - -k 88 - --cache-size=1000 89 - --no-negcache 90 - --log-facility=- 91 - --server=/cluster.local/127.0.0.1#10053 92 - --server=/in-addr.arpa/127.0.0.1#10053 93 - --server=/ip6.arpa/127.0.0.1#10053 94 image: k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.13 95 imagePullPolicy: IfNotPresent 96 livenessProbe: 97 failureThreshold: 5 98 httpGet: 99 path: /healthcheck/dnsmasq 100 port: 10054 101 scheme: HTTP 102 initialDelaySeconds: 60 103 periodSeconds: 10 104 successThreshold: 1 105 timeoutSeconds: 5 106 name: dnsmasq 107 ports: 108 - containerPort: 53 109 name: dns 110 protocol: UDP 111 - containerPort: 53 112 name: dns-tcp 113 protocol: TCP 114 resources: 115 requests: 116 cpu: 150m 117 memory: 20Mi 118 terminationMessagePath: /dev/termination-log 119 terminationMessagePolicy: File 120 volumeMounts: 121 - mountPath: /etc/k8s/dns/dnsmasq-nanny 122 name: kube-dns-config 123 - mountPath: /var/run/secrets/kubernetes.io/serviceaccount 124 name: kube-dns-token-lwn8l 125 readOnly: true 126 - args: 127 - --v=2 128 - --logtostderr 129 - --probe=kubedns,127.0.0.1:10053,kubernetes.default.svc.cluster.local,5,SRV 130 - --probe=dnsmasq,127.0.0.1:53,kubernetes.default.svc.cluster.local,5,SRV 131 image: k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.13 132 imagePullPolicy: IfNotPresent 133 livenessProbe: 134 failureThreshold: 5 135 httpGet: 136 path: /metrics 137 port: 10054 138 scheme: HTTP 139 initialDelaySeconds: 60 140 periodSeconds: 10 141 successThreshold: 1 142 timeoutSeconds: 5 143 name: sidecar 144 ports: 145 - containerPort: 10054 146 name: metrics 147 protocol: TCP 148 resources: 149 requests: 150 cpu: 10m 151 memory: 20Mi 152 terminationMessagePath: /dev/termination-log 153 terminationMessagePolicy: File 154 volumeMounts: 155 - mountPath: /var/run/secrets/kubernetes.io/serviceaccount 156 name: kube-dns-token-lwn8l 157 readOnly: true 158 - command: 159 - /monitor 160 - --component=kubedns 161 - --target-port=10054 162 - --stackdriver-prefix=container.googleapis.com/internal/addons 163 - --api-override=https://monitoring.googleapis.com/ 164 - --whitelisted-metrics=probe_kubedns_latency_ms,probe_kubedns_errors,dnsmasq_misses,dnsmasq_hits 165 - --pod-id=$(POD_NAME) 166 - --namespace-id=$(POD_NAMESPACE) 167 - --v=2 168 env: 169 - name: POD_NAME 170 valueFrom: 171 fieldRef: 172 apiVersion: v1 173 fieldPath: metadata.name 174 - name: POD_NAMESPACE 175 valueFrom: 176 fieldRef: 177 apiVersion: v1 178 fieldPath: metadata.namespace 179 image: gcr.io/google-containers/prometheus-to-sd:v0.2.3 180 imagePullPolicy: IfNotPresent 181 name: prometheus-to-sd 182 resources: {} 183 terminationMessagePath: /dev/termination-log 184 terminationMessagePolicy: File 185 volumeMounts: 186 - mountPath: /var/run/secrets/kubernetes.io/serviceaccount 187 name: kube-dns-token-lwn8l 188 readOnly: true 189 dnsPolicy: Default 190 nodeName: gke-istio-test-default-pool-866a0405-ftch 191 priority: 2000000000 192 priorityClassName: system-cluster-critical 193 restartPolicy: Always 194 schedulerName: default-scheduler 195 securityContext: {} 196 serviceAccount: kube-dns 197 serviceAccountName: kube-dns 198 terminationGracePeriodSeconds: 30 199 tolerations: 200 - key: CriticalAddonsOnly 201 operator: Exists 202 - effect: NoExecute 203 key: node.kubernetes.io/not-ready 204 operator: Exists 205 tolerationSeconds: 300 206 - effect: NoExecute 207 key: node.kubernetes.io/unreachable 208 operator: Exists 209 tolerationSeconds: 300 210 volumes: 211 - configMap: 212 defaultMode: 420 213 name: kube-dns 214 optional: true 215 name: kube-dns-config 216 - name: kube-dns-token-lwn8l 217 secret: 218 defaultMode: 420 219 secretName: kube-dns-token-lwn8l 220status: 221 conditions: 222 - lastProbeTime: null 223 lastTransitionTime: 2018-12-03T17:00:00Z 224 status: "True" 225 type: Initialized 226 - lastProbeTime: null 227 lastTransitionTime: 2018-12-03T17:00:20Z 228 status: "True" 229 type: Ready 230 - lastProbeTime: null 231 lastTransitionTime: null 232 status: "True" 233 type: ContainersReady 234 - lastProbeTime: null 235 lastTransitionTime: 2018-12-03T16:59:57Z 236 status: "True" 237 type: PodScheduled 238 containerStatuses: 239 - containerID: docker://676f6c98bfa136315c4ccf0fe40e7a56cbf9ac85128e94310eae82f191246b3e 240 image: k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.13 241 imageID: docker-pullable://k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64@sha256:45df3e8e0c551bd0c79cdba48ae6677f817971dcbd1eeed7fd1f9a35118410e4 242 lastState: {} 243 name: dnsmasq 244 ready: true 245 restartCount: 0 246 state: 247 running: 248 startedAt: 2018-12-03T17:00:14Z 249 - containerID: docker://93fd0664e150982dad0481c5260183308a7035a2f938ec50509d586ed586a107 250 image: k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.13 251 imageID: docker-pullable://k8s.gcr.io/k8s-dns-kube-dns-amd64@sha256:618a82fa66cf0c75e4753369a6999032372be7308866fc9afb381789b1e5ad52 252 lastState: {} 253 name: kubedns 254 ready: true 255 restartCount: 0 256 state: 257 running: 258 startedAt: 2018-12-03T17:00:10Z 259 - containerID: docker://e823b79a0a48af75f2eebb1c89ba4c31e8c1ee67ee0d917ac7b4891b67d2cd0f 260 image: gcr.io/google-containers/prometheus-to-sd:v0.2.3 261 imageID: docker-pullable://gcr.io/google-containers/prometheus-to-sd@sha256:be220ec4a66275442f11d420033c106bb3502a3217a99c806eef3cf9858788a2 262 lastState: {} 263 name: prometheus-to-sd 264 ready: true 265 restartCount: 0 266 state: 267 running: 268 startedAt: 2018-12-03T17:00:18Z 269 - containerID: docker://74223c401a8dac04b8bd29cdfedcb216881791b4e84bb80a15714991dd18735e 270 image: k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.13 271 imageID: docker-pullable://k8s.gcr.io/k8s-dns-sidecar-amd64@sha256:cedc8fe2098dffc26d17f64061296b7aa54258a31513b6c52df271a98bb522b3 272 lastState: {} 273 name: sidecar 274 ready: true 275 restartCount: 0 276 state: 277 running: 278 startedAt: 2018-12-03T17:00:16Z 279 hostIP: 10.128.0.5 280 phase: Running 281 podIP: 10.40.1.4 282 qosClass: Burstable 283 startTime: 2018-12-03T17:00:00Z 284