fluent-plugin-k8s-metrics-agg 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,218 @@
1
+ require 'helper'
2
+ require 'fluent/plugin/in_kubernetes_metrics_aggregator.rb'
3
+
4
+ class KubernetesMetricsAggInputTest < Test::Unit::TestCase
5
+ include Fluent::Test::Helpers
6
+ include PluginTestHelper
7
+
8
+ @driver = nil
9
+ @driver_test = nil
10
+ @@hash_map_test = {}
11
+
12
+ ZERO_CONFIG = %([
13
+ ]).freeze
14
+
15
+ BASIC_CONFIG = %([
16
+ kubernetes_url https://node.fakedestination.com
17
+ kubelet_port 10255
18
+ ]).freeze
19
+
20
+ ADVANCED_CONFIG_NO_CERTS = %([
21
+ kubernetes_url https://node.fakedestination.com
22
+ kubelet_port 10255
23
+ tag test.tag.check
24
+ interval 2m
25
+ insecure_ssl true
26
+ cluster_name awesome_cluster
27
+ ]).freeze
28
+
29
+ ADVANCED_CONFIG_CERTS = %([
30
+ kubernetes_url https://node.fakedestination.com
31
+ kubelet_port 10255
32
+ ]).freeze
33
+
34
+ METRIC_TEST_CONFIG = %([
35
+ kubernetes_url https://node.fakedestination.com
36
+ kubelet_port 10255
37
+ tag kube.*
38
+ ]).freeze
39
+
40
+ setup do
41
+ Fluent::Test.setup
42
+ ENV['KUBERNETES_SERVICE_HOST'] = "node.fakedestination.com"
43
+ ENV['KUBERNETES_SERVICE_PORT'] = "10255"
44
+ stub_k8s_requests
45
+ @driver = create_driver(METRIC_TEST_CONFIG)
46
+ @driver.run timeout: 20, expect_emits: 200, shutdown: false
47
+
48
+ @driver.events.each do |tag, time, record|
49
+ @@hash_map_test[tag] = tag, time, record
50
+ end
51
+ end
52
+
53
+ def create_driver(conf = BASIC_CONFIG)
54
+ d = Fluent::Test::Driver::Input
55
+ .new(Fluent::Plugin::KubernetesMetricsAggregatorInput)
56
+ with_worker_config(workers: 3, worker_id: 1) do
57
+ d.configure(conf)
58
+ end
59
+ end
60
+
61
+ sub_test_case 'default parameter configuration' do
62
+ test 'test default params' do
63
+ d = create_driver(ZERO_CONFIG)
64
+ assert_equal 10_250, d.instance.kubelet_port
65
+ assert_equal 'kubernetes.metrics.*', d.instance.tag
66
+ assert_equal '15s', d.instance.interval
67
+ assert_nil d.instance.kubeconfig
68
+ assert_nil d.instance.client_cert
69
+ assert_nil d.instance.client_key
70
+ assert_nil d.instance.ca_file
71
+ assert_false d.instance.insecure_ssl
72
+ assert_nil d.instance.bearer_token_file
73
+ assert_equal '/var/run/secrets/kubernetes.io/serviceaccount',
74
+ d.instance.secret_dir
75
+ assert_equal 'cluster_name', d.instance.cluster_name
76
+ end
77
+ end
78
+
79
+ sub_test_case 'modify parameter changes' do
80
+ test 'test kubelet_port and supplied kubernetes URL parameters' do
81
+ d = create_driver(ADVANCED_CONFIG_NO_CERTS)
82
+ assert_equal 'https://node.fakedestination.com', d.instance.kubernetes_url
83
+ assert_equal 10_255, d.instance.kubelet_port
84
+ end
85
+
86
+ test 'test tag and interval parameters' do
87
+ d = create_driver(ADVANCED_CONFIG_NO_CERTS)
88
+ assert_equal 'test.tag.check', d.instance.tag
89
+ assert_equal 120, d.instance.interval
90
+ end
91
+
92
+ test 'test insecure_ssl and cluster_name parameters ' do
93
+ d = create_driver(ADVANCED_CONFIG_NO_CERTS)
94
+ assert_true d.instance.insecure_ssl
95
+ assert_equal 'awesome_cluster', d.instance.cluster_name
96
+ end
97
+ end
98
+
99
+ sub_test_case 'Test metrics exist, limits_request_scraper - limits' do
100
+ test 'Testing kube.container.memory.limit' do
101
+ assert_true @@hash_map_test.key?('kube.container.memory.limit')
102
+ end
103
+
104
+ test 'Testing kube.namespace.cpu.limit' do
105
+ assert_true @@hash_map_test.key?('kube.namespace.cpu.limit')
106
+ end
107
+
108
+ test 'Testing kube.namespace.memory.limit ' do
109
+ assert_true @@hash_map_test.key?('kube.namespace.memory.limit')
110
+ end
111
+
112
+ test 'Testing kube.container.cpu.limit' do
113
+ assert_true @@hash_map_test.key?('kube.container.cpu.limit')
114
+ end
115
+
116
+ test 'Testing kube.pod.cpu.limit' do
117
+ assert_true @@hash_map_test.key?('kube.pod.cpu.limit')
118
+ end
119
+
120
+ test 'Testing kube.cluster.memory.limit ' do
121
+ assert_true @@hash_map_test.key?('kube.cluster.memory.limit')
122
+ end
123
+
124
+ test 'Testing kube.pod.memory.limit ' do
125
+ assert_true @@hash_map_test.key?('kube.pod.memory.limit')
126
+ end
127
+
128
+ test 'Testing kube.cluster.cpu.limit' do
129
+ assert_true @@hash_map_test.key?('kube.cluster.cpu.limit')
130
+ end
131
+ end
132
+
133
+ sub_test_case 'Test metrics exist, limits_request_scraper - request' do
134
+ test 'Testing kube.cluster.memory.request ' do
135
+ assert_true @@hash_map_test.key?('kube.cluster.memory.request')
136
+ end
137
+
138
+ test 'Testing kube.container.memory.request' do
139
+ assert_true @@hash_map_test.key?('kube.container.memory.request')
140
+ end
141
+
142
+ test 'Testing kube.pod.memory.request' do
143
+ assert_true @@hash_map_test.key?('kube.pod.memory.request')
144
+ end
145
+
146
+ test 'Testing kube.namespace.memory.request ' do
147
+ assert_true @@hash_map_test.key?('kube.namespace.memory.request')
148
+ end
149
+
150
+ test 'Testing kube.container.cpu.request' do
151
+ assert_true @@hash_map_test.key?('kube.container.cpu.request')
152
+ end
153
+
154
+ test 'Testing kube.namespace.cpu.request' do
155
+ assert_true @@hash_map_test.key?('kube.namespace.cpu.request')
156
+ end
157
+
158
+ test 'Testing kube.pod.cpu.request' do
159
+ assert_true @@hash_map_test.key?('kube.pod.cpu.request')
160
+ end
161
+
162
+ test 'Testing kube.cluster.cpu.request' do
163
+ assert_true @@hash_map_test.key?('kube.cluster.cpu.request')
164
+ end
165
+ end
166
+
167
+ sub_test_case 'Test metrics exist, node_scraper/resource_usage_scraper 1' do
168
+ test 'Testing kube.node.cpu.capacity' do
169
+ assert_true @@hash_map_test.key?('kube.node.cpu.capacity')
170
+ end
171
+
172
+ test 'Testing kube.node.memory.capacity ' do
173
+ assert_true @@hash_map_test.key?('kube.node.memory.capacity')
174
+ end
175
+
176
+ test 'Testing kube.node.memory.allocatable' do
177
+ assert_true @@hash_map_test.key?('kube.node.memory.allocatable')
178
+ end
179
+
180
+ test 'Testing kube.node.cpu.utilization ' do
181
+ assert_true @@hash_map_test.key?('kube.node.cpu.utilization')
182
+ end
183
+
184
+ test 'Testing kube.node.memory.reservation' do
185
+ assert_true @@hash_map_test.key?('kube.node.memory.reservation')
186
+ end
187
+
188
+ test 'Testing kube.node.memory.utilization' do
189
+ assert_true @@hash_map_test.key?('kube.node.memory.utilization')
190
+ end
191
+ end
192
+
193
+ sub_test_case 'Test metrics exist, node_scraper/resource_usage_scraper 2' do
194
+ test 'Testing kube.namespace.memory.usage ' do
195
+ assert_true @@hash_map_test.key?('kube.namespace.memory.usage')
196
+ end
197
+
198
+ test 'Testing kube.cluster.memory.usage' do
199
+ assert_true @@hash_map_test.key?('kube.cluster.memory.usage')
200
+ end
201
+
202
+ test 'Testing kube.namespace.cpu.usage' do
203
+ assert_true @@hash_map_test.key?('kube.namespace.cpu.usage')
204
+ end
205
+
206
+ test 'Testing kube.node.cpu.allocatable ' do
207
+ assert_true @@hash_map_test.key?('kube.node.cpu.allocatable')
208
+ end
209
+
210
+ test 'Testing kube.node.cpu.reservation ' do
211
+ assert_true @@hash_map_test.key?('kube.node.cpu.reservation')
212
+ end
213
+
214
+ test 'Testing kube.cluster.cpu.usage' do
215
+ assert_true @@hash_map_test.key?('kube.cluster.cpu.usage')
216
+ end
217
+ end
218
+ end
@@ -0,0 +1,3502 @@
1
+ {
2
+ "kind": "PodList",
3
+ "apiVersion": "v1",
4
+ "metadata": {
5
+ "selfLink": "/api/v1/pods",
6
+ "resourceVersion": "3046306"
7
+ },
8
+ "items": [
9
+ {
10
+ "metadata": {
11
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-5pntn",
12
+ "generateName": "new-metrics-test-final-splunk-kubernetes-metrics-",
13
+ "namespace": "default",
14
+ "selfLink": "/api/v1/namespaces/default/pods/new-metrics-test-final-splunk-kubernetes-metrics-5pntn",
15
+ "uid": "451e9a00-f29b-11e8-afef-02dd29648076",
16
+ "resourceVersion": "2834956",
17
+ "creationTimestamp": "2018-11-27T23:22:12Z",
18
+ "labels": {
19
+ "app": "splunk-kubernetes-metrics",
20
+ "chart": "splunk-kubernetes-metrics-1.0.1",
21
+ "controller-revision-hash": "3285677050",
22
+ "engine": "fluentd",
23
+ "heritage": "Tiller",
24
+ "pod-template-generation": "1",
25
+ "release": "new-metrics-test-final"
26
+ },
27
+ "annotations": {
28
+ "checksum/config": "3a1e47d7b2aa6350647e47b01830fab4a8f258d648648deff0b4ee956de9658e",
29
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
30
+ },
31
+ "ownerReferences": [
32
+ {
33
+ "apiVersion": "apps/v1",
34
+ "kind": "DaemonSet",
35
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics",
36
+ "uid": "451a7dcd-f29b-11e8-afef-02dd29648076",
37
+ "controller": true,
38
+ "blockOwnerDeletion": true
39
+ }
40
+ ]
41
+ },
42
+ "spec": {
43
+ "volumes": [
44
+ {
45
+ "name": "conf-configmap",
46
+ "configMap": {
47
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics",
48
+ "defaultMode": 420
49
+ }
50
+ },
51
+ {
52
+ "name": "secrets",
53
+ "secret": {
54
+ "secretName": "new-metrics-test-final-splunk-kubernetes-metrics",
55
+ "defaultMode": 420
56
+ }
57
+ },
58
+ {
59
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-token-kd6wg",
60
+ "secret": {
61
+ "secretName": "new-metrics-test-final-splunk-kubernetes-metrics-token-kd6wg",
62
+ "defaultMode": 420
63
+ }
64
+ }
65
+ ],
66
+ "containers": [
67
+ {
68
+ "name": "fluentd",
69
+ "image": "chaitanyaphalak/k8s-new-metrics:beta",
70
+ "env": [
71
+ {
72
+ "name": "SPLUNK_HEC_HOST",
73
+ "valueFrom": {
74
+ "fieldRef": {
75
+ "apiVersion": "v1",
76
+ "fieldPath": "spec.nodeName"
77
+ }
78
+ }
79
+ },
80
+ {
81
+ "name": "SPLUNK_HEC_TOKEN",
82
+ "valueFrom": {
83
+ "secretKeyRef": {
84
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics",
85
+ "key": "splunk_hec_token"
86
+ }
87
+ }
88
+ }
89
+ ],
90
+ "resources": {
91
+ "limits": {
92
+ "cpu": "1m",
93
+ "memory": "2Mi"
94
+ },
95
+ "requests": {
96
+ "cpu": "3m",
97
+ "memory": "4Mi"
98
+ }
99
+ },
100
+ "volumeMounts": [
101
+ {
102
+ "name": "conf-configmap",
103
+ "mountPath": "/fluentd/etc"
104
+ },
105
+ {
106
+ "name": "secrets",
107
+ "readOnly": true,
108
+ "mountPath": "/fluentd/etc/splunk"
109
+ },
110
+ {
111
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-token-kd6wg",
112
+ "readOnly": true,
113
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
114
+ }
115
+ ],
116
+ "terminationMessagePath": "/dev/termination-log",
117
+ "terminationMessagePolicy": "File",
118
+ "imagePullPolicy": "IfNotPresent"
119
+ }
120
+ ],
121
+ "restartPolicy": "Always",
122
+ "terminationGracePeriodSeconds": 30,
123
+ "dnsPolicy": "ClusterFirst",
124
+ "serviceAccountName": "new-metrics-test-final-splunk-kubernetes-metrics",
125
+ "serviceAccount": "new-metrics-test-final-splunk-kubernetes-metrics",
126
+ "nodeName": "generics-aws-node-three",
127
+ "securityContext": {
128
+
129
+ },
130
+ "schedulerName": "default-scheduler",
131
+ "tolerations": [
132
+ {
133
+ "key": "node.kubernetes.io/not-ready",
134
+ "operator": "Exists",
135
+ "effect": "NoExecute"
136
+ },
137
+ {
138
+ "key": "node.kubernetes.io/unreachable",
139
+ "operator": "Exists",
140
+ "effect": "NoExecute"
141
+ },
142
+ {
143
+ "key": "node.kubernetes.io/disk-pressure",
144
+ "operator": "Exists",
145
+ "effect": "NoSchedule"
146
+ },
147
+ {
148
+ "key": "node.kubernetes.io/memory-pressure",
149
+ "operator": "Exists",
150
+ "effect": "NoSchedule"
151
+ }
152
+ ]
153
+ },
154
+ "status": {
155
+ "phase": "Running",
156
+ "conditions": [
157
+ {
158
+ "type": "Initialized",
159
+ "status": "True",
160
+ "lastProbeTime": null,
161
+ "lastTransitionTime": "2018-11-27T23:22:12Z"
162
+ },
163
+ {
164
+ "type": "Ready",
165
+ "status": "True",
166
+ "lastProbeTime": null,
167
+ "lastTransitionTime": "2018-11-27T23:22:15Z"
168
+ },
169
+ {
170
+ "type": "PodScheduled",
171
+ "status": "True",
172
+ "lastProbeTime": null,
173
+ "lastTransitionTime": "2018-11-27T23:22:12Z"
174
+ }
175
+ ],
176
+ "hostIP": "172.20.63.245",
177
+ "podIP": "100.96.2.153",
178
+ "startTime": "2018-11-27T23:22:12Z",
179
+ "containerStatuses": [
180
+ {
181
+ "name": "fluentd",
182
+ "state": {
183
+ "running": {
184
+ "startedAt": "2018-11-27T23:22:14Z"
185
+ }
186
+ },
187
+ "lastState": {
188
+
189
+ },
190
+ "ready": true,
191
+ "restartCount": 0,
192
+ "image": "chaitanyaphalak/k8s-new-metrics:beta",
193
+ "imageID": "docker-pullable://chaitanyaphalak/k8s-new-metrics@sha256:a64c2ebd3aeb59b53d92ecbda8ca44e0ddae52404c085bb72e87234f6609f5f8",
194
+ "containerID": "docker://af7b6be426fe233c3ec9b29bfe529f316e810f41dd7f751f645b480263f49b4d"
195
+ }
196
+ ],
197
+ "qosClass": "Guaranteed"
198
+ }
199
+ },
200
+ {
201
+ "metadata": {
202
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-6c9f477b5rng2c",
203
+ "generateName": "new-metrics-test-final-splunk-kubernetes-metrics-6c9f477b54-",
204
+ "namespace": "default",
205
+ "selfLink": "/api/v1/namespaces/default/pods/new-metrics-test-final-splunk-kubernetes-metrics-6c9f477b5rng2c",
206
+ "uid": "45204450-f29b-11e8-afef-02dd29648076",
207
+ "resourceVersion": "3046139",
208
+ "creationTimestamp": "2018-11-27T23:22:12Z",
209
+ "labels": {
210
+ "app": "splunk-kubernetes-metrics",
211
+ "pod-template-hash": "2759033610",
212
+ "release": "new-metrics-test-final"
213
+ },
214
+ "annotations": {
215
+ "checksum/config": "4f61576c2a58ab641e0f3e5ccc51f774c3beefef6b41e2b9bff1a2354e5200fc",
216
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
217
+ },
218
+ "ownerReferences": [
219
+ {
220
+ "apiVersion": "extensions/v1beta1",
221
+ "kind": "ReplicaSet",
222
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-6c9f477b54",
223
+ "uid": "451d13e2-f29b-11e8-afef-02dd29648076",
224
+ "controller": true,
225
+ "blockOwnerDeletion": true
226
+ }
227
+ ]
228
+ },
229
+ "spec": {
230
+ "volumes": [
231
+ {
232
+ "name": "conf-configmap",
233
+ "configMap": {
234
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-aggregator",
235
+ "defaultMode": 420
236
+ }
237
+ },
238
+ {
239
+ "name": "secrets",
240
+ "secret": {
241
+ "secretName": "new-metrics-test-final-splunk-kubernetes-metrics",
242
+ "defaultMode": 420
243
+ }
244
+ },
245
+ {
246
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-token-kd6wg",
247
+ "secret": {
248
+ "secretName": "new-metrics-test-final-splunk-kubernetes-metrics-token-kd6wg",
249
+ "defaultMode": 420
250
+ }
251
+ }
252
+ ],
253
+ "containers": [
254
+ {
255
+ "name": "fluentd",
256
+ "image": "chaitanyaphalak/k8s-metrics-agg:beta-test-5",
257
+ "env": [
258
+ {
259
+ "name": "SPLUNK_HEC_TOKEN",
260
+ "valueFrom": {
261
+ "secretKeyRef": {
262
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics",
263
+ "key": "splunk_hec_token"
264
+ }
265
+ }
266
+ }
267
+ ],
268
+ "resources": {
269
+ "limits": {
270
+ "cpu": "100m",
271
+ "memory": "200Mi"
272
+ },
273
+ "requests": {
274
+ "cpu": "300m",
275
+ "memory": "400Mi"
276
+ }
277
+ },
278
+ "volumeMounts": [
279
+ {
280
+ "name": "conf-configmap",
281
+ "mountPath": "/fluentd/etc"
282
+ },
283
+ {
284
+ "name": "secrets",
285
+ "readOnly": true,
286
+ "mountPath": "/fluentd/etc/splunk"
287
+ },
288
+ {
289
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-token-kd6wg",
290
+ "readOnly": true,
291
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
292
+ }
293
+ ],
294
+ "terminationMessagePath": "/dev/termination-log",
295
+ "terminationMessagePolicy": "File",
296
+ "imagePullPolicy": "Always"
297
+ }
298
+ ],
299
+ "restartPolicy": "Always",
300
+ "terminationGracePeriodSeconds": 30,
301
+ "dnsPolicy": "ClusterFirst",
302
+ "serviceAccountName": "new-metrics-test-final-splunk-kubernetes-metrics",
303
+ "serviceAccount": "new-metrics-test-final-splunk-kubernetes-metrics",
304
+ "nodeName": "generics-aws-node-three",
305
+ "securityContext": {
306
+
307
+ },
308
+ "schedulerName": "default-scheduler",
309
+ "tolerations": [
310
+ {
311
+ "key": "node.kubernetes.io/not-ready",
312
+ "operator": "Exists",
313
+ "effect": "NoExecute",
314
+ "tolerationSeconds": 300
315
+ },
316
+ {
317
+ "key": "node.kubernetes.io/unreachable",
318
+ "operator": "Exists",
319
+ "effect": "NoExecute",
320
+ "tolerationSeconds": 300
321
+ }
322
+ ]
323
+ },
324
+ "status": {
325
+ "phase": "Pending",
326
+ "conditions": [
327
+ {
328
+ "type": "Initialized",
329
+ "status": "True",
330
+ "lastProbeTime": null,
331
+ "lastTransitionTime": "2018-11-27T23:22:12Z"
332
+ },
333
+ {
334
+ "type": "Ready",
335
+ "status": "False",
336
+ "lastProbeTime": null,
337
+ "lastTransitionTime": "2018-11-27T23:22:12Z",
338
+ "reason": "ContainersNotReady",
339
+ "message": "containers with unready status: [fluentd]"
340
+ },
341
+ {
342
+ "type": "PodScheduled",
343
+ "status": "True",
344
+ "lastProbeTime": null,
345
+ "lastTransitionTime": "2018-11-27T23:22:12Z"
346
+ }
347
+ ],
348
+ "hostIP": "172.20.63.245",
349
+ "podIP": "100.96.2.154",
350
+ "startTime": "2018-11-27T23:22:12Z",
351
+ "containerStatuses": [
352
+ {
353
+ "name": "fluentd",
354
+ "state": {
355
+ "waiting": {
356
+ "reason": "ImagePullBackOff",
357
+ "message": "Back-off pulling image \"chaitanyaphalak/k8s-metrics-agg:beta-test-5\""
358
+ }
359
+ },
360
+ "lastState": {
361
+
362
+ },
363
+ "ready": false,
364
+ "restartCount": 0,
365
+ "image": "chaitanyaphalak/k8s-metrics-agg:beta-test-5",
366
+ "imageID": ""
367
+ }
368
+ ],
369
+ "qosClass": "Guaranteed"
370
+ }
371
+ },
372
+ {
373
+ "metadata": {
374
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-fgszl",
375
+ "generateName": "new-metrics-test-final-splunk-kubernetes-metrics-",
376
+ "namespace": "default",
377
+ "selfLink": "/api/v1/namespaces/default/pods/new-metrics-test-final-splunk-kubernetes-metrics-fgszl",
378
+ "uid": "451cc186-f29b-11e8-afef-02dd29648076",
379
+ "resourceVersion": "2834953",
380
+ "creationTimestamp": "2018-11-27T23:22:12Z",
381
+ "labels": {
382
+ "app": "splunk-kubernetes-metrics",
383
+ "chart": "splunk-kubernetes-metrics-1.0.1",
384
+ "controller-revision-hash": "3285677050",
385
+ "engine": "fluentd",
386
+ "heritage": "Tiller",
387
+ "pod-template-generation": "1",
388
+ "release": "new-metrics-test-final"
389
+ },
390
+ "annotations": {
391
+ "checksum/config": "3a1e47d7b2aa6350647e47b01830fab4a8f258d648648deff0b4ee956de9658e",
392
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
393
+ },
394
+ "ownerReferences": [
395
+ {
396
+ "apiVersion": "apps/v1",
397
+ "kind": "DaemonSet",
398
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics",
399
+ "uid": "451a7dcd-f29b-11e8-afef-02dd29648076",
400
+ "controller": true,
401
+ "blockOwnerDeletion": true
402
+ }
403
+ ]
404
+ },
405
+ "spec": {
406
+ "volumes": [
407
+ {
408
+ "name": "conf-configmap",
409
+ "configMap": {
410
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics",
411
+ "defaultMode": 420
412
+ }
413
+ },
414
+ {
415
+ "name": "secrets",
416
+ "secret": {
417
+ "secretName": "new-metrics-test-final-splunk-kubernetes-metrics",
418
+ "defaultMode": 420
419
+ }
420
+ },
421
+ {
422
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-token-kd6wg",
423
+ "secret": {
424
+ "secretName": "new-metrics-test-final-splunk-kubernetes-metrics-token-kd6wg",
425
+ "defaultMode": 420
426
+ }
427
+ }
428
+ ],
429
+ "containers": [
430
+ {
431
+ "name": "fluentd",
432
+ "image": "chaitanyaphalak/k8s-new-metrics:beta",
433
+ "env": [
434
+ {
435
+ "name": "SPLUNK_HEC_HOST",
436
+ "valueFrom": {
437
+ "fieldRef": {
438
+ "apiVersion": "v1",
439
+ "fieldPath": "spec.nodeName"
440
+ }
441
+ }
442
+ },
443
+ {
444
+ "name": "SPLUNK_HEC_TOKEN",
445
+ "valueFrom": {
446
+ "secretKeyRef": {
447
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics",
448
+ "key": "splunk_hec_token"
449
+ }
450
+ }
451
+ }
452
+ ],
453
+ "resources": {
454
+ "limits": {
455
+ "cpu": "500m",
456
+ "memory": "600Mi"
457
+ },
458
+ "requests": {
459
+ "cpu": "700m",
460
+ "memory": "800Mi"
461
+ }
462
+ },
463
+ "volumeMounts": [
464
+ {
465
+ "name": "conf-configmap",
466
+ "mountPath": "/fluentd/etc"
467
+ },
468
+ {
469
+ "name": "secrets",
470
+ "readOnly": true,
471
+ "mountPath": "/fluentd/etc/splunk"
472
+ },
473
+ {
474
+ "name": "new-metrics-test-final-splunk-kubernetes-metrics-token-kd6wg",
475
+ "readOnly": true,
476
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
477
+ }
478
+ ],
479
+ "terminationMessagePath": "/dev/termination-log",
480
+ "terminationMessagePolicy": "File",
481
+ "imagePullPolicy": "IfNotPresent"
482
+ }
483
+ ],
484
+ "restartPolicy": "Always",
485
+ "terminationGracePeriodSeconds": 30,
486
+ "dnsPolicy": "ClusterFirst",
487
+ "serviceAccountName": "new-metrics-test-final-splunk-kubernetes-metrics",
488
+ "serviceAccount": "new-metrics-test-final-splunk-kubernetes-metrics",
489
+ "nodeName": "generics-aws-node-one",
490
+ "securityContext": {
491
+
492
+ },
493
+ "schedulerName": "default-scheduler",
494
+ "tolerations": [
495
+ {
496
+ "key": "node.kubernetes.io/not-ready",
497
+ "operator": "Exists",
498
+ "effect": "NoExecute"
499
+ },
500
+ {
501
+ "key": "node.kubernetes.io/unreachable",
502
+ "operator": "Exists",
503
+ "effect": "NoExecute"
504
+ },
505
+ {
506
+ "key": "node.kubernetes.io/disk-pressure",
507
+ "operator": "Exists",
508
+ "effect": "NoSchedule"
509
+ },
510
+ {
511
+ "key": "node.kubernetes.io/memory-pressure",
512
+ "operator": "Exists",
513
+ "effect": "NoSchedule"
514
+ }
515
+ ]
516
+ },
517
+ "status": {
518
+ "phase": "Running",
519
+ "conditions": [
520
+ {
521
+ "type": "Initialized",
522
+ "status": "True",
523
+ "lastProbeTime": null,
524
+ "lastTransitionTime": "2018-11-27T23:22:12Z"
525
+ },
526
+ {
527
+ "type": "Ready",
528
+ "status": "True",
529
+ "lastProbeTime": null,
530
+ "lastTransitionTime": "2018-11-27T23:22:15Z"
531
+ },
532
+ {
533
+ "type": "PodScheduled",
534
+ "status": "True",
535
+ "lastProbeTime": null,
536
+ "lastTransitionTime": "2018-11-27T23:22:12Z"
537
+ }
538
+ ],
539
+ "hostIP": "172.20.51.244",
540
+ "podIP": "100.96.1.147",
541
+ "startTime": "2018-11-27T23:22:12Z",
542
+ "containerStatuses": [
543
+ {
544
+ "name": "fluentd",
545
+ "state": {
546
+ "running": {
547
+ "startedAt": "2018-11-27T23:22:14Z"
548
+ }
549
+ },
550
+ "lastState": {
551
+
552
+ },
553
+ "ready": true,
554
+ "restartCount": 0,
555
+ "image": "chaitanyaphalak/k8s-new-metrics:beta",
556
+ "imageID": "docker-pullable://chaitanyaphalak/k8s-new-metrics@sha256:a64c2ebd3aeb59b53d92ecbda8ca44e0ddae52404c085bb72e87234f6609f5f8",
557
+ "containerID": "docker://841f620e76b4c63246ce7fe85faedf25e4756e24ca47717cb0b8d93969c62038"
558
+ }
559
+ ],
560
+ "qosClass": "Guaranteed"
561
+ }
562
+ },
563
+ {
564
+ "metadata": {
565
+ "name": "dns-controller-6d6b7f78b-9n6cw",
566
+ "generateName": "dns-controller-6d6b7f78b-",
567
+ "namespace": "kube-system",
568
+ "selfLink": "/api/v1/namespaces/kube-system/pods/dns-controller-6d6b7f78b-9n6cw",
569
+ "uid": "3e23c714-dedb-11e8-afef-02dd29648076",
570
+ "resourceVersion": "367",
571
+ "creationTimestamp": "2018-11-02T20:09:45Z",
572
+ "labels": {
573
+ "k8s-addon": "dns-controller.addons.k8s.io",
574
+ "k8s-app": "dns-controller",
575
+ "pod-template-hash": "282639346",
576
+ "version": "v1.10.0"
577
+ },
578
+ "annotations": {
579
+ "scheduler.alpha.kubernetes.io/critical-pod": "",
580
+ "scheduler.alpha.kubernetes.io/tolerations": "[{\"key\": \"dedicated\", \"value\": \"master\"}]"
581
+ },
582
+ "ownerReferences": [
583
+ {
584
+ "apiVersion": "extensions/v1beta1",
585
+ "kind": "ReplicaSet",
586
+ "name": "dns-controller-6d6b7f78b",
587
+ "uid": "3d86fa00-dedb-11e8-afef-02dd29648076",
588
+ "controller": true,
589
+ "blockOwnerDeletion": true
590
+ }
591
+ ]
592
+ },
593
+ "spec": {
594
+ "volumes": [
595
+ {
596
+ "name": "dns-controller-token-76p6h",
597
+ "secret": {
598
+ "secretName": "dns-controller-token-76p6h",
599
+ "defaultMode": 420
600
+ }
601
+ }
602
+ ],
603
+ "containers": [
604
+ {
605
+ "name": "dns-controller",
606
+ "image": "kope/dns-controller:1.10.0",
607
+ "command": [
608
+ "/usr/bin/dns-controller",
609
+ "--watch-ingress=false",
610
+ "--dns=gossip",
611
+ "--gossip-seed=127.0.0.1:3999",
612
+ "--zone=*/*",
613
+ "-v=2"
614
+ ],
615
+ "resources": {
616
+ "requests": {
617
+ "cpu": "900m",
618
+ "memory": "1000Mi"
619
+ }
620
+ },
621
+ "volumeMounts": [
622
+ {
623
+ "name": "dns-controller-token-76p6h",
624
+ "readOnly": true,
625
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
626
+ }
627
+ ],
628
+ "terminationMessagePath": "/dev/termination-log",
629
+ "terminationMessagePolicy": "File",
630
+ "imagePullPolicy": "IfNotPresent"
631
+ }
632
+ ],
633
+ "restartPolicy": "Always",
634
+ "terminationGracePeriodSeconds": 30,
635
+ "dnsPolicy": "Default",
636
+ "nodeSelector": {
637
+ "node-role.kubernetes.io/master": ""
638
+ },
639
+ "serviceAccountName": "dns-controller",
640
+ "serviceAccount": "dns-controller",
641
+ "nodeName": "generics-aws-node-two",
642
+ "hostNetwork": true,
643
+ "securityContext": {
644
+
645
+ },
646
+ "schedulerName": "default-scheduler",
647
+ "tolerations": [
648
+ {
649
+ "key": "node-role.kubernetes.io/master",
650
+ "effect": "NoSchedule"
651
+ },
652
+ {
653
+ "key": "node.kubernetes.io/not-ready",
654
+ "operator": "Exists",
655
+ "effect": "NoExecute",
656
+ "tolerationSeconds": 300
657
+ },
658
+ {
659
+ "key": "node.kubernetes.io/unreachable",
660
+ "operator": "Exists",
661
+ "effect": "NoExecute",
662
+ "tolerationSeconds": 300
663
+ }
664
+ ]
665
+ },
666
+ "status": {
667
+ "phase": "Running",
668
+ "conditions": [
669
+ {
670
+ "type": "Initialized",
671
+ "status": "True",
672
+ "lastProbeTime": null,
673
+ "lastTransitionTime": "2018-11-02T20:10:16Z"
674
+ },
675
+ {
676
+ "type": "Ready",
677
+ "status": "True",
678
+ "lastProbeTime": null,
679
+ "lastTransitionTime": "2018-11-02T20:10:21Z"
680
+ },
681
+ {
682
+ "type": "PodScheduled",
683
+ "status": "True",
684
+ "lastProbeTime": null,
685
+ "lastTransitionTime": "2018-11-02T20:10:16Z"
686
+ }
687
+ ],
688
+ "hostIP": "172.20.57.89",
689
+ "podIP": "172.20.57.89",
690
+ "startTime": "2018-11-02T20:10:16Z",
691
+ "containerStatuses": [
692
+ {
693
+ "name": "dns-controller",
694
+ "state": {
695
+ "running": {
696
+ "startedAt": "2018-11-02T20:10:20Z"
697
+ }
698
+ },
699
+ "lastState": {
700
+
701
+ },
702
+ "ready": true,
703
+ "restartCount": 0,
704
+ "image": "kope/dns-controller:1.10.0",
705
+ "imageID": "docker-pullable://kope/dns-controller@sha256:a4f5c5490b23e6bad32028d223b172f3fc9a6d4251cc5eea6e5e389c8dc12024",
706
+ "containerID": "docker://46db653c5c95d62b2f850502aa59b409df65d66b497bc2452545c65cff826a20"
707
+ }
708
+ ],
709
+ "qosClass": "Burstable"
710
+ }
711
+ },
712
+ {
713
+ "metadata": {
714
+ "name": "etcd-server-events-generics-aws-node-two",
715
+ "namespace": "kube-system",
716
+ "selfLink": "/api/v1/namespaces/kube-system/pods/etcd-server-events-generics-aws-node-two",
717
+ "uid": "505d7149-dedb-11e8-afef-02dd29648076",
718
+ "resourceVersion": "373",
719
+ "creationTimestamp": "2018-11-02T20:10:16Z",
720
+ "labels": {
721
+ "k8s-app": "etcd-server-events"
722
+ },
723
+ "annotations": {
724
+ "kubernetes.io/config.hash": "b6fbcc401119c99e5f1b51db3f9db506",
725
+ "kubernetes.io/config.mirror": "b6fbcc401119c99e5f1b51db3f9db506",
726
+ "kubernetes.io/config.seen": "2018-11-02T20:08:43.192836627Z",
727
+ "kubernetes.io/config.source": "file",
728
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
729
+ }
730
+ },
731
+ "spec": {
732
+ "volumes": [
733
+ {
734
+ "name": "varetcdata",
735
+ "hostPath": {
736
+ "path": "/mnt/master-vol-0bedc340dc623a01b/var/etcd/data-events",
737
+ "type": ""
738
+ }
739
+ },
740
+ {
741
+ "name": "varlogetcd",
742
+ "hostPath": {
743
+ "path": "/var/log/etcd-events.log",
744
+ "type": ""
745
+ }
746
+ },
747
+ {
748
+ "name": "hosts",
749
+ "hostPath": {
750
+ "path": "/etc/hosts",
751
+ "type": ""
752
+ }
753
+ }
754
+ ],
755
+ "containers": [
756
+ {
757
+ "name": "etcd-container",
758
+ "image": "k8s.gcr.io/etcd:2.2.1",
759
+ "command": [
760
+ "/bin/sh",
761
+ "-c",
762
+ "mkfifo /tmp/pipe; (tee -a /var/log/etcd.log \u003c /tmp/pipe \u0026 ) ; exec /usr/local/bin/etcd \u003e /tmp/pipe 2\u003e\u00261"
763
+ ],
764
+ "ports": [
765
+ {
766
+ "name": "serverport",
767
+ "hostPort": 2381,
768
+ "containerPort": 2381,
769
+ "protocol": "TCP"
770
+ },
771
+ {
772
+ "name": "clientport",
773
+ "hostPort": 4002,
774
+ "containerPort": 4002,
775
+ "protocol": "TCP"
776
+ }
777
+ ],
778
+ "env": [
779
+ {
780
+ "name": "ETCD_NAME",
781
+ "value": "etcd-events-a"
782
+ },
783
+ {
784
+ "name": "ETCD_DATA_DIR",
785
+ "value": "/var/etcd/data-events"
786
+ },
787
+ {
788
+ "name": "ETCD_LISTEN_PEER_URLS",
789
+ "value": "http://0.0.0.0:2381"
790
+ },
791
+ {
792
+ "name": "ETCD_LISTEN_CLIENT_URLS",
793
+ "value": "http://0.0.0.0:4002"
794
+ },
795
+ {
796
+ "name": "ETCD_ADVERTISE_CLIENT_URLS",
797
+ "value": "http://etcd-events-a.internal.cp-reaper-cluster.k8s.local:4002"
798
+ },
799
+ {
800
+ "name": "ETCD_INITIAL_ADVERTISE_PEER_URLS",
801
+ "value": "http://etcd-events-a.internal.cp-reaper-cluster.k8s.local:2381"
802
+ },
803
+ {
804
+ "name": "ETCD_INITIAL_CLUSTER_STATE",
805
+ "value": "new"
806
+ },
807
+ {
808
+ "name": "ETCD_INITIAL_CLUSTER_TOKEN",
809
+ "value": "etcd-cluster-token-etcd-events"
810
+ },
811
+ {
812
+ "name": "ETCD_INITIAL_CLUSTER",
813
+ "value": "etcd-events-a=http://etcd-events-a.internal.cp-reaper-cluster.k8s.local:2381"
814
+ }
815
+ ],
816
+ "resources": {
817
+ "requests": {
818
+ "cpu": "1100m"
819
+ }
820
+ },
821
+ "volumeMounts": [
822
+ {
823
+ "name": "varetcdata",
824
+ "mountPath": "/var/etcd/data-events"
825
+ },
826
+ {
827
+ "name": "varlogetcd",
828
+ "mountPath": "/var/log/etcd.log"
829
+ },
830
+ {
831
+ "name": "hosts",
832
+ "readOnly": true,
833
+ "mountPath": "/etc/hosts"
834
+ }
835
+ ],
836
+ "livenessProbe": {
837
+ "httpGet": {
838
+ "path": "/health",
839
+ "port": 4002,
840
+ "host": "127.0.0.1",
841
+ "scheme": "HTTP"
842
+ },
843
+ "initialDelaySeconds": 15,
844
+ "timeoutSeconds": 15,
845
+ "periodSeconds": 10,
846
+ "successThreshold": 1,
847
+ "failureThreshold": 3
848
+ },
849
+ "terminationMessagePath": "/dev/termination-log",
850
+ "terminationMessagePolicy": "File",
851
+ "imagePullPolicy": "IfNotPresent"
852
+ }
853
+ ],
854
+ "restartPolicy": "Always",
855
+ "terminationGracePeriodSeconds": 30,
856
+ "dnsPolicy": "ClusterFirst",
857
+ "nodeName": "generics-aws-node-two",
858
+ "hostNetwork": true,
859
+ "securityContext": {
860
+
861
+ },
862
+ "schedulerName": "default-scheduler",
863
+ "tolerations": [
864
+ {
865
+ "key": "CriticalAddonsOnly",
866
+ "operator": "Exists"
867
+ },
868
+ {
869
+ "operator": "Exists",
870
+ "effect": "NoExecute"
871
+ }
872
+ ]
873
+ },
874
+ "status": {
875
+ "phase": "Running",
876
+ "conditions": [
877
+ {
878
+ "type": "Initialized",
879
+ "status": "True",
880
+ "lastProbeTime": null,
881
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
882
+ },
883
+ {
884
+ "type": "Ready",
885
+ "status": "True",
886
+ "lastProbeTime": null,
887
+ "lastTransitionTime": "2018-11-02T20:09:07Z"
888
+ },
889
+ {
890
+ "type": "PodScheduled",
891
+ "status": "True",
892
+ "lastProbeTime": null,
893
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
894
+ }
895
+ ],
896
+ "hostIP": "172.20.57.89",
897
+ "podIP": "172.20.57.89",
898
+ "startTime": "2018-11-02T20:08:46Z",
899
+ "containerStatuses": [
900
+ {
901
+ "name": "etcd-container",
902
+ "state": {
903
+ "running": {
904
+ "startedAt": "2018-11-02T20:09:07Z"
905
+ }
906
+ },
907
+ "lastState": {
908
+
909
+ },
910
+ "ready": true,
911
+ "restartCount": 0,
912
+ "image": "k8s.gcr.io/etcd:2.2.1",
913
+ "imageID": "docker-pullable://k8s.gcr.io/etcd@sha256:19544a655157fb089b62d4dac02bbd095f82ca245dd5e31dd1684d175b109947",
914
+ "containerID": "docker://722e8276d661a828ceb0548c66bc6b5da56f601529d3c117cc32c72128231666"
915
+ }
916
+ ],
917
+ "qosClass": "Burstable"
918
+ }
919
+ },
920
+ {
921
+ "metadata": {
922
+ "name": "etcd-server-generics-aws-node-two",
923
+ "namespace": "kube-system",
924
+ "selfLink": "/api/v1/namespaces/kube-system/pods/etcd-server-generics-aws-node-two",
925
+ "uid": "53f0c4b5-dedb-11e8-afef-02dd29648076",
926
+ "resourceVersion": "374",
927
+ "creationTimestamp": "2018-11-02T20:10:22Z",
928
+ "labels": {
929
+ "k8s-app": "etcd-server"
930
+ },
931
+ "annotations": {
932
+ "kubernetes.io/config.hash": "310ff556af68b46e5580c376563548b3",
933
+ "kubernetes.io/config.mirror": "310ff556af68b46e5580c376563548b3",
934
+ "kubernetes.io/config.seen": "2018-11-02T20:08:43.192838306Z",
935
+ "kubernetes.io/config.source": "file",
936
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
937
+ }
938
+ },
939
+ "spec": {
940
+ "volumes": [
941
+ {
942
+ "name": "varetcdata",
943
+ "hostPath": {
944
+ "path": "/mnt/master-vol-02f8667dc988db1d5/var/etcd/data",
945
+ "type": ""
946
+ }
947
+ },
948
+ {
949
+ "name": "varlogetcd",
950
+ "hostPath": {
951
+ "path": "/var/log/etcd.log",
952
+ "type": ""
953
+ }
954
+ },
955
+ {
956
+ "name": "hosts",
957
+ "hostPath": {
958
+ "path": "/etc/hosts",
959
+ "type": ""
960
+ }
961
+ }
962
+ ],
963
+ "containers": [
964
+ {
965
+ "name": "etcd-container",
966
+ "image": "k8s.gcr.io/etcd:2.2.1",
967
+ "command": [
968
+ "/bin/sh",
969
+ "-c",
970
+ "mkfifo /tmp/pipe; (tee -a /var/log/etcd.log \u003c /tmp/pipe \u0026 ) ; exec /usr/local/bin/etcd \u003e /tmp/pipe 2\u003e\u00261"
971
+ ],
972
+ "ports": [
973
+ {
974
+ "name": "serverport",
975
+ "hostPort": 2380,
976
+ "containerPort": 2380,
977
+ "protocol": "TCP"
978
+ },
979
+ {
980
+ "name": "clientport",
981
+ "hostPort": 4001,
982
+ "containerPort": 4001,
983
+ "protocol": "TCP"
984
+ }
985
+ ],
986
+ "env": [
987
+ {
988
+ "name": "ETCD_NAME",
989
+ "value": "etcd-a"
990
+ },
991
+ {
992
+ "name": "ETCD_DATA_DIR",
993
+ "value": "/var/etcd/data"
994
+ },
995
+ {
996
+ "name": "ETCD_LISTEN_PEER_URLS",
997
+ "value": "http://0.0.0.0:2380"
998
+ },
999
+ {
1000
+ "name": "ETCD_LISTEN_CLIENT_URLS",
1001
+ "value": "http://0.0.0.0:4001"
1002
+ },
1003
+ {
1004
+ "name": "ETCD_ADVERTISE_CLIENT_URLS",
1005
+ "value": "http://etcd-a.internal.cp-reaper-cluster.k8s.local:4001"
1006
+ },
1007
+ {
1008
+ "name": "ETCD_INITIAL_ADVERTISE_PEER_URLS",
1009
+ "value": "http://etcd-a.internal.cp-reaper-cluster.k8s.local:2380"
1010
+ },
1011
+ {
1012
+ "name": "ETCD_INITIAL_CLUSTER_STATE",
1013
+ "value": "new"
1014
+ },
1015
+ {
1016
+ "name": "ETCD_INITIAL_CLUSTER_TOKEN",
1017
+ "value": "etcd-cluster-token-etcd"
1018
+ },
1019
+ {
1020
+ "name": "ETCD_INITIAL_CLUSTER",
1021
+ "value": "etcd-a=http://etcd-a.internal.cp-reaper-cluster.k8s.local:2380"
1022
+ }
1023
+ ],
1024
+ "resources": {
1025
+ "requests": {
1026
+ "cpu": "1200m"
1027
+ }
1028
+ },
1029
+ "volumeMounts": [
1030
+ {
1031
+ "name": "varetcdata",
1032
+ "mountPath": "/var/etcd/data"
1033
+ },
1034
+ {
1035
+ "name": "varlogetcd",
1036
+ "mountPath": "/var/log/etcd.log"
1037
+ },
1038
+ {
1039
+ "name": "hosts",
1040
+ "readOnly": true,
1041
+ "mountPath": "/etc/hosts"
1042
+ }
1043
+ ],
1044
+ "livenessProbe": {
1045
+ "httpGet": {
1046
+ "path": "/health",
1047
+ "port": 4001,
1048
+ "host": "127.0.0.1",
1049
+ "scheme": "HTTP"
1050
+ },
1051
+ "initialDelaySeconds": 15,
1052
+ "timeoutSeconds": 15,
1053
+ "periodSeconds": 10,
1054
+ "successThreshold": 1,
1055
+ "failureThreshold": 3
1056
+ },
1057
+ "terminationMessagePath": "/dev/termination-log",
1058
+ "terminationMessagePolicy": "File",
1059
+ "imagePullPolicy": "IfNotPresent"
1060
+ }
1061
+ ],
1062
+ "restartPolicy": "Always",
1063
+ "terminationGracePeriodSeconds": 30,
1064
+ "dnsPolicy": "ClusterFirst",
1065
+ "nodeName": "generics-aws-node-two",
1066
+ "hostNetwork": true,
1067
+ "securityContext": {
1068
+
1069
+ },
1070
+ "schedulerName": "default-scheduler",
1071
+ "tolerations": [
1072
+ {
1073
+ "key": "CriticalAddonsOnly",
1074
+ "operator": "Exists"
1075
+ },
1076
+ {
1077
+ "operator": "Exists",
1078
+ "effect": "NoExecute"
1079
+ }
1080
+ ]
1081
+ },
1082
+ "status": {
1083
+ "phase": "Running",
1084
+ "conditions": [
1085
+ {
1086
+ "type": "Initialized",
1087
+ "status": "True",
1088
+ "lastProbeTime": null,
1089
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
1090
+ },
1091
+ {
1092
+ "type": "Ready",
1093
+ "status": "True",
1094
+ "lastProbeTime": null,
1095
+ "lastTransitionTime": "2018-11-02T20:09:07Z"
1096
+ },
1097
+ {
1098
+ "type": "PodScheduled",
1099
+ "status": "True",
1100
+ "lastProbeTime": null,
1101
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
1102
+ }
1103
+ ],
1104
+ "hostIP": "172.20.57.89",
1105
+ "podIP": "172.20.57.89",
1106
+ "startTime": "2018-11-02T20:08:46Z",
1107
+ "containerStatuses": [
1108
+ {
1109
+ "name": "etcd-container",
1110
+ "state": {
1111
+ "running": {
1112
+ "startedAt": "2018-11-02T20:09:07Z"
1113
+ }
1114
+ },
1115
+ "lastState": {
1116
+
1117
+ },
1118
+ "ready": true,
1119
+ "restartCount": 0,
1120
+ "image": "k8s.gcr.io/etcd:2.2.1",
1121
+ "imageID": "docker-pullable://k8s.gcr.io/etcd@sha256:19544a655157fb089b62d4dac02bbd095f82ca245dd5e31dd1684d175b109947",
1122
+ "containerID": "docker://60adb3f0b9e38f68e93d3c7e5d3fa50341d868127c7f4b659e560ed41dad004a"
1123
+ }
1124
+ ],
1125
+ "qosClass": "Burstable"
1126
+ }
1127
+ },
1128
+ {
1129
+ "metadata": {
1130
+ "name": "kube-apiserver-generics-aws-node-two",
1131
+ "namespace": "kube-system",
1132
+ "selfLink": "/api/v1/namespaces/kube-system/pods/kube-apiserver-generics-aws-node-two",
1133
+ "uid": "518e78de-dedb-11e8-afef-02dd29648076",
1134
+ "resourceVersion": "375",
1135
+ "creationTimestamp": "2018-11-02T20:10:18Z",
1136
+ "labels": {
1137
+ "k8s-app": "kube-apiserver"
1138
+ },
1139
+ "annotations": {
1140
+ "dns.alpha.kubernetes.io/internal": "api.internal.cp-reaper-cluster.k8s.local",
1141
+ "kubernetes.io/config.hash": "dc5e34d8b875a92be236483682c1e45b",
1142
+ "kubernetes.io/config.mirror": "dc5e34d8b875a92be236483682c1e45b",
1143
+ "kubernetes.io/config.seen": "2018-11-02T20:08:43.192840234Z",
1144
+ "kubernetes.io/config.source": "file",
1145
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
1146
+ }
1147
+ },
1148
+ "spec": {
1149
+ "volumes": [
1150
+ {
1151
+ "name": "etcssl",
1152
+ "hostPath": {
1153
+ "path": "/etc/ssl",
1154
+ "type": ""
1155
+ }
1156
+ },
1157
+ {
1158
+ "name": "etcpkitls",
1159
+ "hostPath": {
1160
+ "path": "/etc/pki/tls",
1161
+ "type": ""
1162
+ }
1163
+ },
1164
+ {
1165
+ "name": "etcpkica-trust",
1166
+ "hostPath": {
1167
+ "path": "/etc/pki/ca-trust",
1168
+ "type": ""
1169
+ }
1170
+ },
1171
+ {
1172
+ "name": "usrsharessl",
1173
+ "hostPath": {
1174
+ "path": "/usr/share/ssl",
1175
+ "type": ""
1176
+ }
1177
+ },
1178
+ {
1179
+ "name": "usrssl",
1180
+ "hostPath": {
1181
+ "path": "/usr/ssl",
1182
+ "type": ""
1183
+ }
1184
+ },
1185
+ {
1186
+ "name": "usrlibssl",
1187
+ "hostPath": {
1188
+ "path": "/usr/lib/ssl",
1189
+ "type": ""
1190
+ }
1191
+ },
1192
+ {
1193
+ "name": "usrlocalopenssl",
1194
+ "hostPath": {
1195
+ "path": "/usr/local/openssl",
1196
+ "type": ""
1197
+ }
1198
+ },
1199
+ {
1200
+ "name": "varssl",
1201
+ "hostPath": {
1202
+ "path": "/var/ssl",
1203
+ "type": ""
1204
+ }
1205
+ },
1206
+ {
1207
+ "name": "etcopenssl",
1208
+ "hostPath": {
1209
+ "path": "/etc/openssl",
1210
+ "type": ""
1211
+ }
1212
+ },
1213
+ {
1214
+ "name": "logfile",
1215
+ "hostPath": {
1216
+ "path": "/var/log/kube-apiserver.log",
1217
+ "type": ""
1218
+ }
1219
+ },
1220
+ {
1221
+ "name": "srvkube",
1222
+ "hostPath": {
1223
+ "path": "/srv/kubernetes",
1224
+ "type": ""
1225
+ }
1226
+ },
1227
+ {
1228
+ "name": "srvsshproxy",
1229
+ "hostPath": {
1230
+ "path": "/srv/sshproxy",
1231
+ "type": ""
1232
+ }
1233
+ }
1234
+ ],
1235
+ "containers": [
1236
+ {
1237
+ "name": "kube-apiserver",
1238
+ "image": "k8s.gcr.io/kube-apiserver:v1.10.6",
1239
+ "command": [
1240
+ "/bin/sh",
1241
+ "-c",
1242
+ "mkfifo /tmp/pipe; (tee -a /var/log/kube-apiserver.log \u003c /tmp/pipe \u0026 ) ; exec /usr/local/bin/kube-apiserver --allow-privileged=true --anonymous-auth=false --apiserver-count=1 --authorization-mode=RBAC --basic-auth-file=/srv/kubernetes/basic_auth.csv --bind-address=0.0.0.0 --client-ca-file=/srv/kubernetes/ca.crt --cloud-provider=aws --enable-admission-plugins=Initializers,NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,NodeRestriction,ResourceQuota --etcd-quorum-read=false --etcd-servers-overrides=/events#http://127.0.0.1:4002 --etcd-servers=http://127.0.0.1:4001 --insecure-bind-address=127.0.0.1 --insecure-port=8080 --kubelet-preferred-address-types=InternalIP,Hostname,ExternalIP --proxy-client-cert-file=/srv/kubernetes/apiserver-aggregator.cert --proxy-client-key-file=/srv/kubernetes/apiserver-aggregator.key --requestheader-allowed-names=aggregator --requestheader-client-ca-file=/srv/kubernetes/apiserver-aggregator-ca.cert --requestheader-extra-headers-prefix=X-Remote-Extra- --requestheader-group-headers=X-Remote-Group --requestheader-username-headers=X-Remote-User --secure-port=443 --service-cluster-ip-range=100.64.0.0/13 --storage-backend=etcd2 --tls-cert-file=/srv/kubernetes/server.cert --tls-private-key-file=/srv/kubernetes/server.key --token-auth-file=/srv/kubernetes/known_tokens.csv --v=2 \u003e /tmp/pipe 2\u003e\u00261"
1243
+ ],
1244
+ "ports": [
1245
+ {
1246
+ "name": "https",
1247
+ "hostPort": 443,
1248
+ "containerPort": 443,
1249
+ "protocol": "TCP"
1250
+ },
1251
+ {
1252
+ "name": "local",
1253
+ "hostPort": 8080,
1254
+ "containerPort": 8080,
1255
+ "protocol": "TCP"
1256
+ }
1257
+ ],
1258
+ "resources": {
1259
+ "requests": {
1260
+ "cpu": "1300m"
1261
+ }
1262
+ },
1263
+ "volumeMounts": [
1264
+ {
1265
+ "name": "etcssl",
1266
+ "readOnly": true,
1267
+ "mountPath": "/etc/ssl"
1268
+ },
1269
+ {
1270
+ "name": "etcpkitls",
1271
+ "readOnly": true,
1272
+ "mountPath": "/etc/pki/tls"
1273
+ },
1274
+ {
1275
+ "name": "etcpkica-trust",
1276
+ "readOnly": true,
1277
+ "mountPath": "/etc/pki/ca-trust"
1278
+ },
1279
+ {
1280
+ "name": "usrsharessl",
1281
+ "readOnly": true,
1282
+ "mountPath": "/usr/share/ssl"
1283
+ },
1284
+ {
1285
+ "name": "usrssl",
1286
+ "readOnly": true,
1287
+ "mountPath": "/usr/ssl"
1288
+ },
1289
+ {
1290
+ "name": "usrlibssl",
1291
+ "readOnly": true,
1292
+ "mountPath": "/usr/lib/ssl"
1293
+ },
1294
+ {
1295
+ "name": "usrlocalopenssl",
1296
+ "readOnly": true,
1297
+ "mountPath": "/usr/local/openssl"
1298
+ },
1299
+ {
1300
+ "name": "varssl",
1301
+ "readOnly": true,
1302
+ "mountPath": "/var/ssl"
1303
+ },
1304
+ {
1305
+ "name": "etcopenssl",
1306
+ "readOnly": true,
1307
+ "mountPath": "/etc/openssl"
1308
+ },
1309
+ {
1310
+ "name": "logfile",
1311
+ "mountPath": "/var/log/kube-apiserver.log"
1312
+ },
1313
+ {
1314
+ "name": "srvkube",
1315
+ "readOnly": true,
1316
+ "mountPath": "/srv/kubernetes"
1317
+ },
1318
+ {
1319
+ "name": "srvsshproxy",
1320
+ "readOnly": true,
1321
+ "mountPath": "/srv/sshproxy"
1322
+ }
1323
+ ],
1324
+ "livenessProbe": {
1325
+ "httpGet": {
1326
+ "path": "/healthz",
1327
+ "port": 8080,
1328
+ "host": "127.0.0.1",
1329
+ "scheme": "HTTP"
1330
+ },
1331
+ "initialDelaySeconds": 15,
1332
+ "timeoutSeconds": 15,
1333
+ "periodSeconds": 10,
1334
+ "successThreshold": 1,
1335
+ "failureThreshold": 3
1336
+ },
1337
+ "terminationMessagePath": "/dev/termination-log",
1338
+ "terminationMessagePolicy": "File",
1339
+ "imagePullPolicy": "IfNotPresent"
1340
+ }
1341
+ ],
1342
+ "restartPolicy": "Always",
1343
+ "terminationGracePeriodSeconds": 30,
1344
+ "dnsPolicy": "ClusterFirst",
1345
+ "nodeName": "generics-aws-node-two",
1346
+ "hostNetwork": true,
1347
+ "securityContext": {
1348
+
1349
+ },
1350
+ "schedulerName": "default-scheduler",
1351
+ "tolerations": [
1352
+ {
1353
+ "key": "CriticalAddonsOnly",
1354
+ "operator": "Exists"
1355
+ },
1356
+ {
1357
+ "operator": "Exists",
1358
+ "effect": "NoExecute"
1359
+ }
1360
+ ]
1361
+ },
1362
+ "status": {
1363
+ "phase": "Running",
1364
+ "conditions": [
1365
+ {
1366
+ "type": "Initialized",
1367
+ "status": "True",
1368
+ "lastProbeTime": null,
1369
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
1370
+ },
1371
+ {
1372
+ "type": "Ready",
1373
+ "status": "True",
1374
+ "lastProbeTime": null,
1375
+ "lastTransitionTime": "2018-11-02T20:09:05Z"
1376
+ },
1377
+ {
1378
+ "type": "PodScheduled",
1379
+ "status": "True",
1380
+ "lastProbeTime": null,
1381
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
1382
+ }
1383
+ ],
1384
+ "hostIP": "172.20.57.89",
1385
+ "podIP": "172.20.57.89",
1386
+ "startTime": "2018-11-02T20:08:46Z",
1387
+ "containerStatuses": [
1388
+ {
1389
+ "name": "kube-apiserver",
1390
+ "state": {
1391
+ "running": {
1392
+ "startedAt": "2018-11-02T20:09:05Z"
1393
+ }
1394
+ },
1395
+ "lastState": {
1396
+
1397
+ },
1398
+ "ready": true,
1399
+ "restartCount": 0,
1400
+ "image": "k8s.gcr.io/kube-apiserver:v1.10.6",
1401
+ "imageID": "docker-pullable://k8s.gcr.io/kube-apiserver@sha256:3283c534aab386bc678986c74c2fc855db46b3f424884d547641c82dba6ec5de",
1402
+ "containerID": "docker://88cc02d7c294e857ec2857da3c464f52be7a03f994efc40b4b77819341b3f656"
1403
+ }
1404
+ ],
1405
+ "qosClass": "Burstable"
1406
+ }
1407
+ },
1408
+ {
1409
+ "metadata": {
1410
+ "name": "kube-controller-manager-generics-aws-node-two",
1411
+ "namespace": "kube-system",
1412
+ "selfLink": "/api/v1/namespaces/kube-system/pods/kube-controller-manager-generics-aws-node-two",
1413
+ "uid": "44717d51-dedb-11e8-afef-02dd29648076",
1414
+ "resourceVersion": "338",
1415
+ "creationTimestamp": "2018-11-02T20:09:56Z",
1416
+ "labels": {
1417
+ "k8s-app": "kube-controller-manager"
1418
+ },
1419
+ "annotations": {
1420
+ "kubernetes.io/config.hash": "07a16a420a6bd57457ae30f30088d856",
1421
+ "kubernetes.io/config.mirror": "07a16a420a6bd57457ae30f30088d856",
1422
+ "kubernetes.io/config.seen": "2018-11-02T20:08:43.192826903Z",
1423
+ "kubernetes.io/config.source": "file",
1424
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
1425
+ }
1426
+ },
1427
+ "spec": {
1428
+ "volumes": [
1429
+ {
1430
+ "name": "etcssl",
1431
+ "hostPath": {
1432
+ "path": "/etc/ssl",
1433
+ "type": ""
1434
+ }
1435
+ },
1436
+ {
1437
+ "name": "etcpkitls",
1438
+ "hostPath": {
1439
+ "path": "/etc/pki/tls",
1440
+ "type": ""
1441
+ }
1442
+ },
1443
+ {
1444
+ "name": "etcpkica-trust",
1445
+ "hostPath": {
1446
+ "path": "/etc/pki/ca-trust",
1447
+ "type": ""
1448
+ }
1449
+ },
1450
+ {
1451
+ "name": "usrsharessl",
1452
+ "hostPath": {
1453
+ "path": "/usr/share/ssl",
1454
+ "type": ""
1455
+ }
1456
+ },
1457
+ {
1458
+ "name": "usrssl",
1459
+ "hostPath": {
1460
+ "path": "/usr/ssl",
1461
+ "type": ""
1462
+ }
1463
+ },
1464
+ {
1465
+ "name": "usrlibssl",
1466
+ "hostPath": {
1467
+ "path": "/usr/lib/ssl",
1468
+ "type": ""
1469
+ }
1470
+ },
1471
+ {
1472
+ "name": "usrlocalopenssl",
1473
+ "hostPath": {
1474
+ "path": "/usr/local/openssl",
1475
+ "type": ""
1476
+ }
1477
+ },
1478
+ {
1479
+ "name": "varssl",
1480
+ "hostPath": {
1481
+ "path": "/var/ssl",
1482
+ "type": ""
1483
+ }
1484
+ },
1485
+ {
1486
+ "name": "etcopenssl",
1487
+ "hostPath": {
1488
+ "path": "/etc/openssl",
1489
+ "type": ""
1490
+ }
1491
+ },
1492
+ {
1493
+ "name": "srvkube",
1494
+ "hostPath": {
1495
+ "path": "/srv/kubernetes",
1496
+ "type": ""
1497
+ }
1498
+ },
1499
+ {
1500
+ "name": "logfile",
1501
+ "hostPath": {
1502
+ "path": "/var/log/kube-controller-manager.log",
1503
+ "type": ""
1504
+ }
1505
+ },
1506
+ {
1507
+ "name": "varlibkcm",
1508
+ "hostPath": {
1509
+ "path": "/var/lib/kube-controller-manager",
1510
+ "type": ""
1511
+ }
1512
+ }
1513
+ ],
1514
+ "containers": [
1515
+ {
1516
+ "name": "kube-controller-manager",
1517
+ "image": "k8s.gcr.io/kube-controller-manager:v1.10.6",
1518
+ "command": [
1519
+ "/bin/sh",
1520
+ "-c",
1521
+ "mkfifo /tmp/pipe; (tee -a /var/log/kube-controller-manager.log \u003c /tmp/pipe \u0026 ) ; exec /usr/local/bin/kube-controller-manager --allocate-node-cidrs=true --attach-detach-reconcile-sync-period=1m0s --cloud-provider=aws --cluster-cidr=100.96.0.0/11 --cluster-name=cp-reaper-cluster.k8s.local --cluster-signing-cert-file=/srv/kubernetes/ca.crt --cluster-signing-key-file=/srv/kubernetes/ca.key --configure-cloud-routes=true --kubeconfig=/var/lib/kube-controller-manager/kubeconfig --leader-elect=true --root-ca-file=/srv/kubernetes/ca.crt --service-account-private-key-file=/srv/kubernetes/server.key --use-service-account-credentials=true --v=2 \u003e /tmp/pipe 2\u003e\u00261"
1522
+ ],
1523
+ "resources": {
1524
+ "requests": {
1525
+ "cpu": "1400m"
1526
+ }
1527
+ },
1528
+ "volumeMounts": [
1529
+ {
1530
+ "name": "etcssl",
1531
+ "readOnly": true,
1532
+ "mountPath": "/etc/ssl"
1533
+ },
1534
+ {
1535
+ "name": "etcpkitls",
1536
+ "readOnly": true,
1537
+ "mountPath": "/etc/pki/tls"
1538
+ },
1539
+ {
1540
+ "name": "etcpkica-trust",
1541
+ "readOnly": true,
1542
+ "mountPath": "/etc/pki/ca-trust"
1543
+ },
1544
+ {
1545
+ "name": "usrsharessl",
1546
+ "readOnly": true,
1547
+ "mountPath": "/usr/share/ssl"
1548
+ },
1549
+ {
1550
+ "name": "usrssl",
1551
+ "readOnly": true,
1552
+ "mountPath": "/usr/ssl"
1553
+ },
1554
+ {
1555
+ "name": "usrlibssl",
1556
+ "readOnly": true,
1557
+ "mountPath": "/usr/lib/ssl"
1558
+ },
1559
+ {
1560
+ "name": "usrlocalopenssl",
1561
+ "readOnly": true,
1562
+ "mountPath": "/usr/local/openssl"
1563
+ },
1564
+ {
1565
+ "name": "varssl",
1566
+ "readOnly": true,
1567
+ "mountPath": "/var/ssl"
1568
+ },
1569
+ {
1570
+ "name": "etcopenssl",
1571
+ "readOnly": true,
1572
+ "mountPath": "/etc/openssl"
1573
+ },
1574
+ {
1575
+ "name": "srvkube",
1576
+ "readOnly": true,
1577
+ "mountPath": "/srv/kubernetes"
1578
+ },
1579
+ {
1580
+ "name": "logfile",
1581
+ "mountPath": "/var/log/kube-controller-manager.log"
1582
+ },
1583
+ {
1584
+ "name": "varlibkcm",
1585
+ "readOnly": true,
1586
+ "mountPath": "/var/lib/kube-controller-manager"
1587
+ }
1588
+ ],
1589
+ "livenessProbe": {
1590
+ "httpGet": {
1591
+ "path": "/healthz",
1592
+ "port": 10252,
1593
+ "host": "127.0.0.1",
1594
+ "scheme": "HTTP"
1595
+ },
1596
+ "initialDelaySeconds": 15,
1597
+ "timeoutSeconds": 15,
1598
+ "periodSeconds": 10,
1599
+ "successThreshold": 1,
1600
+ "failureThreshold": 3
1601
+ },
1602
+ "terminationMessagePath": "/dev/termination-log",
1603
+ "terminationMessagePolicy": "File",
1604
+ "imagePullPolicy": "IfNotPresent"
1605
+ }
1606
+ ],
1607
+ "restartPolicy": "Always",
1608
+ "terminationGracePeriodSeconds": 30,
1609
+ "dnsPolicy": "ClusterFirst",
1610
+ "nodeName": "generics-aws-node-two",
1611
+ "hostNetwork": true,
1612
+ "securityContext": {
1613
+
1614
+ },
1615
+ "schedulerName": "default-scheduler",
1616
+ "tolerations": [
1617
+ {
1618
+ "key": "CriticalAddonsOnly",
1619
+ "operator": "Exists"
1620
+ },
1621
+ {
1622
+ "operator": "Exists",
1623
+ "effect": "NoExecute"
1624
+ }
1625
+ ]
1626
+ },
1627
+ "status": {
1628
+ "phase": "Running",
1629
+ "conditions": [
1630
+ {
1631
+ "type": "Initialized",
1632
+ "status": "True",
1633
+ "lastProbeTime": null,
1634
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
1635
+ },
1636
+ {
1637
+ "type": "Ready",
1638
+ "status": "True",
1639
+ "lastProbeTime": null,
1640
+ "lastTransitionTime": "2018-11-02T20:08:53Z"
1641
+ },
1642
+ {
1643
+ "type": "PodScheduled",
1644
+ "status": "True",
1645
+ "lastProbeTime": null,
1646
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
1647
+ }
1648
+ ],
1649
+ "hostIP": "172.20.57.89",
1650
+ "podIP": "172.20.57.89",
1651
+ "startTime": "2018-11-02T20:08:46Z",
1652
+ "containerStatuses": [
1653
+ {
1654
+ "name": "kube-controller-manager",
1655
+ "state": {
1656
+ "running": {
1657
+ "startedAt": "2018-11-02T20:08:53Z"
1658
+ }
1659
+ },
1660
+ "lastState": {
1661
+
1662
+ },
1663
+ "ready": true,
1664
+ "restartCount": 0,
1665
+ "image": "k8s.gcr.io/kube-controller-manager:v1.10.6",
1666
+ "imageID": "docker-pullable://k8s.gcr.io/kube-controller-manager@sha256:93bbd2218a04253db98438ee49d9512359ee9d2a89e2a4247d520b21296acfd6",
1667
+ "containerID": "docker://dc4afc1263974d2af70b607d7e88651fbaccca6dde79cc12ce2c1176437ec374"
1668
+ }
1669
+ ],
1670
+ "qosClass": "Burstable"
1671
+ }
1672
+ },
1673
+ {
1674
+ "metadata": {
1675
+ "name": "kube-dns-5fbcb4d67b-974g9",
1676
+ "generateName": "kube-dns-5fbcb4d67b-",
1677
+ "namespace": "kube-system",
1678
+ "selfLink": "/api/v1/namespaces/kube-system/pods/kube-dns-5fbcb4d67b-974g9",
1679
+ "uid": "8886574c-dedb-11e8-afef-02dd29648076",
1680
+ "resourceVersion": "547",
1681
+ "creationTimestamp": "2018-11-02T20:11:50Z",
1682
+ "labels": {
1683
+ "k8s-app": "kube-dns",
1684
+ "pod-template-hash": "1967608236"
1685
+ },
1686
+ "annotations": {
1687
+ "prometheus.io/port": "10055",
1688
+ "prometheus.io/scrape": "true",
1689
+ "scheduler.alpha.kubernetes.io/critical-pod": "",
1690
+ "scheduler.alpha.kubernetes.io/tolerations": "[{\"key\":\"CriticalAddonsOnly\", \"operator\":\"Exists\"}]"
1691
+ },
1692
+ "ownerReferences": [
1693
+ {
1694
+ "apiVersion": "extensions/v1beta1",
1695
+ "kind": "ReplicaSet",
1696
+ "name": "kube-dns-5fbcb4d67b",
1697
+ "uid": "3cc2eea7-dedb-11e8-afef-02dd29648076",
1698
+ "controller": true,
1699
+ "blockOwnerDeletion": true
1700
+ }
1701
+ ]
1702
+ },
1703
+ "spec": {
1704
+ "volumes": [
1705
+ {
1706
+ "name": "kube-dns-config",
1707
+ "configMap": {
1708
+ "name": "kube-dns",
1709
+ "defaultMode": 420,
1710
+ "optional": true
1711
+ }
1712
+ },
1713
+ {
1714
+ "name": "kube-dns-token-k9lxx",
1715
+ "secret": {
1716
+ "secretName": "kube-dns-token-k9lxx",
1717
+ "defaultMode": 420
1718
+ }
1719
+ }
1720
+ ],
1721
+ "containers": [
1722
+ {
1723
+ "name": "kubedns",
1724
+ "image": "k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.10",
1725
+ "args": [
1726
+ "--config-dir=/kube-dns-config",
1727
+ "--dns-port=10053",
1728
+ "--domain=cluster.local.",
1729
+ "--v=2"
1730
+ ],
1731
+ "ports": [
1732
+ {
1733
+ "name": "dns-local",
1734
+ "containerPort": 10053,
1735
+ "protocol": "UDP"
1736
+ },
1737
+ {
1738
+ "name": "dns-tcp-local",
1739
+ "containerPort": 10053,
1740
+ "protocol": "TCP"
1741
+ },
1742
+ {
1743
+ "name": "metrics",
1744
+ "containerPort": 10055,
1745
+ "protocol": "TCP"
1746
+ }
1747
+ ],
1748
+ "env": [
1749
+ {
1750
+ "name": "PROMETHEUS_PORT",
1751
+ "value": "10055"
1752
+ }
1753
+ ],
1754
+ "resources": {
1755
+ "limits": {
1756
+ "memory": "1500Mi"
1757
+ },
1758
+ "requests": {
1759
+ "cpu": "1600m",
1760
+ "memory": "170Mi"
1761
+ }
1762
+ },
1763
+ "volumeMounts": [
1764
+ {
1765
+ "name": "kube-dns-config",
1766
+ "mountPath": "/kube-dns-config"
1767
+ },
1768
+ {
1769
+ "name": "kube-dns-token-k9lxx",
1770
+ "readOnly": true,
1771
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
1772
+ }
1773
+ ],
1774
+ "livenessProbe": {
1775
+ "httpGet": {
1776
+ "path": "/healthcheck/kubedns",
1777
+ "port": 10054,
1778
+ "scheme": "HTTP"
1779
+ },
1780
+ "initialDelaySeconds": 60,
1781
+ "timeoutSeconds": 5,
1782
+ "periodSeconds": 10,
1783
+ "successThreshold": 1,
1784
+ "failureThreshold": 5
1785
+ },
1786
+ "readinessProbe": {
1787
+ "httpGet": {
1788
+ "path": "/readiness",
1789
+ "port": 8081,
1790
+ "scheme": "HTTP"
1791
+ },
1792
+ "initialDelaySeconds": 3,
1793
+ "timeoutSeconds": 5,
1794
+ "periodSeconds": 10,
1795
+ "successThreshold": 1,
1796
+ "failureThreshold": 3
1797
+ },
1798
+ "terminationMessagePath": "/dev/termination-log",
1799
+ "terminationMessagePolicy": "File",
1800
+ "imagePullPolicy": "IfNotPresent"
1801
+ },
1802
+ {
1803
+ "name": "dnsmasq",
1804
+ "image": "k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.10",
1805
+ "args": [
1806
+ "-v=2",
1807
+ "-logtostderr",
1808
+ "-configDir=/etc/k8s/dns/dnsmasq-nanny",
1809
+ "-restartDnsmasq=true",
1810
+ "--",
1811
+ "-k",
1812
+ "--cache-size=1000",
1813
+ "--dns-forward-max=150",
1814
+ "--no-negcache",
1815
+ "--log-facility=-",
1816
+ "--server=/cluster.local/127.0.0.1#10053",
1817
+ "--server=/in-addr.arpa/127.0.0.1#10053",
1818
+ "--server=/in6.arpa/127.0.0.1#10053"
1819
+ ],
1820
+ "ports": [
1821
+ {
1822
+ "name": "dns",
1823
+ "containerPort": 53,
1824
+ "protocol": "UDP"
1825
+ },
1826
+ {
1827
+ "name": "dns-tcp",
1828
+ "containerPort": 53,
1829
+ "protocol": "TCP"
1830
+ }
1831
+ ],
1832
+ "resources": {
1833
+ "requests": {
1834
+ "cpu": "1800m",
1835
+ "memory": "19000Mi"
1836
+ }
1837
+ },
1838
+ "volumeMounts": [
1839
+ {
1840
+ "name": "kube-dns-config",
1841
+ "mountPath": "/etc/k8s/dns/dnsmasq-nanny"
1842
+ },
1843
+ {
1844
+ "name": "kube-dns-token-k9lxx",
1845
+ "readOnly": true,
1846
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
1847
+ }
1848
+ ],
1849
+ "livenessProbe": {
1850
+ "httpGet": {
1851
+ "path": "/healthcheck/dnsmasq",
1852
+ "port": 10054,
1853
+ "scheme": "HTTP"
1854
+ },
1855
+ "initialDelaySeconds": 60,
1856
+ "timeoutSeconds": 5,
1857
+ "periodSeconds": 10,
1858
+ "successThreshold": 1,
1859
+ "failureThreshold": 5
1860
+ },
1861
+ "terminationMessagePath": "/dev/termination-log",
1862
+ "terminationMessagePolicy": "File",
1863
+ "imagePullPolicy": "IfNotPresent"
1864
+ },
1865
+ {
1866
+ "name": "sidecar",
1867
+ "image": "k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.10",
1868
+ "args": [
1869
+ "--v=2",
1870
+ "--logtostderr",
1871
+ "--probe=kubedns,127.0.0.1:10053,kubernetes.default.svc.cluster.local,5,A",
1872
+ "--probe=dnsmasq,127.0.0.1:53,kubernetes.default.svc.cluster.local,5,A"
1873
+ ],
1874
+ "ports": [
1875
+ {
1876
+ "name": "metrics",
1877
+ "containerPort": 10054,
1878
+ "protocol": "TCP"
1879
+ }
1880
+ ],
1881
+ "resources": {
1882
+ "requests": {
1883
+ "cpu": "2000m",
1884
+ "memory": "210Mi"
1885
+ }
1886
+ },
1887
+ "volumeMounts": [
1888
+ {
1889
+ "name": "kube-dns-token-k9lxx",
1890
+ "readOnly": true,
1891
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
1892
+ }
1893
+ ],
1894
+ "livenessProbe": {
1895
+ "httpGet": {
1896
+ "path": "/metrics",
1897
+ "port": 10054,
1898
+ "scheme": "HTTP"
1899
+ },
1900
+ "initialDelaySeconds": 60,
1901
+ "timeoutSeconds": 5,
1902
+ "periodSeconds": 10,
1903
+ "successThreshold": 1,
1904
+ "failureThreshold": 5
1905
+ },
1906
+ "terminationMessagePath": "/dev/termination-log",
1907
+ "terminationMessagePolicy": "File",
1908
+ "imagePullPolicy": "IfNotPresent"
1909
+ }
1910
+ ],
1911
+ "restartPolicy": "Always",
1912
+ "terminationGracePeriodSeconds": 30,
1913
+ "dnsPolicy": "Default",
1914
+ "serviceAccountName": "kube-dns",
1915
+ "serviceAccount": "kube-dns",
1916
+ "nodeName": "generics-aws-node-one",
1917
+ "securityContext": {
1918
+
1919
+ },
1920
+ "schedulerName": "default-scheduler",
1921
+ "tolerations": [
1922
+ {
1923
+ "key": "node.kubernetes.io/not-ready",
1924
+ "operator": "Exists",
1925
+ "effect": "NoExecute",
1926
+ "tolerationSeconds": 300
1927
+ },
1928
+ {
1929
+ "key": "node.kubernetes.io/unreachable",
1930
+ "operator": "Exists",
1931
+ "effect": "NoExecute",
1932
+ "tolerationSeconds": 300
1933
+ }
1934
+ ]
1935
+ },
1936
+ "status": {
1937
+ "phase": "Running",
1938
+ "conditions": [
1939
+ {
1940
+ "type": "Initialized",
1941
+ "status": "True",
1942
+ "lastProbeTime": null,
1943
+ "lastTransitionTime": "2018-11-02T20:11:50Z"
1944
+ },
1945
+ {
1946
+ "type": "Ready",
1947
+ "status": "True",
1948
+ "lastProbeTime": null,
1949
+ "lastTransitionTime": "2018-11-02T20:12:04Z"
1950
+ },
1951
+ {
1952
+ "type": "PodScheduled",
1953
+ "status": "True",
1954
+ "lastProbeTime": null,
1955
+ "lastTransitionTime": "2018-11-02T20:11:50Z"
1956
+ }
1957
+ ],
1958
+ "hostIP": "172.20.51.244",
1959
+ "podIP": "100.96.1.3",
1960
+ "startTime": "2018-11-02T20:11:50Z",
1961
+ "containerStatuses": [
1962
+ {
1963
+ "name": "dnsmasq",
1964
+ "state": {
1965
+ "running": {
1966
+ "startedAt": "2018-11-02T20:11:55Z"
1967
+ }
1968
+ },
1969
+ "lastState": {
1970
+
1971
+ },
1972
+ "ready": true,
1973
+ "restartCount": 0,
1974
+ "image": "k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.10",
1975
+ "imageID": "docker-pullable://k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64@sha256:bbb2a290a568125b3b996028958eb773f33b5b87a6b37bf38a28f8b62dddb3c8",
1976
+ "containerID": "docker://5414b7def982da12f1429476a732534005c309d08434cb20361bb761fa385628"
1977
+ },
1978
+ {
1979
+ "name": "kubedns",
1980
+ "state": {
1981
+ "running": {
1982
+ "startedAt": "2018-11-02T20:11:53Z"
1983
+ }
1984
+ },
1985
+ "lastState": {
1986
+
1987
+ },
1988
+ "ready": true,
1989
+ "restartCount": 0,
1990
+ "image": "k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.10",
1991
+ "imageID": "docker-pullable://k8s.gcr.io/k8s-dns-kube-dns-amd64@sha256:b99fc3eee2a9f052f7eb4cc00f15eb12fc405fa41019baa2d6b79847ae7284a8",
1992
+ "containerID": "docker://1aa5970b31ba4b113d9ca99a275b9b1f012aec124e09ff52a8b7b455bd95df03"
1993
+ },
1994
+ {
1995
+ "name": "sidecar",
1996
+ "state": {
1997
+ "running": {
1998
+ "startedAt": "2018-11-02T20:11:57Z"
1999
+ }
2000
+ },
2001
+ "lastState": {
2002
+
2003
+ },
2004
+ "ready": true,
2005
+ "restartCount": 0,
2006
+ "image": "k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.10",
2007
+ "imageID": "docker-pullable://k8s.gcr.io/k8s-dns-sidecar-amd64@sha256:4f1ab957f87b94a5ec1edc26fae50da2175461f00afecf68940c4aa079bd08a4",
2008
+ "containerID": "docker://7894cd7ae84e0f5d08f358a864516432b2e391420d2b73332d508066cd617c16"
2009
+ }
2010
+ ],
2011
+ "qosClass": "Burstable"
2012
+ }
2013
+ },
2014
+ {
2015
+ "metadata": {
2016
+ "name": "kube-dns-5fbcb4d67b-rdvmn",
2017
+ "generateName": "kube-dns-5fbcb4d67b-",
2018
+ "namespace": "kube-system",
2019
+ "selfLink": "/api/v1/namespaces/kube-system/pods/kube-dns-5fbcb4d67b-rdvmn",
2020
+ "uid": "3cc4dd67-dedb-11e8-afef-02dd29648076",
2021
+ "resourceVersion": "532",
2022
+ "creationTimestamp": "2018-11-02T20:09:43Z",
2023
+ "labels": {
2024
+ "k8s-app": "kube-dns",
2025
+ "pod-template-hash": "1967608236"
2026
+ },
2027
+ "annotations": {
2028
+ "prometheus.io/port": "10055",
2029
+ "prometheus.io/scrape": "true",
2030
+ "scheduler.alpha.kubernetes.io/critical-pod": "",
2031
+ "scheduler.alpha.kubernetes.io/tolerations": "[{\"key\":\"CriticalAddonsOnly\", \"operator\":\"Exists\"}]"
2032
+ },
2033
+ "ownerReferences": [
2034
+ {
2035
+ "apiVersion": "extensions/v1beta1",
2036
+ "kind": "ReplicaSet",
2037
+ "name": "kube-dns-5fbcb4d67b",
2038
+ "uid": "3cc2eea7-dedb-11e8-afef-02dd29648076",
2039
+ "controller": true,
2040
+ "blockOwnerDeletion": true
2041
+ }
2042
+ ]
2043
+ },
2044
+ "spec": {
2045
+ "volumes": [
2046
+ {
2047
+ "name": "kube-dns-config",
2048
+ "configMap": {
2049
+ "name": "kube-dns",
2050
+ "defaultMode": 420,
2051
+ "optional": true
2052
+ }
2053
+ },
2054
+ {
2055
+ "name": "kube-dns-token-k9lxx",
2056
+ "secret": {
2057
+ "secretName": "kube-dns-token-k9lxx",
2058
+ "defaultMode": 420
2059
+ }
2060
+ }
2061
+ ],
2062
+ "containers": [
2063
+ {
2064
+ "name": "kubedns",
2065
+ "image": "k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.10",
2066
+ "args": [
2067
+ "--config-dir=/kube-dns-config",
2068
+ "--dns-port=10053",
2069
+ "--domain=cluster.local.",
2070
+ "--v=2"
2071
+ ],
2072
+ "ports": [
2073
+ {
2074
+ "name": "dns-local",
2075
+ "containerPort": 10053,
2076
+ "protocol": "UDP"
2077
+ },
2078
+ {
2079
+ "name": "dns-tcp-local",
2080
+ "containerPort": 10053,
2081
+ "protocol": "TCP"
2082
+ },
2083
+ {
2084
+ "name": "metrics",
2085
+ "containerPort": 10055,
2086
+ "protocol": "TCP"
2087
+ }
2088
+ ],
2089
+ "env": [
2090
+ {
2091
+ "name": "PROMETHEUS_PORT",
2092
+ "value": "10055"
2093
+ }
2094
+ ],
2095
+ "resources": {
2096
+ "limits": {
2097
+ "memory": "2200Mi"
2098
+ },
2099
+ "requests": {
2100
+ "cpu": "2300m",
2101
+ "memory": "2400Mi"
2102
+ }
2103
+ },
2104
+ "volumeMounts": [
2105
+ {
2106
+ "name": "kube-dns-config",
2107
+ "mountPath": "/kube-dns-config"
2108
+ },
2109
+ {
2110
+ "name": "kube-dns-token-k9lxx",
2111
+ "readOnly": true,
2112
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
2113
+ }
2114
+ ],
2115
+ "livenessProbe": {
2116
+ "httpGet": {
2117
+ "path": "/healthcheck/kubedns",
2118
+ "port": 10054,
2119
+ "scheme": "HTTP"
2120
+ },
2121
+ "initialDelaySeconds": 60,
2122
+ "timeoutSeconds": 5,
2123
+ "periodSeconds": 10,
2124
+ "successThreshold": 1,
2125
+ "failureThreshold": 5
2126
+ },
2127
+ "readinessProbe": {
2128
+ "httpGet": {
2129
+ "path": "/readiness",
2130
+ "port": 8081,
2131
+ "scheme": "HTTP"
2132
+ },
2133
+ "initialDelaySeconds": 3,
2134
+ "timeoutSeconds": 5,
2135
+ "periodSeconds": 10,
2136
+ "successThreshold": 1,
2137
+ "failureThreshold": 3
2138
+ },
2139
+ "terminationMessagePath": "/dev/termination-log",
2140
+ "terminationMessagePolicy": "File",
2141
+ "imagePullPolicy": "IfNotPresent"
2142
+ },
2143
+ {
2144
+ "name": "dnsmasq",
2145
+ "image": "k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.10",
2146
+ "args": [
2147
+ "-v=2",
2148
+ "-logtostderr",
2149
+ "-configDir=/etc/k8s/dns/dnsmasq-nanny",
2150
+ "-restartDnsmasq=true",
2151
+ "--",
2152
+ "-k",
2153
+ "--cache-size=1000",
2154
+ "--dns-forward-max=150",
2155
+ "--no-negcache",
2156
+ "--log-facility=-",
2157
+ "--server=/cluster.local/127.0.0.1#10053",
2158
+ "--server=/in-addr.arpa/127.0.0.1#10053",
2159
+ "--server=/in6.arpa/127.0.0.1#10053"
2160
+ ],
2161
+ "ports": [
2162
+ {
2163
+ "name": "dns",
2164
+ "containerPort": 53,
2165
+ "protocol": "UDP"
2166
+ },
2167
+ {
2168
+ "name": "dns-tcp",
2169
+ "containerPort": 53,
2170
+ "protocol": "TCP"
2171
+ }
2172
+ ],
2173
+ "resources": {
2174
+ "requests": {
2175
+ "cpu": "250m",
2176
+ "memory": "26Mi"
2177
+ }
2178
+ },
2179
+ "volumeMounts": [
2180
+ {
2181
+ "name": "kube-dns-config",
2182
+ "mountPath": "/etc/k8s/dns/dnsmasq-nanny"
2183
+ },
2184
+ {
2185
+ "name": "kube-dns-token-k9lxx",
2186
+ "readOnly": true,
2187
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
2188
+ }
2189
+ ],
2190
+ "livenessProbe": {
2191
+ "httpGet": {
2192
+ "path": "/healthcheck/dnsmasq",
2193
+ "port": 10054,
2194
+ "scheme": "HTTP"
2195
+ },
2196
+ "initialDelaySeconds": 60,
2197
+ "timeoutSeconds": 5,
2198
+ "periodSeconds": 10,
2199
+ "successThreshold": 1,
2200
+ "failureThreshold": 5
2201
+ },
2202
+ "terminationMessagePath": "/dev/termination-log",
2203
+ "terminationMessagePolicy": "File",
2204
+ "imagePullPolicy": "IfNotPresent"
2205
+ },
2206
+ {
2207
+ "name": "sidecar",
2208
+ "image": "k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.10",
2209
+ "args": [
2210
+ "--v=2",
2211
+ "--logtostderr",
2212
+ "--probe=kubedns,127.0.0.1:10053,kubernetes.default.svc.cluster.local,5,A",
2213
+ "--probe=dnsmasq,127.0.0.1:53,kubernetes.default.svc.cluster.local,5,A"
2214
+ ],
2215
+ "ports": [
2216
+ {
2217
+ "name": "metrics",
2218
+ "containerPort": 10054,
2219
+ "protocol": "TCP"
2220
+ }
2221
+ ],
2222
+ "resources": {
2223
+ "requests": {
2224
+ "cpu": "270m",
2225
+ "memory": "28Mi"
2226
+ }
2227
+ },
2228
+ "volumeMounts": [
2229
+ {
2230
+ "name": "kube-dns-token-k9lxx",
2231
+ "readOnly": true,
2232
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
2233
+ }
2234
+ ],
2235
+ "livenessProbe": {
2236
+ "httpGet": {
2237
+ "path": "/metrics",
2238
+ "port": 10054,
2239
+ "scheme": "HTTP"
2240
+ },
2241
+ "initialDelaySeconds": 60,
2242
+ "timeoutSeconds": 5,
2243
+ "periodSeconds": 10,
2244
+ "successThreshold": 1,
2245
+ "failureThreshold": 5
2246
+ },
2247
+ "terminationMessagePath": "/dev/termination-log",
2248
+ "terminationMessagePolicy": "File",
2249
+ "imagePullPolicy": "IfNotPresent"
2250
+ }
2251
+ ],
2252
+ "restartPolicy": "Always",
2253
+ "terminationGracePeriodSeconds": 30,
2254
+ "dnsPolicy": "Default",
2255
+ "serviceAccountName": "kube-dns",
2256
+ "serviceAccount": "kube-dns",
2257
+ "nodeName": "generics-aws-node-three",
2258
+ "securityContext": {
2259
+
2260
+ },
2261
+ "schedulerName": "default-scheduler",
2262
+ "tolerations": [
2263
+ {
2264
+ "key": "node.kubernetes.io/not-ready",
2265
+ "operator": "Exists",
2266
+ "effect": "NoExecute",
2267
+ "tolerationSeconds": 300
2268
+ },
2269
+ {
2270
+ "key": "node.kubernetes.io/unreachable",
2271
+ "operator": "Exists",
2272
+ "effect": "NoExecute",
2273
+ "tolerationSeconds": 300
2274
+ }
2275
+ ]
2276
+ },
2277
+ "status": {
2278
+ "phase": "Running",
2279
+ "conditions": [
2280
+ {
2281
+ "type": "Initialized",
2282
+ "status": "True",
2283
+ "lastProbeTime": null,
2284
+ "lastTransitionTime": "2018-11-02T20:11:46Z"
2285
+ },
2286
+ {
2287
+ "type": "Ready",
2288
+ "status": "True",
2289
+ "lastProbeTime": null,
2290
+ "lastTransitionTime": "2018-11-02T20:11:57Z"
2291
+ },
2292
+ {
2293
+ "type": "PodScheduled",
2294
+ "status": "True",
2295
+ "lastProbeTime": null,
2296
+ "lastTransitionTime": "2018-11-02T20:11:46Z"
2297
+ }
2298
+ ],
2299
+ "hostIP": "172.20.63.245",
2300
+ "podIP": "100.96.2.2",
2301
+ "startTime": "2018-11-02T20:11:46Z",
2302
+ "containerStatuses": [
2303
+ {
2304
+ "name": "dnsmasq",
2305
+ "state": {
2306
+ "running": {
2307
+ "startedAt": "2018-11-02T20:11:51Z"
2308
+ }
2309
+ },
2310
+ "lastState": {
2311
+
2312
+ },
2313
+ "ready": true,
2314
+ "restartCount": 0,
2315
+ "image": "k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.10",
2316
+ "imageID": "docker-pullable://k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64@sha256:bbb2a290a568125b3b996028958eb773f33b5b87a6b37bf38a28f8b62dddb3c8",
2317
+ "containerID": "docker://df1f89d27f39665bac98872f9759210714e63d8673b4fe46661e72dea707772e"
2318
+ },
2319
+ {
2320
+ "name": "kubedns",
2321
+ "state": {
2322
+ "running": {
2323
+ "startedAt": "2018-11-02T20:11:49Z"
2324
+ }
2325
+ },
2326
+ "lastState": {
2327
+
2328
+ },
2329
+ "ready": true,
2330
+ "restartCount": 0,
2331
+ "image": "k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.10",
2332
+ "imageID": "docker-pullable://k8s.gcr.io/k8s-dns-kube-dns-amd64@sha256:b99fc3eee2a9f052f7eb4cc00f15eb12fc405fa41019baa2d6b79847ae7284a8",
2333
+ "containerID": "docker://31fe7c924909793dd8e62d23d5ea786d76bd58dca7e29b26211b08a3ca4f0939"
2334
+ },
2335
+ {
2336
+ "name": "sidecar",
2337
+ "state": {
2338
+ "running": {
2339
+ "startedAt": "2018-11-02T20:11:53Z"
2340
+ }
2341
+ },
2342
+ "lastState": {
2343
+
2344
+ },
2345
+ "ready": true,
2346
+ "restartCount": 0,
2347
+ "image": "k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.10",
2348
+ "imageID": "docker-pullable://k8s.gcr.io/k8s-dns-sidecar-amd64@sha256:4f1ab957f87b94a5ec1edc26fae50da2175461f00afecf68940c4aa079bd08a4",
2349
+ "containerID": "docker://643724dcbd0fe67dfcf42b8b2224494ff528c55ed756ef01b274f1bb7a48fa45"
2350
+ }
2351
+ ],
2352
+ "qosClass": "Burstable"
2353
+ }
2354
+ },
2355
+ {
2356
+ "metadata": {
2357
+ "name": "kube-dns-autoscaler-6874c546dd-srgj8",
2358
+ "generateName": "kube-dns-autoscaler-6874c546dd-",
2359
+ "namespace": "kube-system",
2360
+ "selfLink": "/api/v1/namespaces/kube-system/pods/kube-dns-autoscaler-6874c546dd-srgj8",
2361
+ "uid": "3d660ba3-dedb-11e8-afef-02dd29648076",
2362
+ "resourceVersion": "514",
2363
+ "creationTimestamp": "2018-11-02T20:09:44Z",
2364
+ "labels": {
2365
+ "k8s-app": "kube-dns-autoscaler",
2366
+ "pod-template-hash": "2430710288"
2367
+ },
2368
+ "annotations": {
2369
+ "scheduler.alpha.kubernetes.io/critical-pod": "",
2370
+ "scheduler.alpha.kubernetes.io/tolerations": "[{\"key\":\"CriticalAddonsOnly\", \"operator\":\"Exists\"}]"
2371
+ },
2372
+ "ownerReferences": [
2373
+ {
2374
+ "apiVersion": "extensions/v1beta1",
2375
+ "kind": "ReplicaSet",
2376
+ "name": "kube-dns-autoscaler-6874c546dd",
2377
+ "uid": "3cbdb3f4-dedb-11e8-afef-02dd29648076",
2378
+ "controller": true,
2379
+ "blockOwnerDeletion": true
2380
+ }
2381
+ ]
2382
+ },
2383
+ "spec": {
2384
+ "volumes": [
2385
+ {
2386
+ "name": "kube-dns-autoscaler-token-57swx",
2387
+ "secret": {
2388
+ "secretName": "kube-dns-autoscaler-token-57swx",
2389
+ "defaultMode": 420
2390
+ }
2391
+ }
2392
+ ],
2393
+ "containers": [
2394
+ {
2395
+ "name": "autoscaler",
2396
+ "image": "k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.1.2-r2",
2397
+ "command": [
2398
+ "/cluster-proportional-autoscaler",
2399
+ "--namespace=kube-system",
2400
+ "--configmap=kube-dns-autoscaler",
2401
+ "--target=Deployment/kube-dns",
2402
+ "--default-params={\"linear\":{\"coresPerReplica\":256,\"nodesPerReplica\":16,\"preventSinglePointFailure\":true}}",
2403
+ "--logtostderr=true",
2404
+ "--v=2"
2405
+ ],
2406
+ "resources": {
2407
+ "requests": {
2408
+ "cpu": "29m",
2409
+ "memory": "30Mi"
2410
+ }
2411
+ },
2412
+ "volumeMounts": [
2413
+ {
2414
+ "name": "kube-dns-autoscaler-token-57swx",
2415
+ "readOnly": true,
2416
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
2417
+ }
2418
+ ],
2419
+ "terminationMessagePath": "/dev/termination-log",
2420
+ "terminationMessagePolicy": "File",
2421
+ "imagePullPolicy": "IfNotPresent"
2422
+ }
2423
+ ],
2424
+ "restartPolicy": "Always",
2425
+ "terminationGracePeriodSeconds": 30,
2426
+ "dnsPolicy": "ClusterFirst",
2427
+ "serviceAccountName": "kube-dns-autoscaler",
2428
+ "serviceAccount": "kube-dns-autoscaler",
2429
+ "nodeName": "generics-aws-node-one",
2430
+ "securityContext": {
2431
+
2432
+ },
2433
+ "schedulerName": "default-scheduler",
2434
+ "tolerations": [
2435
+ {
2436
+ "key": "CriticalAddonsOnly",
2437
+ "operator": "Exists"
2438
+ },
2439
+ {
2440
+ "key": "node.kubernetes.io/not-ready",
2441
+ "operator": "Exists",
2442
+ "effect": "NoExecute",
2443
+ "tolerationSeconds": 300
2444
+ },
2445
+ {
2446
+ "key": "node.kubernetes.io/unreachable",
2447
+ "operator": "Exists",
2448
+ "effect": "NoExecute",
2449
+ "tolerationSeconds": 300
2450
+ }
2451
+ ]
2452
+ },
2453
+ "status": {
2454
+ "phase": "Running",
2455
+ "conditions": [
2456
+ {
2457
+ "type": "Initialized",
2458
+ "status": "True",
2459
+ "lastProbeTime": null,
2460
+ "lastTransitionTime": "2018-11-02T20:11:47Z"
2461
+ },
2462
+ {
2463
+ "type": "Ready",
2464
+ "status": "True",
2465
+ "lastProbeTime": null,
2466
+ "lastTransitionTime": "2018-11-02T20:11:50Z"
2467
+ },
2468
+ {
2469
+ "type": "PodScheduled",
2470
+ "status": "True",
2471
+ "lastProbeTime": null,
2472
+ "lastTransitionTime": "2018-11-02T20:11:47Z"
2473
+ }
2474
+ ],
2475
+ "hostIP": "172.20.51.244",
2476
+ "podIP": "100.96.1.2",
2477
+ "startTime": "2018-11-02T20:11:47Z",
2478
+ "containerStatuses": [
2479
+ {
2480
+ "name": "autoscaler",
2481
+ "state": {
2482
+ "running": {
2483
+ "startedAt": "2018-11-02T20:11:50Z"
2484
+ }
2485
+ },
2486
+ "lastState": {
2487
+
2488
+ },
2489
+ "ready": true,
2490
+ "restartCount": 0,
2491
+ "image": "k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.1.2-r2",
2492
+ "imageID": "docker-pullable://k8s.gcr.io/cluster-proportional-autoscaler-amd64@sha256:003f98d9f411ddfa6ff6d539196355e03ddd69fa4ed38c7ffb8fec6f729afe2d",
2493
+ "containerID": "docker://511895980cfd4e49a6882f5cd564b16f40bdce9189593b3af47bdbeb95121140"
2494
+ }
2495
+ ],
2496
+ "qosClass": "Burstable"
2497
+ }
2498
+ },
2499
+ {
2500
+ "metadata": {
2501
+ "name": "kube-proxy-generics-aws-node-one",
2502
+ "namespace": "kube-system",
2503
+ "selfLink": "/api/v1/namespaces/kube-system/pods/kube-proxy-generics-aws-node-one",
2504
+ "uid": "67babb15-dedb-11e8-afef-02dd29648076",
2505
+ "resourceVersion": "439",
2506
+ "creationTimestamp": "2018-11-02T20:10:55Z",
2507
+ "labels": {
2508
+ "k8s-app": "kube-proxy",
2509
+ "tier": "node"
2510
+ },
2511
+ "annotations": {
2512
+ "kubernetes.io/config.hash": "0353d50e30294e7156bc66c4c7b10182",
2513
+ "kubernetes.io/config.mirror": "0353d50e30294e7156bc66c4c7b10182",
2514
+ "kubernetes.io/config.seen": "2018-11-02T20:08:33.38867617Z",
2515
+ "kubernetes.io/config.source": "file",
2516
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
2517
+ }
2518
+ },
2519
+ "spec": {
2520
+ "volumes": [
2521
+ {
2522
+ "name": "kubeconfig",
2523
+ "hostPath": {
2524
+ "path": "/var/lib/kube-proxy/kubeconfig",
2525
+ "type": ""
2526
+ }
2527
+ },
2528
+ {
2529
+ "name": "logfile",
2530
+ "hostPath": {
2531
+ "path": "/var/log/kube-proxy.log",
2532
+ "type": ""
2533
+ }
2534
+ },
2535
+ {
2536
+ "name": "modules",
2537
+ "hostPath": {
2538
+ "path": "/lib/modules",
2539
+ "type": ""
2540
+ }
2541
+ },
2542
+ {
2543
+ "name": "ssl-certs-hosts",
2544
+ "hostPath": {
2545
+ "path": "/usr/share/ca-certificates",
2546
+ "type": ""
2547
+ }
2548
+ },
2549
+ {
2550
+ "name": "etchosts",
2551
+ "hostPath": {
2552
+ "path": "/etc/hosts",
2553
+ "type": ""
2554
+ }
2555
+ },
2556
+ {
2557
+ "name": "iptableslock",
2558
+ "hostPath": {
2559
+ "path": "/run/xtables.lock",
2560
+ "type": "FileOrCreate"
2561
+ }
2562
+ }
2563
+ ],
2564
+ "containers": [
2565
+ {
2566
+ "name": "kube-proxy",
2567
+ "image": "k8s.gcr.io/kube-proxy:v1.10.6",
2568
+ "command": [
2569
+ "/bin/sh",
2570
+ "-c",
2571
+ "mkfifo /tmp/pipe; (tee -a /var/log/kube-proxy.log \u003c /tmp/pipe \u0026 ) ; exec /usr/local/bin/kube-proxy --cluster-cidr=100.96.0.0/11 --conntrack-max-per-core=131072 --hostname-override=generics-aws-node-one --kubeconfig=/var/lib/kube-proxy/kubeconfig --master=https://api.internal.cp-reaper-cluster.k8s.local --oom-score-adj=-998 --resource-container=\"\" --v=2 \u003e /tmp/pipe 2\u003e\u00261"
2572
+ ],
2573
+ "resources": {
2574
+ "requests": {
2575
+ "cpu": "3100m"
2576
+ }
2577
+ },
2578
+ "volumeMounts": [
2579
+ {
2580
+ "name": "kubeconfig",
2581
+ "readOnly": true,
2582
+ "mountPath": "/var/lib/kube-proxy/kubeconfig"
2583
+ },
2584
+ {
2585
+ "name": "logfile",
2586
+ "mountPath": "/var/log/kube-proxy.log"
2587
+ },
2588
+ {
2589
+ "name": "modules",
2590
+ "readOnly": true,
2591
+ "mountPath": "/lib/modules"
2592
+ },
2593
+ {
2594
+ "name": "ssl-certs-hosts",
2595
+ "readOnly": true,
2596
+ "mountPath": "/etc/ssl/certs"
2597
+ },
2598
+ {
2599
+ "name": "etchosts",
2600
+ "readOnly": true,
2601
+ "mountPath": "/etc/hosts"
2602
+ },
2603
+ {
2604
+ "name": "iptableslock",
2605
+ "mountPath": "/run/xtables.lock"
2606
+ }
2607
+ ],
2608
+ "terminationMessagePath": "/dev/termination-log",
2609
+ "terminationMessagePolicy": "File",
2610
+ "imagePullPolicy": "IfNotPresent",
2611
+ "securityContext": {
2612
+ "privileged": true
2613
+ }
2614
+ }
2615
+ ],
2616
+ "restartPolicy": "Always",
2617
+ "terminationGracePeriodSeconds": 30,
2618
+ "dnsPolicy": "ClusterFirst",
2619
+ "nodeName": "generics-aws-node-one",
2620
+ "hostNetwork": true,
2621
+ "securityContext": {
2622
+
2623
+ },
2624
+ "schedulerName": "default-scheduler",
2625
+ "tolerations": [
2626
+ {
2627
+ "key": "CriticalAddonsOnly",
2628
+ "operator": "Exists"
2629
+ },
2630
+ {
2631
+ "operator": "Exists",
2632
+ "effect": "NoExecute"
2633
+ }
2634
+ ]
2635
+ },
2636
+ "status": {
2637
+ "phase": "Running",
2638
+ "conditions": [
2639
+ {
2640
+ "type": "Initialized",
2641
+ "status": "True",
2642
+ "lastProbeTime": null,
2643
+ "lastTransitionTime": "2018-11-02T20:08:36Z"
2644
+ },
2645
+ {
2646
+ "type": "Ready",
2647
+ "status": "True",
2648
+ "lastProbeTime": null,
2649
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
2650
+ },
2651
+ {
2652
+ "type": "PodScheduled",
2653
+ "status": "True",
2654
+ "lastProbeTime": null,
2655
+ "lastTransitionTime": "2018-11-02T20:08:36Z"
2656
+ }
2657
+ ],
2658
+ "hostIP": "172.20.51.244",
2659
+ "podIP": "172.20.51.244",
2660
+ "startTime": "2018-11-02T20:08:36Z",
2661
+ "containerStatuses": [
2662
+ {
2663
+ "name": "kube-proxy",
2664
+ "state": {
2665
+ "running": {
2666
+ "startedAt": "2018-11-02T20:08:45Z"
2667
+ }
2668
+ },
2669
+ "lastState": {
2670
+
2671
+ },
2672
+ "ready": true,
2673
+ "restartCount": 0,
2674
+ "image": "k8s.gcr.io/kube-proxy:v1.10.6",
2675
+ "imageID": "docker-pullable://k8s.gcr.io/kube-proxy@sha256:99a9e5ce663a27603a297981156cef2163cb6eee3a2e4fcf958063ec09a4cfc0",
2676
+ "containerID": "docker://846c43fa06f49d59c51fab32c977dc6300e461d149cbe2338a37d8472516807c"
2677
+ }
2678
+ ],
2679
+ "qosClass": "Burstable"
2680
+ }
2681
+ },
2682
+ {
2683
+ "metadata": {
2684
+ "name": "kube-proxy-generics-aws-node-two",
2685
+ "namespace": "kube-system",
2686
+ "selfLink": "/api/v1/namespaces/kube-system/pods/kube-proxy-generics-aws-node-two",
2687
+ "uid": "4b0002f0-dedb-11e8-afef-02dd29648076",
2688
+ "resourceVersion": "351",
2689
+ "creationTimestamp": "2018-11-02T20:10:07Z",
2690
+ "labels": {
2691
+ "k8s-app": "kube-proxy",
2692
+ "tier": "node"
2693
+ },
2694
+ "annotations": {
2695
+ "kubernetes.io/config.hash": "24e6234536a1003766fb315fd1ed8a3c",
2696
+ "kubernetes.io/config.mirror": "24e6234536a1003766fb315fd1ed8a3c",
2697
+ "kubernetes.io/config.seen": "2018-11-02T20:08:43.192832617Z",
2698
+ "kubernetes.io/config.source": "file",
2699
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
2700
+ }
2701
+ },
2702
+ "spec": {
2703
+ "volumes": [
2704
+ {
2705
+ "name": "kubeconfig",
2706
+ "hostPath": {
2707
+ "path": "/var/lib/kube-proxy/kubeconfig",
2708
+ "type": ""
2709
+ }
2710
+ },
2711
+ {
2712
+ "name": "logfile",
2713
+ "hostPath": {
2714
+ "path": "/var/log/kube-proxy.log",
2715
+ "type": ""
2716
+ }
2717
+ },
2718
+ {
2719
+ "name": "modules",
2720
+ "hostPath": {
2721
+ "path": "/lib/modules",
2722
+ "type": ""
2723
+ }
2724
+ },
2725
+ {
2726
+ "name": "ssl-certs-hosts",
2727
+ "hostPath": {
2728
+ "path": "/usr/share/ca-certificates",
2729
+ "type": ""
2730
+ }
2731
+ },
2732
+ {
2733
+ "name": "etchosts",
2734
+ "hostPath": {
2735
+ "path": "/etc/hosts",
2736
+ "type": ""
2737
+ }
2738
+ },
2739
+ {
2740
+ "name": "iptableslock",
2741
+ "hostPath": {
2742
+ "path": "/run/xtables.lock",
2743
+ "type": "FileOrCreate"
2744
+ }
2745
+ }
2746
+ ],
2747
+ "containers": [
2748
+ {
2749
+ "name": "kube-proxy",
2750
+ "image": "k8s.gcr.io/kube-proxy:v1.10.6",
2751
+ "command": [
2752
+ "/bin/sh",
2753
+ "-c",
2754
+ "mkfifo /tmp/pipe; (tee -a /var/log/kube-proxy.log \u003c /tmp/pipe \u0026 ) ; exec /usr/local/bin/kube-proxy --cluster-cidr=100.96.0.0/11 --conntrack-max-per-core=131072 --hostname-override=generics-aws-node-two --kubeconfig=/var/lib/kube-proxy/kubeconfig --master=https://127.0.0.1 --oom-score-adj=-998 --resource-container=\"\" --v=2 \u003e /tmp/pipe 2\u003e\u00261"
2755
+ ],
2756
+ "resources": {
2757
+ "requests": {
2758
+ "cpu": "3200m"
2759
+ }
2760
+ },
2761
+ "volumeMounts": [
2762
+ {
2763
+ "name": "kubeconfig",
2764
+ "readOnly": true,
2765
+ "mountPath": "/var/lib/kube-proxy/kubeconfig"
2766
+ },
2767
+ {
2768
+ "name": "logfile",
2769
+ "mountPath": "/var/log/kube-proxy.log"
2770
+ },
2771
+ {
2772
+ "name": "modules",
2773
+ "readOnly": true,
2774
+ "mountPath": "/lib/modules"
2775
+ },
2776
+ {
2777
+ "name": "ssl-certs-hosts",
2778
+ "readOnly": true,
2779
+ "mountPath": "/etc/ssl/certs"
2780
+ },
2781
+ {
2782
+ "name": "etchosts",
2783
+ "readOnly": true,
2784
+ "mountPath": "/etc/hosts"
2785
+ },
2786
+ {
2787
+ "name": "iptableslock",
2788
+ "mountPath": "/run/xtables.lock"
2789
+ }
2790
+ ],
2791
+ "terminationMessagePath": "/dev/termination-log",
2792
+ "terminationMessagePolicy": "File",
2793
+ "imagePullPolicy": "IfNotPresent",
2794
+ "securityContext": {
2795
+ "privileged": true
2796
+ }
2797
+ }
2798
+ ],
2799
+ "restartPolicy": "Always",
2800
+ "terminationGracePeriodSeconds": 30,
2801
+ "dnsPolicy": "ClusterFirst",
2802
+ "nodeName": "generics-aws-node-two",
2803
+ "hostNetwork": true,
2804
+ "securityContext": {
2805
+
2806
+ },
2807
+ "schedulerName": "default-scheduler",
2808
+ "tolerations": [
2809
+ {
2810
+ "key": "CriticalAddonsOnly",
2811
+ "operator": "Exists"
2812
+ },
2813
+ {
2814
+ "operator": "Exists",
2815
+ "effect": "NoExecute"
2816
+ }
2817
+ ]
2818
+ },
2819
+ "status": {
2820
+ "phase": "Running",
2821
+ "conditions": [
2822
+ {
2823
+ "type": "Initialized",
2824
+ "status": "True",
2825
+ "lastProbeTime": null,
2826
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
2827
+ },
2828
+ {
2829
+ "type": "Ready",
2830
+ "status": "True",
2831
+ "lastProbeTime": null,
2832
+ "lastTransitionTime": "2018-11-02T20:08:58Z"
2833
+ },
2834
+ {
2835
+ "type": "PodScheduled",
2836
+ "status": "True",
2837
+ "lastProbeTime": null,
2838
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
2839
+ }
2840
+ ],
2841
+ "hostIP": "172.20.57.89",
2842
+ "podIP": "172.20.57.89",
2843
+ "startTime": "2018-11-02T20:08:46Z",
2844
+ "containerStatuses": [
2845
+ {
2846
+ "name": "kube-proxy",
2847
+ "state": {
2848
+ "running": {
2849
+ "startedAt": "2018-11-02T20:08:58Z"
2850
+ }
2851
+ },
2852
+ "lastState": {
2853
+
2854
+ },
2855
+ "ready": true,
2856
+ "restartCount": 0,
2857
+ "image": "k8s.gcr.io/kube-proxy:v1.10.6",
2858
+ "imageID": "docker-pullable://k8s.gcr.io/kube-proxy@sha256:99a9e5ce663a27603a297981156cef2163cb6eee3a2e4fcf958063ec09a4cfc0",
2859
+ "containerID": "docker://1181883487e7c847ec08d10fa1f3932940b1b6bcded1cf564754ba453e9a0601"
2860
+ }
2861
+ ],
2862
+ "qosClass": "Burstable"
2863
+ }
2864
+ },
2865
+ {
2866
+ "metadata": {
2867
+ "name": "kube-proxy-generics-aws-node-three",
2868
+ "namespace": "kube-system",
2869
+ "selfLink": "/api/v1/namespaces/kube-system/pods/kube-proxy-generics-aws-node-three",
2870
+ "uid": "7392494b-dedb-11e8-afef-02dd29648076",
2871
+ "resourceVersion": "459",
2872
+ "creationTimestamp": "2018-11-02T20:11:15Z",
2873
+ "labels": {
2874
+ "k8s-app": "kube-proxy",
2875
+ "tier": "node"
2876
+ },
2877
+ "annotations": {
2878
+ "kubernetes.io/config.hash": "9b9115f0834d6977dabb49d094fac385",
2879
+ "kubernetes.io/config.mirror": "9b9115f0834d6977dabb49d094fac385",
2880
+ "kubernetes.io/config.seen": "2018-11-02T20:08:28.242662238Z",
2881
+ "kubernetes.io/config.source": "file",
2882
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
2883
+ }
2884
+ },
2885
+ "spec": {
2886
+ "volumes": [
2887
+ {
2888
+ "name": "kubeconfig",
2889
+ "hostPath": {
2890
+ "path": "/var/lib/kube-proxy/kubeconfig",
2891
+ "type": ""
2892
+ }
2893
+ },
2894
+ {
2895
+ "name": "logfile",
2896
+ "hostPath": {
2897
+ "path": "/var/log/kube-proxy.log",
2898
+ "type": ""
2899
+ }
2900
+ },
2901
+ {
2902
+ "name": "modules",
2903
+ "hostPath": {
2904
+ "path": "/lib/modules",
2905
+ "type": ""
2906
+ }
2907
+ },
2908
+ {
2909
+ "name": "ssl-certs-hosts",
2910
+ "hostPath": {
2911
+ "path": "/usr/share/ca-certificates",
2912
+ "type": ""
2913
+ }
2914
+ },
2915
+ {
2916
+ "name": "etchosts",
2917
+ "hostPath": {
2918
+ "path": "/etc/hosts",
2919
+ "type": ""
2920
+ }
2921
+ },
2922
+ {
2923
+ "name": "iptableslock",
2924
+ "hostPath": {
2925
+ "path": "/run/xtables.lock",
2926
+ "type": "FileOrCreate"
2927
+ }
2928
+ }
2929
+ ],
2930
+ "containers": [
2931
+ {
2932
+ "name": "kube-proxy",
2933
+ "image": "k8s.gcr.io/kube-proxy:v1.10.6",
2934
+ "command": [
2935
+ "/bin/sh",
2936
+ "-c",
2937
+ "mkfifo /tmp/pipe; (tee -a /var/log/kube-proxy.log \u003c /tmp/pipe \u0026 ) ; exec /usr/local/bin/kube-proxy --cluster-cidr=100.96.0.0/11 --conntrack-max-per-core=131072 --hostname-override=generics-aws-node-three --kubeconfig=/var/lib/kube-proxy/kubeconfig --master=https://api.internal.cp-reaper-cluster.k8s.local --oom-score-adj=-998 --resource-container=\"\" --v=2 \u003e /tmp/pipe 2\u003e\u00261"
2938
+ ],
2939
+ "resources": {
2940
+ "requests": {
2941
+ "cpu": "3300m"
2942
+ }
2943
+ },
2944
+ "volumeMounts": [
2945
+ {
2946
+ "name": "kubeconfig",
2947
+ "readOnly": true,
2948
+ "mountPath": "/var/lib/kube-proxy/kubeconfig"
2949
+ },
2950
+ {
2951
+ "name": "logfile",
2952
+ "mountPath": "/var/log/kube-proxy.log"
2953
+ },
2954
+ {
2955
+ "name": "modules",
2956
+ "readOnly": true,
2957
+ "mountPath": "/lib/modules"
2958
+ },
2959
+ {
2960
+ "name": "ssl-certs-hosts",
2961
+ "readOnly": true,
2962
+ "mountPath": "/etc/ssl/certs"
2963
+ },
2964
+ {
2965
+ "name": "etchosts",
2966
+ "readOnly": true,
2967
+ "mountPath": "/etc/hosts"
2968
+ },
2969
+ {
2970
+ "name": "iptableslock",
2971
+ "mountPath": "/run/xtables.lock"
2972
+ }
2973
+ ],
2974
+ "terminationMessagePath": "/dev/termination-log",
2975
+ "terminationMessagePolicy": "File",
2976
+ "imagePullPolicy": "IfNotPresent",
2977
+ "securityContext": {
2978
+ "privileged": true
2979
+ }
2980
+ }
2981
+ ],
2982
+ "restartPolicy": "Always",
2983
+ "terminationGracePeriodSeconds": 30,
2984
+ "dnsPolicy": "ClusterFirst",
2985
+ "nodeName": "generics-aws-node-three",
2986
+ "hostNetwork": true,
2987
+ "securityContext": {
2988
+
2989
+ },
2990
+ "schedulerName": "default-scheduler",
2991
+ "tolerations": [
2992
+ {
2993
+ "key": "CriticalAddonsOnly",
2994
+ "operator": "Exists"
2995
+ },
2996
+ {
2997
+ "operator": "Exists",
2998
+ "effect": "NoExecute"
2999
+ }
3000
+ ]
3001
+ },
3002
+ "status": {
3003
+ "phase": "Running",
3004
+ "conditions": [
3005
+ {
3006
+ "type": "Initialized",
3007
+ "status": "True",
3008
+ "lastProbeTime": null,
3009
+ "lastTransitionTime": "2018-11-02T20:08:31Z"
3010
+ },
3011
+ {
3012
+ "type": "Ready",
3013
+ "status": "True",
3014
+ "lastProbeTime": null,
3015
+ "lastTransitionTime": "2018-11-02T20:08:41Z"
3016
+ },
3017
+ {
3018
+ "type": "PodScheduled",
3019
+ "status": "True",
3020
+ "lastProbeTime": null,
3021
+ "lastTransitionTime": "2018-11-02T20:08:31Z"
3022
+ }
3023
+ ],
3024
+ "hostIP": "172.20.63.245",
3025
+ "podIP": "172.20.63.245",
3026
+ "startTime": "2018-11-02T20:08:31Z",
3027
+ "containerStatuses": [
3028
+ {
3029
+ "name": "kube-proxy",
3030
+ "state": {
3031
+ "running": {
3032
+ "startedAt": "2018-11-02T20:08:40Z"
3033
+ }
3034
+ },
3035
+ "lastState": {
3036
+
3037
+ },
3038
+ "ready": true,
3039
+ "restartCount": 0,
3040
+ "image": "k8s.gcr.io/kube-proxy:v1.10.6",
3041
+ "imageID": "docker-pullable://k8s.gcr.io/kube-proxy@sha256:99a9e5ce663a27603a297981156cef2163cb6eee3a2e4fcf958063ec09a4cfc0",
3042
+ "containerID": "docker://5770a5141e84030f7d5262f7a249817494fa3034b57f815fcd2cced1e866ac7b"
3043
+ }
3044
+ ],
3045
+ "qosClass": "Burstable"
3046
+ }
3047
+ },
3048
+ {
3049
+ "metadata": {
3050
+ "name": "kube-scheduler-generics-aws-node-two",
3051
+ "namespace": "kube-system",
3052
+ "selfLink": "/api/v1/namespaces/kube-system/pods/kube-scheduler-generics-aws-node-two",
3053
+ "uid": "5a7f6108-dedb-11e8-afef-02dd29648076",
3054
+ "resourceVersion": "408",
3055
+ "creationTimestamp": "2018-11-02T20:10:33Z",
3056
+ "labels": {
3057
+ "k8s-app": "kube-scheduler"
3058
+ },
3059
+ "annotations": {
3060
+ "kubernetes.io/config.hash": "76a4641508128c1971204ecb3dedd60d",
3061
+ "kubernetes.io/config.mirror": "76a4641508128c1971204ecb3dedd60d",
3062
+ "kubernetes.io/config.seen": "2018-11-02T20:08:43.192834719Z",
3063
+ "kubernetes.io/config.source": "file",
3064
+ "scheduler.alpha.kubernetes.io/critical-pod": ""
3065
+ }
3066
+ },
3067
+ "spec": {
3068
+ "volumes": [
3069
+ {
3070
+ "name": "varlibkubescheduler",
3071
+ "hostPath": {
3072
+ "path": "/var/lib/kube-scheduler",
3073
+ "type": ""
3074
+ }
3075
+ },
3076
+ {
3077
+ "name": "logfile",
3078
+ "hostPath": {
3079
+ "path": "/var/log/kube-scheduler.log",
3080
+ "type": ""
3081
+ }
3082
+ }
3083
+ ],
3084
+ "containers": [
3085
+ {
3086
+ "name": "kube-scheduler",
3087
+ "image": "k8s.gcr.io/kube-scheduler:v1.10.6",
3088
+ "command": [
3089
+ "/bin/sh",
3090
+ "-c",
3091
+ "mkfifo /tmp/pipe; (tee -a /var/log/kube-scheduler.log \u003c /tmp/pipe \u0026 ) ; exec /usr/local/bin/kube-scheduler --kubeconfig=/var/lib/kube-scheduler/kubeconfig --leader-elect=true --v=2 \u003e /tmp/pipe 2\u003e\u00261"
3092
+ ],
3093
+ "resources": {
3094
+ "requests": {
3095
+ "cpu": "3400m"
3096
+ }
3097
+ },
3098
+ "volumeMounts": [
3099
+ {
3100
+ "name": "varlibkubescheduler",
3101
+ "readOnly": true,
3102
+ "mountPath": "/var/lib/kube-scheduler"
3103
+ },
3104
+ {
3105
+ "name": "logfile",
3106
+ "mountPath": "/var/log/kube-scheduler.log"
3107
+ }
3108
+ ],
3109
+ "livenessProbe": {
3110
+ "httpGet": {
3111
+ "path": "/healthz",
3112
+ "port": 10251,
3113
+ "host": "127.0.0.1",
3114
+ "scheme": "HTTP"
3115
+ },
3116
+ "initialDelaySeconds": 15,
3117
+ "timeoutSeconds": 15,
3118
+ "periodSeconds": 10,
3119
+ "successThreshold": 1,
3120
+ "failureThreshold": 3
3121
+ },
3122
+ "terminationMessagePath": "/dev/termination-log",
3123
+ "terminationMessagePolicy": "File",
3124
+ "imagePullPolicy": "IfNotPresent"
3125
+ }
3126
+ ],
3127
+ "restartPolicy": "Always",
3128
+ "terminationGracePeriodSeconds": 30,
3129
+ "dnsPolicy": "ClusterFirst",
3130
+ "nodeName": "generics-aws-node-two",
3131
+ "hostNetwork": true,
3132
+ "securityContext": {
3133
+
3134
+ },
3135
+ "schedulerName": "default-scheduler",
3136
+ "tolerations": [
3137
+ {
3138
+ "key": "CriticalAddonsOnly",
3139
+ "operator": "Exists"
3140
+ },
3141
+ {
3142
+ "operator": "Exists",
3143
+ "effect": "NoExecute"
3144
+ }
3145
+ ]
3146
+ },
3147
+ "status": {
3148
+ "phase": "Running",
3149
+ "conditions": [
3150
+ {
3151
+ "type": "Initialized",
3152
+ "status": "True",
3153
+ "lastProbeTime": null,
3154
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
3155
+ },
3156
+ {
3157
+ "type": "Ready",
3158
+ "status": "True",
3159
+ "lastProbeTime": null,
3160
+ "lastTransitionTime": "2018-11-02T20:09:10Z"
3161
+ },
3162
+ {
3163
+ "type": "PodScheduled",
3164
+ "status": "True",
3165
+ "lastProbeTime": null,
3166
+ "lastTransitionTime": "2018-11-02T20:08:46Z"
3167
+ }
3168
+ ],
3169
+ "hostIP": "172.20.57.89",
3170
+ "podIP": "172.20.57.89",
3171
+ "startTime": "2018-11-02T20:08:46Z",
3172
+ "containerStatuses": [
3173
+ {
3174
+ "name": "kube-scheduler",
3175
+ "state": {
3176
+ "running": {
3177
+ "startedAt": "2018-11-02T20:09:10Z"
3178
+ }
3179
+ },
3180
+ "lastState": {
3181
+
3182
+ },
3183
+ "ready": true,
3184
+ "restartCount": 0,
3185
+ "image": "k8s.gcr.io/kube-scheduler:v1.10.6",
3186
+ "imageID": "docker-pullable://k8s.gcr.io/kube-scheduler@sha256:83eb7da923c75ef02fd0f8665b2411d6f3bf5e2df0de35849890c65a3d667d7a",
3187
+ "containerID": "docker://345ef17433754c7ad7fc2e08997c3849f7a0e8a1a91823510d5df3c5cd025349"
3188
+ }
3189
+ ],
3190
+ "qosClass": "Burstable"
3191
+ }
3192
+ },
3193
+ {
3194
+ "metadata": {
3195
+ "name": "metrics-server-85988668bd-wd877",
3196
+ "generateName": "metrics-server-85988668bd-",
3197
+ "namespace": "kube-system",
3198
+ "selfLink": "/api/v1/namespaces/kube-system/pods/metrics-server-85988668bd-wd877",
3199
+ "uid": "70084e01-e20d-11e8-afef-02dd29648076",
3200
+ "resourceVersion": "456300",
3201
+ "creationTimestamp": "2018-11-06T21:46:37Z",
3202
+ "labels": {
3203
+ "k8s-app": "metrics-server",
3204
+ "pod-template-hash": "4154422468"
3205
+ },
3206
+ "ownerReferences": [
3207
+ {
3208
+ "apiVersion": "extensions/v1beta1",
3209
+ "kind": "ReplicaSet",
3210
+ "name": "metrics-server-85988668bd",
3211
+ "uid": "700547e7-e20d-11e8-afef-02dd29648076",
3212
+ "controller": true,
3213
+ "blockOwnerDeletion": true
3214
+ }
3215
+ ]
3216
+ },
3217
+ "spec": {
3218
+ "volumes": [
3219
+ {
3220
+ "name": "tmp-dir",
3221
+ "emptyDir": {
3222
+
3223
+ }
3224
+ },
3225
+ {
3226
+ "name": "metrics-server-token-7zdj2",
3227
+ "secret": {
3228
+ "secretName": "metrics-server-token-7zdj2",
3229
+ "defaultMode": 420
3230
+ }
3231
+ }
3232
+ ],
3233
+ "containers": [
3234
+ {
3235
+ "name": "metrics-server",
3236
+ "image": "k8s.gcr.io/metrics-server-amd64:v0.3.1",
3237
+ "args": [
3238
+ "--kubelet-insecure-tls"
3239
+ ],
3240
+ "resources": {
3241
+
3242
+ },
3243
+ "volumeMounts": [
3244
+ {
3245
+ "name": "tmp-dir",
3246
+ "mountPath": "/tmp"
3247
+ },
3248
+ {
3249
+ "name": "metrics-server-token-7zdj2",
3250
+ "readOnly": true,
3251
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
3252
+ }
3253
+ ],
3254
+ "terminationMessagePath": "/dev/termination-log",
3255
+ "terminationMessagePolicy": "File",
3256
+ "imagePullPolicy": "Always"
3257
+ }
3258
+ ],
3259
+ "restartPolicy": "Always",
3260
+ "terminationGracePeriodSeconds": 30,
3261
+ "dnsPolicy": "ClusterFirst",
3262
+ "serviceAccountName": "metrics-server",
3263
+ "serviceAccount": "metrics-server",
3264
+ "nodeName": "generics-aws-node-one",
3265
+ "securityContext": {
3266
+
3267
+ },
3268
+ "schedulerName": "default-scheduler",
3269
+ "tolerations": [
3270
+ {
3271
+ "key": "node.kubernetes.io/not-ready",
3272
+ "operator": "Exists",
3273
+ "effect": "NoExecute",
3274
+ "tolerationSeconds": 300
3275
+ },
3276
+ {
3277
+ "key": "node.kubernetes.io/unreachable",
3278
+ "operator": "Exists",
3279
+ "effect": "NoExecute",
3280
+ "tolerationSeconds": 300
3281
+ }
3282
+ ]
3283
+ },
3284
+ "status": {
3285
+ "phase": "Running",
3286
+ "conditions": [
3287
+ {
3288
+ "type": "Initialized",
3289
+ "status": "True",
3290
+ "lastProbeTime": null,
3291
+ "lastTransitionTime": "2018-11-06T21:46:37Z"
3292
+ },
3293
+ {
3294
+ "type": "Ready",
3295
+ "status": "True",
3296
+ "lastProbeTime": null,
3297
+ "lastTransitionTime": "2018-11-06T21:46:40Z"
3298
+ },
3299
+ {
3300
+ "type": "PodScheduled",
3301
+ "status": "True",
3302
+ "lastProbeTime": null,
3303
+ "lastTransitionTime": "2018-11-06T21:46:37Z"
3304
+ }
3305
+ ],
3306
+ "hostIP": "172.20.51.244",
3307
+ "podIP": "100.96.1.5",
3308
+ "startTime": "2018-11-06T21:46:37Z",
3309
+ "containerStatuses": [
3310
+ {
3311
+ "name": "metrics-server",
3312
+ "state": {
3313
+ "running": {
3314
+ "startedAt": "2018-11-06T21:46:40Z"
3315
+ }
3316
+ },
3317
+ "lastState": {
3318
+
3319
+ },
3320
+ "ready": true,
3321
+ "restartCount": 0,
3322
+ "image": "k8s.gcr.io/metrics-server-amd64:v0.3.1",
3323
+ "imageID": "docker-pullable://k8s.gcr.io/metrics-server-amd64@sha256:78938f933822856f443e6827fe5b37d6cc2f74ae888ac8b33d06fdbe5f8c658b",
3324
+ "containerID": "docker://31dea52b8cf677542d3f3f8db280f44200b70bc050c9230ae8a1abdc4b60175e"
3325
+ }
3326
+ ],
3327
+ "qosClass": "BestEffort"
3328
+ }
3329
+ },
3330
+ {
3331
+ "metadata": {
3332
+ "name": "tiller-deploy-f9b8476d-87jj6",
3333
+ "generateName": "tiller-deploy-f9b8476d-",
3334
+ "namespace": "kube-system",
3335
+ "selfLink": "/api/v1/namespaces/kube-system/pods/tiller-deploy-f9b8476d-87jj6",
3336
+ "uid": "c49d64fc-e07c-11e8-afef-02dd29648076",
3337
+ "resourceVersion": "232962",
3338
+ "creationTimestamp": "2018-11-04T21:58:31Z",
3339
+ "labels": {
3340
+ "app": "helm",
3341
+ "name": "tiller",
3342
+ "pod-template-hash": "95640328"
3343
+ },
3344
+ "ownerReferences": [
3345
+ {
3346
+ "apiVersion": "extensions/v1beta1",
3347
+ "kind": "ReplicaSet",
3348
+ "name": "tiller-deploy-f9b8476d",
3349
+ "uid": "c49ac87b-e07c-11e8-afef-02dd29648076",
3350
+ "controller": true,
3351
+ "blockOwnerDeletion": true
3352
+ }
3353
+ ]
3354
+ },
3355
+ "spec": {
3356
+ "volumes": [
3357
+ {
3358
+ "name": "default-token-bgtxs",
3359
+ "secret": {
3360
+ "secretName": "default-token-bgtxs",
3361
+ "defaultMode": 420
3362
+ }
3363
+ }
3364
+ ],
3365
+ "containers": [
3366
+ {
3367
+ "name": "tiller",
3368
+ "image": "gcr.io/kubernetes-helm/tiller:v2.9.1",
3369
+ "ports": [
3370
+ {
3371
+ "name": "tiller",
3372
+ "containerPort": 44134,
3373
+ "protocol": "TCP"
3374
+ },
3375
+ {
3376
+ "name": "http",
3377
+ "containerPort": 44135,
3378
+ "protocol": "TCP"
3379
+ }
3380
+ ],
3381
+ "env": [
3382
+ {
3383
+ "name": "TILLER_NAMESPACE",
3384
+ "value": "kube-system"
3385
+ },
3386
+ {
3387
+ "name": "TILLER_HISTORY_MAX",
3388
+ "value": "0"
3389
+ }
3390
+ ],
3391
+ "resources": {
3392
+
3393
+ },
3394
+ "volumeMounts": [
3395
+ {
3396
+ "name": "default-token-bgtxs",
3397
+ "readOnly": true,
3398
+ "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
3399
+ }
3400
+ ],
3401
+ "livenessProbe": {
3402
+ "httpGet": {
3403
+ "path": "/liveness",
3404
+ "port": 44135,
3405
+ "scheme": "HTTP"
3406
+ },
3407
+ "initialDelaySeconds": 1,
3408
+ "timeoutSeconds": 1,
3409
+ "periodSeconds": 10,
3410
+ "successThreshold": 1,
3411
+ "failureThreshold": 3
3412
+ },
3413
+ "readinessProbe": {
3414
+ "httpGet": {
3415
+ "path": "/readiness",
3416
+ "port": 44135,
3417
+ "scheme": "HTTP"
3418
+ },
3419
+ "initialDelaySeconds": 1,
3420
+ "timeoutSeconds": 1,
3421
+ "periodSeconds": 10,
3422
+ "successThreshold": 1,
3423
+ "failureThreshold": 3
3424
+ },
3425
+ "terminationMessagePath": "/dev/termination-log",
3426
+ "terminationMessagePolicy": "File",
3427
+ "imagePullPolicy": "IfNotPresent"
3428
+ }
3429
+ ],
3430
+ "restartPolicy": "Always",
3431
+ "terminationGracePeriodSeconds": 30,
3432
+ "dnsPolicy": "ClusterFirst",
3433
+ "serviceAccountName": "default",
3434
+ "serviceAccount": "default",
3435
+ "nodeName": "generics-aws-node-three",
3436
+ "securityContext": {
3437
+
3438
+ },
3439
+ "schedulerName": "default-scheduler",
3440
+ "tolerations": [
3441
+ {
3442
+ "key": "node.kubernetes.io/not-ready",
3443
+ "operator": "Exists",
3444
+ "effect": "NoExecute",
3445
+ "tolerationSeconds": 300
3446
+ },
3447
+ {
3448
+ "key": "node.kubernetes.io/unreachable",
3449
+ "operator": "Exists",
3450
+ "effect": "NoExecute",
3451
+ "tolerationSeconds": 300
3452
+ }
3453
+ ]
3454
+ },
3455
+ "status": {
3456
+ "phase": "Running",
3457
+ "conditions": [
3458
+ {
3459
+ "type": "Initialized",
3460
+ "status": "True",
3461
+ "lastProbeTime": null,
3462
+ "lastTransitionTime": "2018-11-04T21:58:31Z"
3463
+ },
3464
+ {
3465
+ "type": "Ready",
3466
+ "status": "True",
3467
+ "lastProbeTime": null,
3468
+ "lastTransitionTime": "2018-11-04T21:58:36Z"
3469
+ },
3470
+ {
3471
+ "type": "PodScheduled",
3472
+ "status": "True",
3473
+ "lastProbeTime": null,
3474
+ "lastTransitionTime": "2018-11-04T21:58:31Z"
3475
+ }
3476
+ ],
3477
+ "hostIP": "172.20.63.245",
3478
+ "podIP": "100.96.2.3",
3479
+ "startTime": "2018-11-04T21:58:31Z",
3480
+ "containerStatuses": [
3481
+ {
3482
+ "name": "tiller",
3483
+ "state": {
3484
+ "running": {
3485
+ "startedAt": "2018-11-04T21:58:34Z"
3486
+ }
3487
+ },
3488
+ "lastState": {
3489
+
3490
+ },
3491
+ "ready": true,
3492
+ "restartCount": 0,
3493
+ "image": "gcr.io/kubernetes-helm/tiller:v2.9.1",
3494
+ "imageID": "docker-pullable://gcr.io/kubernetes-helm/tiller@sha256:417aae19a0709075df9cc87e2fcac599b39d8f73ac95e668d9627fec9d341af2",
3495
+ "containerID": "docker://3e34a8aea05e0a1c685311b63052ea0b86ef9e833236be6a475fa71d2e2db75f"
3496
+ }
3497
+ ],
3498
+ "qosClass": "BestEffort"
3499
+ }
3500
+ }
3501
+ ]
3502
+ }