rhea 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +165 -2
- data/app/assets/javascripts/rhea/application.js +2 -0
- data/app/assets/javascripts/rhea/main.js +3 -0
- data/app/assets/javascripts/vendor/jquery-1.11.3.js +10351 -0
- data/app/assets/stylesheets/rhea/application.css.sass +1 -0
- data/app/assets/stylesheets/rhea/layout.css.sass +31 -0
- data/app/controllers/rhea/base_controller.rb +26 -0
- data/app/controllers/rhea/commands_controller.rb +168 -0
- data/app/controllers/rhea/events_controller.rb +8 -0
- data/app/controllers/rhea/nodes_controller.rb +7 -0
- data/app/controllers/rhea/system_services_controller.rb +7 -0
- data/app/helpers/rhea/helper.rb +42 -0
- data/app/views/rhea/command_types/_list.html.haml +5 -0
- data/app/views/rhea/commands/_form.html.haml +22 -0
- data/app/views/rhea/commands/_table.html.haml +51 -0
- data/app/views/rhea/commands/index.html.haml +51 -0
- data/app/views/rhea/errors/index.html.haml +2 -0
- data/app/views/rhea/events/index.html.haml +24 -0
- data/app/views/rhea/layouts/application.html.haml +35 -0
- data/app/views/rhea/nodes/index.html.haml +29 -0
- data/app/views/rhea/system_services/index.html.haml +2 -0
- data/config/routes.rb +21 -0
- data/docs/commands.gif +0 -0
- data/docs/commands.mov +0 -0
- data/docs/events.png +0 -0
- data/docs/logo.png +0 -0
- data/docs/nodes.png +0 -0
- data/fixtures/vcr_cassettes/Rhea_Kubernetes_Commands_All/_perform/an_existing_rc/returns_the_rc.yml +197 -0
- data/fixtures/vcr_cassettes/Rhea_Kubernetes_Commands_Delete/_perform/an_existing_rc/deletes_the_rc.yml +163 -0
- data/fixtures/vcr_cassettes/Rhea_Kubernetes_Commands_Export/_perform/an_existing_rc/returns_the_data.yml +197 -0
- data/fixtures/vcr_cassettes/Rhea_Kubernetes_Commands_Get/_perform/an_existing_rc/gets_the_rc.yml +196 -0
- data/fixtures/vcr_cassettes/Rhea_Kubernetes_Commands_Import/_perform/no_existing_rcs/creates_the_rcs.yml +197 -0
- data/fixtures/vcr_cassettes/Rhea_Kubernetes_Commands_Redeploy/_perform/an_existing_rc/redeploys_the_rc.yml +424 -0
- data/fixtures/vcr_cassettes/Rhea_Kubernetes_Commands_Reschedule/_perform/an_existing_rc/reschedules_the_rc.yml +421 -0
- data/fixtures/vcr_cassettes/Rhea_Kubernetes_Commands_Scale/_perform/no_existing_rc/creates_an_rc.yml +165 -0
- data/lib/rhea.rb +15 -1
- data/lib/rhea/command.rb +35 -0
- data/lib/rhea/command_type.rb +35 -0
- data/lib/rhea/engine.rb +16 -0
- data/lib/rhea/kubernetes.rb +5 -0
- data/lib/rhea/kubernetes/api.rb +15 -0
- data/lib/rhea/kubernetes/commands/all.rb +16 -0
- data/lib/rhea/kubernetes/commands/base.rb +28 -0
- data/lib/rhea/kubernetes/commands/delete.rb +18 -0
- data/lib/rhea/kubernetes/commands/export.rb +23 -0
- data/lib/rhea/kubernetes/commands/get.rb +18 -0
- data/lib/rhea/kubernetes/commands/import.rb +20 -0
- data/lib/rhea/kubernetes/commands/redeploy.rb +22 -0
- data/lib/rhea/kubernetes/commands/reschedule.rb +21 -0
- data/lib/rhea/kubernetes/commands/scale.rb +108 -0
- data/lib/rhea/kubernetes/configuration.rb +30 -0
- data/lib/rhea/kubernetes/events/recent.rb +23 -0
- data/lib/rhea/kubernetes/nodes/all.rb +45 -0
- data/lib/rhea/kubernetes/system_services.rb +22 -0
- data/lib/rhea/version.rb +1 -1
- data/rhea.gemspec +11 -3
- data/spec/lib/rhea/kubernetes/commands/all_spec.rb +29 -0
- data/spec/lib/rhea/kubernetes/commands/delete_spec.rb +22 -0
- data/spec/lib/rhea/kubernetes/commands/export_spec.rb +31 -0
- data/spec/lib/rhea/kubernetes/commands/get_spec.rb +28 -0
- data/spec/lib/rhea/kubernetes/commands/import_spec.rb +39 -0
- data/spec/lib/rhea/kubernetes/commands/redeploy_spec.rb +35 -0
- data/spec/lib/rhea/kubernetes/commands/reschedule_spec.rb +32 -0
- data/spec/lib/rhea/kubernetes/commands/scale_spec.rb +31 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/support/kubernetes_spec_helper.rb +43 -0
- data/spec/support/vcr.rb +9 -0
- metadata +170 -11
@@ -0,0 +1,424 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Content-Type:
|
22
|
+
- application/json
|
23
|
+
Date:
|
24
|
+
- Fri, 13 Nov 2015 19:33:30 GMT
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
body:
|
28
|
+
encoding: UTF-8
|
29
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"449"},"items":[{"metadata":{"name":"kube-dns-v8","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/kube-dns-v8","uid":"409e28ff-8a3c-11e5-a943-0800279dd272","resourceVersion":"35","generation":1,"creationTimestamp":"2015-11-13T19:25:09Z","labels":{"k8s-app":"kube-dns","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"replicas":1,"selector":{"k8s-app":"kube-dns","version":"v8"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"kube-dns","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"volumes":[{"name":"etcd-storage","emptyDir":{}}],"containers":[{"name":"etcd","image":"gcr.io/google_containers/etcd:2.0.9","command":["/usr/local/bin/etcd","-data-dir","/var/etcd/data","-listen-client-urls","http://127.0.0.1:2379,http://127.0.0.1:4001","-advertise-client-urls","http://127.0.0.1:2379,http://127.0.0.1:4001","-initial-cluster-token","skydns-etcd"],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"volumeMounts":[{"name":"etcd-storage","mountPath":"/var/etcd/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"kube2sky","image":"gcr.io/google_containers/kube2sky:1.11","args":["-domain=cluster.local"],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"skydns","image":"gcr.io/google_containers/skydns:2015-03-11-001","args":["-machines=http://localhost:4001","-addr=0.0.0.0:53","-domain=cluster.local."],"ports":[{"name":"dns","containerPort":53,"protocol":"UDP"},{"name":"dns-tcp","containerPort":53,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"livenessProbe":{"httpGet":{"path":"/healthz","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":5},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"healthz","image":"gcr.io/google_containers/exechealthz:1.0","args":["-cmd=nslookup
|
30
|
+
kubernetes.default.svc.cluster.local localhost \u003e/dev/null","-port=8080"],"ports":[{"containerPort":8080,"protocol":"TCP"}],"resources":{"limits":{"cpu":"10m","memory":"20Mi"},"requests":{"cpu":"10m","memory":"20Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"Default"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"kube-ui-v1","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/kube-ui-v1","uid":"414dfc83-8a3c-11e5-a943-0800279dd272","resourceVersion":"53","generation":1,"creationTimestamp":"2015-11-13T19:25:10Z","labels":{"k8s-app":"kube-ui","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"replicas":1,"selector":{"k8s-app":"kube-ui","version":"v1"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"kube-ui","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"containers":[{"name":"kube-ui","image":"gcr.io/google_containers/kube-ui:v1.1","ports":[{"containerPort":8080,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":5},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"monitoring-heapster-v8","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/monitoring-heapster-v8","uid":"41474314-8a3c-11e5-a943-0800279dd272","resourceVersion":"47","generation":1,"creationTimestamp":"2015-11-13T19:25:10Z","labels":{"k8s-app":"heapster","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"replicas":1,"selector":{"k8s-app":"heapster","version":"v8"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"heapster","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"containers":[{"name":"heapster","image":"gcr.io/google_containers/heapster:v0.17.0","command":["/heapster","--source=kubernetes:''''","--sink=influxdb:http://monitoring-influxdb:8086"],"resources":{"limits":{"cpu":"100m","memory":"300Mi"},"requests":{"cpu":"100m","memory":"300Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"monitoring-influx-grafana-v1","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/monitoring-influx-grafana-v1","uid":"413de8e7-8a3c-11e5-a943-0800279dd272","resourceVersion":"64","generation":1,"creationTimestamp":"2015-11-13T19:25:10Z","labels":{"k8s-app":"influxGrafana","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"replicas":1,"selector":{"k8s-app":"influxGrafana","version":"v1"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"influxGrafana","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"volumes":[{"name":"influxdb-persistent-storage","emptyDir":{}}],"containers":[{"name":"influxdb","image":"gcr.io/google_containers/heapster_influxdb:v0.3","ports":[{"hostPort":8083,"containerPort":8083,"protocol":"TCP"},{"hostPort":8086,"containerPort":8086,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"200Mi"},"requests":{"cpu":"100m","memory":"200Mi"}},"volumeMounts":[{"name":"influxdb-persistent-storage","mountPath":"/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"grafana","image":"gcr.io/google_containers/heapster_grafana:v0.7","env":[{"name":"INFLUXDB_EXTERNAL_URL","value":"/api/v1/proxy/namespaces/kube-system/services/monitoring-influxdb:api/db/"},{"name":"INFLUXDB_HOST","value":"monitoring-influxdb"},{"name":"INFLUXDB_PORT","value":"8086"}],"resources":{"limits":{"cpu":"100m","memory":"100Mi"},"requests":{"cpu":"100m","memory":"100Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}}]}'
|
31
|
+
http_version:
|
32
|
+
recorded_at: Fri, 13 Nov 2015 19:33:30 GMT
|
33
|
+
- request:
|
34
|
+
method: get
|
35
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
36
|
+
body:
|
37
|
+
encoding: US-ASCII
|
38
|
+
string: ''
|
39
|
+
headers:
|
40
|
+
Accept:
|
41
|
+
- "*/*; q=0.5, application/xml"
|
42
|
+
Accept-Encoding:
|
43
|
+
- gzip, deflate
|
44
|
+
User-Agent:
|
45
|
+
- Ruby
|
46
|
+
response:
|
47
|
+
status:
|
48
|
+
code: 200
|
49
|
+
message: OK
|
50
|
+
headers:
|
51
|
+
Content-Type:
|
52
|
+
- application/json
|
53
|
+
Date:
|
54
|
+
- Fri, 13 Nov 2015 19:33:35 GMT
|
55
|
+
Content-Length:
|
56
|
+
- '146'
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"449"},"items":[]}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Fri, 13 Nov 2015 19:33:35 GMT
|
62
|
+
- request:
|
63
|
+
method: post
|
64
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/namespaces/default/replicationcontrollers
|
65
|
+
body:
|
66
|
+
encoding: UTF-8
|
67
|
+
string: '{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
68
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
69
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"command":["foo","-bar"]}]}}},"kind":"ReplicationController","apiVersion":"v1"}'
|
70
|
+
headers:
|
71
|
+
Accept:
|
72
|
+
- "*/*; q=0.5, application/xml"
|
73
|
+
Accept-Encoding:
|
74
|
+
- gzip, deflate
|
75
|
+
Content-Length:
|
76
|
+
- '538'
|
77
|
+
User-Agent:
|
78
|
+
- Ruby
|
79
|
+
response:
|
80
|
+
status:
|
81
|
+
code: 201
|
82
|
+
message: Created
|
83
|
+
headers:
|
84
|
+
Content-Type:
|
85
|
+
- application/json
|
86
|
+
Date:
|
87
|
+
- Fri, 13 Nov 2015 19:33:40 GMT
|
88
|
+
Content-Length:
|
89
|
+
- '972'
|
90
|
+
body:
|
91
|
+
encoding: UTF-8
|
92
|
+
string: '{"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"71aa4471-8a3d-11e5-a943-0800279dd272","resourceVersion":"456","generation":1,"creationTimestamp":"2015-11-13T19:33:40Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
93
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
94
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":0}}'
|
95
|
+
http_version:
|
96
|
+
recorded_at: Fri, 13 Nov 2015 19:33:40 GMT
|
97
|
+
- request:
|
98
|
+
method: get
|
99
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
100
|
+
body:
|
101
|
+
encoding: US-ASCII
|
102
|
+
string: ''
|
103
|
+
headers:
|
104
|
+
Accept:
|
105
|
+
- "*/*; q=0.5, application/xml"
|
106
|
+
Accept-Encoding:
|
107
|
+
- gzip, deflate
|
108
|
+
User-Agent:
|
109
|
+
- Ruby
|
110
|
+
response:
|
111
|
+
status:
|
112
|
+
code: 200
|
113
|
+
message: OK
|
114
|
+
headers:
|
115
|
+
Content-Type:
|
116
|
+
- application/json
|
117
|
+
Date:
|
118
|
+
- Fri, 13 Nov 2015 19:33:46 GMT
|
119
|
+
Content-Length:
|
120
|
+
- '1092'
|
121
|
+
body:
|
122
|
+
encoding: UTF-8
|
123
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"464"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"71aa4471-8a3d-11e5-a943-0800279dd272","resourceVersion":"461","generation":1,"creationTimestamp":"2015-11-13T19:33:40Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
124
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
125
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}]}'
|
126
|
+
http_version:
|
127
|
+
recorded_at: Fri, 13 Nov 2015 19:33:46 GMT
|
128
|
+
- request:
|
129
|
+
method: get
|
130
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
131
|
+
body:
|
132
|
+
encoding: US-ASCII
|
133
|
+
string: ''
|
134
|
+
headers:
|
135
|
+
Accept:
|
136
|
+
- "*/*; q=0.5, application/xml"
|
137
|
+
Accept-Encoding:
|
138
|
+
- gzip, deflate
|
139
|
+
User-Agent:
|
140
|
+
- Ruby
|
141
|
+
response:
|
142
|
+
status:
|
143
|
+
code: 200
|
144
|
+
message: OK
|
145
|
+
headers:
|
146
|
+
Content-Type:
|
147
|
+
- application/json
|
148
|
+
Date:
|
149
|
+
- Fri, 13 Nov 2015 19:33:51 GMT
|
150
|
+
Content-Length:
|
151
|
+
- '1092'
|
152
|
+
body:
|
153
|
+
encoding: UTF-8
|
154
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"464"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"71aa4471-8a3d-11e5-a943-0800279dd272","resourceVersion":"461","generation":1,"creationTimestamp":"2015-11-13T19:33:40Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
155
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
156
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}]}'
|
157
|
+
http_version:
|
158
|
+
recorded_at: Fri, 13 Nov 2015 19:33:51 GMT
|
159
|
+
- request:
|
160
|
+
method: get
|
161
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
162
|
+
body:
|
163
|
+
encoding: US-ASCII
|
164
|
+
string: ''
|
165
|
+
headers:
|
166
|
+
Accept:
|
167
|
+
- "*/*; q=0.5, application/xml"
|
168
|
+
Accept-Encoding:
|
169
|
+
- gzip, deflate
|
170
|
+
User-Agent:
|
171
|
+
- Ruby
|
172
|
+
response:
|
173
|
+
status:
|
174
|
+
code: 200
|
175
|
+
message: OK
|
176
|
+
headers:
|
177
|
+
Content-Type:
|
178
|
+
- application/json
|
179
|
+
Date:
|
180
|
+
- Fri, 13 Nov 2015 19:33:56 GMT
|
181
|
+
Content-Length:
|
182
|
+
- '1092'
|
183
|
+
body:
|
184
|
+
encoding: UTF-8
|
185
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"471"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"71aa4471-8a3d-11e5-a943-0800279dd272","resourceVersion":"461","generation":1,"creationTimestamp":"2015-11-13T19:33:40Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
186
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
187
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}]}'
|
188
|
+
http_version:
|
189
|
+
recorded_at: Fri, 13 Nov 2015 19:33:56 GMT
|
190
|
+
- request:
|
191
|
+
method: put
|
192
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar
|
193
|
+
body:
|
194
|
+
encoding: UTF-8
|
195
|
+
string: '{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"71aa4471-8a3d-11e5-a943-0800279dd272","resourceVersion":"461","generation":1,"creationTimestamp":"2015-11-13T19:33:40Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
196
|
+
-bar"}},"spec":{"replicas":0,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
197
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}'
|
198
|
+
headers:
|
199
|
+
Accept:
|
200
|
+
- "*/*; q=0.5, application/xml"
|
201
|
+
Accept-Encoding:
|
202
|
+
- gzip, deflate
|
203
|
+
Content-Length:
|
204
|
+
- '946'
|
205
|
+
User-Agent:
|
206
|
+
- Ruby
|
207
|
+
response:
|
208
|
+
status:
|
209
|
+
code: 200
|
210
|
+
message: OK
|
211
|
+
headers:
|
212
|
+
Content-Type:
|
213
|
+
- application/json
|
214
|
+
Date:
|
215
|
+
- Fri, 13 Nov 2015 19:34:01 GMT
|
216
|
+
Content-Length:
|
217
|
+
- '995'
|
218
|
+
body:
|
219
|
+
encoding: UTF-8
|
220
|
+
string: '{"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"71aa4471-8a3d-11e5-a943-0800279dd272","resourceVersion":"474","generation":2,"creationTimestamp":"2015-11-13T19:33:40Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
221
|
+
-bar"}},"spec":{"replicas":0,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
222
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}'
|
223
|
+
http_version:
|
224
|
+
recorded_at: Fri, 13 Nov 2015 19:34:01 GMT
|
225
|
+
- request:
|
226
|
+
method: delete
|
227
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar
|
228
|
+
body:
|
229
|
+
encoding: US-ASCII
|
230
|
+
string: ''
|
231
|
+
headers:
|
232
|
+
Accept:
|
233
|
+
- "*/*; q=0.5, application/xml"
|
234
|
+
Accept-Encoding:
|
235
|
+
- gzip, deflate
|
236
|
+
User-Agent:
|
237
|
+
- Ruby
|
238
|
+
response:
|
239
|
+
status:
|
240
|
+
code: 200
|
241
|
+
message: OK
|
242
|
+
headers:
|
243
|
+
Content-Type:
|
244
|
+
- application/json
|
245
|
+
Date:
|
246
|
+
- Fri, 13 Nov 2015 19:34:06 GMT
|
247
|
+
Content-Length:
|
248
|
+
- '100'
|
249
|
+
body:
|
250
|
+
encoding: UTF-8
|
251
|
+
string: |-
|
252
|
+
{
|
253
|
+
"kind": "Status",
|
254
|
+
"apiVersion": "v1",
|
255
|
+
"metadata": {},
|
256
|
+
"status": "Success",
|
257
|
+
"code": 200
|
258
|
+
}
|
259
|
+
http_version:
|
260
|
+
recorded_at: Fri, 13 Nov 2015 19:34:06 GMT
|
261
|
+
- request:
|
262
|
+
method: get
|
263
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
264
|
+
body:
|
265
|
+
encoding: US-ASCII
|
266
|
+
string: ''
|
267
|
+
headers:
|
268
|
+
Accept:
|
269
|
+
- "*/*; q=0.5, application/xml"
|
270
|
+
Accept-Encoding:
|
271
|
+
- gzip, deflate
|
272
|
+
User-Agent:
|
273
|
+
- Ruby
|
274
|
+
response:
|
275
|
+
status:
|
276
|
+
code: 200
|
277
|
+
message: OK
|
278
|
+
headers:
|
279
|
+
Content-Type:
|
280
|
+
- application/json
|
281
|
+
Date:
|
282
|
+
- Fri, 13 Nov 2015 19:34:11 GMT
|
283
|
+
Content-Length:
|
284
|
+
- '146'
|
285
|
+
body:
|
286
|
+
encoding: UTF-8
|
287
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"482"},"items":[]}'
|
288
|
+
http_version:
|
289
|
+
recorded_at: Fri, 13 Nov 2015 19:34:11 GMT
|
290
|
+
- request:
|
291
|
+
method: post
|
292
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/namespaces/default/replicationcontrollers
|
293
|
+
body:
|
294
|
+
encoding: UTF-8
|
295
|
+
string: '{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
296
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
297
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"command":["foo","-bar"]}]}}},"kind":"ReplicationController","apiVersion":"v1"}'
|
298
|
+
headers:
|
299
|
+
Accept:
|
300
|
+
- "*/*; q=0.5, application/xml"
|
301
|
+
Accept-Encoding:
|
302
|
+
- gzip, deflate
|
303
|
+
Content-Length:
|
304
|
+
- '538'
|
305
|
+
User-Agent:
|
306
|
+
- Ruby
|
307
|
+
response:
|
308
|
+
status:
|
309
|
+
code: 201
|
310
|
+
message: Created
|
311
|
+
headers:
|
312
|
+
Content-Type:
|
313
|
+
- application/json
|
314
|
+
Date:
|
315
|
+
- Fri, 13 Nov 2015 19:34:16 GMT
|
316
|
+
Content-Length:
|
317
|
+
- '972'
|
318
|
+
body:
|
319
|
+
encoding: UTF-8
|
320
|
+
string: '{"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"86d951c8-8a3d-11e5-a943-0800279dd272","resourceVersion":"494","generation":1,"creationTimestamp":"2015-11-13T19:34:16Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
321
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
322
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":0}}'
|
323
|
+
http_version:
|
324
|
+
recorded_at: Fri, 13 Nov 2015 19:34:16 GMT
|
325
|
+
- request:
|
326
|
+
method: get
|
327
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
328
|
+
body:
|
329
|
+
encoding: US-ASCII
|
330
|
+
string: ''
|
331
|
+
headers:
|
332
|
+
Accept:
|
333
|
+
- "*/*; q=0.5, application/xml"
|
334
|
+
Accept-Encoding:
|
335
|
+
- gzip, deflate
|
336
|
+
User-Agent:
|
337
|
+
- Ruby
|
338
|
+
response:
|
339
|
+
status:
|
340
|
+
code: 200
|
341
|
+
message: OK
|
342
|
+
headers:
|
343
|
+
Content-Type:
|
344
|
+
- application/json
|
345
|
+
Date:
|
346
|
+
- Fri, 13 Nov 2015 19:34:21 GMT
|
347
|
+
Content-Length:
|
348
|
+
- '1092'
|
349
|
+
body:
|
350
|
+
encoding: UTF-8
|
351
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"519"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"86d951c8-8a3d-11e5-a943-0800279dd272","resourceVersion":"506","generation":1,"creationTimestamp":"2015-11-13T19:34:16Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
352
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
353
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}]}'
|
354
|
+
http_version:
|
355
|
+
recorded_at: Fri, 13 Nov 2015 19:34:21 GMT
|
356
|
+
- request:
|
357
|
+
method: get
|
358
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers
|
359
|
+
body:
|
360
|
+
encoding: US-ASCII
|
361
|
+
string: ''
|
362
|
+
headers:
|
363
|
+
Accept:
|
364
|
+
- "*/*; q=0.5, application/xml"
|
365
|
+
Accept-Encoding:
|
366
|
+
- gzip, deflate
|
367
|
+
User-Agent:
|
368
|
+
- Ruby
|
369
|
+
response:
|
370
|
+
status:
|
371
|
+
code: 200
|
372
|
+
message: OK
|
373
|
+
headers:
|
374
|
+
Content-Type:
|
375
|
+
- application/json
|
376
|
+
Date:
|
377
|
+
- Fri, 13 Nov 2015 19:34:26 GMT
|
378
|
+
Transfer-Encoding:
|
379
|
+
- chunked
|
380
|
+
body:
|
381
|
+
encoding: UTF-8
|
382
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"520"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"86d951c8-8a3d-11e5-a943-0800279dd272","resourceVersion":"506","generation":1,"creationTimestamp":"2015-11-13T19:34:16Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
383
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
384
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}},{"metadata":{"name":"kube-dns-v8","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/kube-dns-v8","uid":"409e28ff-8a3c-11e5-a943-0800279dd272","resourceVersion":"35","generation":1,"creationTimestamp":"2015-11-13T19:25:09Z","labels":{"k8s-app":"kube-dns","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"replicas":1,"selector":{"k8s-app":"kube-dns","version":"v8"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"kube-dns","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"volumes":[{"name":"etcd-storage","emptyDir":{}}],"containers":[{"name":"etcd","image":"gcr.io/google_containers/etcd:2.0.9","command":["/usr/local/bin/etcd","-data-dir","/var/etcd/data","-listen-client-urls","http://127.0.0.1:2379,http://127.0.0.1:4001","-advertise-client-urls","http://127.0.0.1:2379,http://127.0.0.1:4001","-initial-cluster-token","skydns-etcd"],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"volumeMounts":[{"name":"etcd-storage","mountPath":"/var/etcd/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"kube2sky","image":"gcr.io/google_containers/kube2sky:1.11","args":["-domain=cluster.local"],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"skydns","image":"gcr.io/google_containers/skydns:2015-03-11-001","args":["-machines=http://localhost:4001","-addr=0.0.0.0:53","-domain=cluster.local."],"ports":[{"name":"dns","containerPort":53,"protocol":"UDP"},{"name":"dns-tcp","containerPort":53,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"livenessProbe":{"httpGet":{"path":"/healthz","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":5},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"healthz","image":"gcr.io/google_containers/exechealthz:1.0","args":["-cmd=nslookup
|
385
|
+
kubernetes.default.svc.cluster.local localhost \u003e/dev/null","-port=8080"],"ports":[{"containerPort":8080,"protocol":"TCP"}],"resources":{"limits":{"cpu":"10m","memory":"20Mi"},"requests":{"cpu":"10m","memory":"20Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"Default"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"kube-ui-v1","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/kube-ui-v1","uid":"414dfc83-8a3c-11e5-a943-0800279dd272","resourceVersion":"53","generation":1,"creationTimestamp":"2015-11-13T19:25:10Z","labels":{"k8s-app":"kube-ui","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"replicas":1,"selector":{"k8s-app":"kube-ui","version":"v1"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"kube-ui","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"containers":[{"name":"kube-ui","image":"gcr.io/google_containers/kube-ui:v1.1","ports":[{"containerPort":8080,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":5},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"monitoring-heapster-v8","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/monitoring-heapster-v8","uid":"41474314-8a3c-11e5-a943-0800279dd272","resourceVersion":"47","generation":1,"creationTimestamp":"2015-11-13T19:25:10Z","labels":{"k8s-app":"heapster","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"replicas":1,"selector":{"k8s-app":"heapster","version":"v8"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"heapster","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"containers":[{"name":"heapster","image":"gcr.io/google_containers/heapster:v0.17.0","command":["/heapster","--source=kubernetes:''''","--sink=influxdb:http://monitoring-influxdb:8086"],"resources":{"limits":{"cpu":"100m","memory":"300Mi"},"requests":{"cpu":"100m","memory":"300Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"monitoring-influx-grafana-v1","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/monitoring-influx-grafana-v1","uid":"413de8e7-8a3c-11e5-a943-0800279dd272","resourceVersion":"64","generation":1,"creationTimestamp":"2015-11-13T19:25:10Z","labels":{"k8s-app":"influxGrafana","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"replicas":1,"selector":{"k8s-app":"influxGrafana","version":"v1"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"influxGrafana","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"volumes":[{"name":"influxdb-persistent-storage","emptyDir":{}}],"containers":[{"name":"influxdb","image":"gcr.io/google_containers/heapster_influxdb:v0.3","ports":[{"hostPort":8083,"containerPort":8083,"protocol":"TCP"},{"hostPort":8086,"containerPort":8086,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"200Mi"},"requests":{"cpu":"100m","memory":"200Mi"}},"volumeMounts":[{"name":"influxdb-persistent-storage","mountPath":"/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"grafana","image":"gcr.io/google_containers/heapster_grafana:v0.7","env":[{"name":"INFLUXDB_EXTERNAL_URL","value":"/api/v1/proxy/namespaces/kube-system/services/monitoring-influxdb:api/db/"},{"name":"INFLUXDB_HOST","value":"monitoring-influxdb"},{"name":"INFLUXDB_PORT","value":"8086"}],"resources":{"limits":{"cpu":"100m","memory":"100Mi"},"requests":{"cpu":"100m","memory":"100Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}}]}'
|
386
|
+
http_version:
|
387
|
+
recorded_at: Fri, 13 Nov 2015 19:34:26 GMT
|
388
|
+
- request:
|
389
|
+
method: delete
|
390
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar
|
391
|
+
body:
|
392
|
+
encoding: US-ASCII
|
393
|
+
string: ''
|
394
|
+
headers:
|
395
|
+
Accept:
|
396
|
+
- "*/*; q=0.5, application/xml"
|
397
|
+
Accept-Encoding:
|
398
|
+
- gzip, deflate
|
399
|
+
User-Agent:
|
400
|
+
- Ruby
|
401
|
+
response:
|
402
|
+
status:
|
403
|
+
code: 200
|
404
|
+
message: OK
|
405
|
+
headers:
|
406
|
+
Content-Type:
|
407
|
+
- application/json
|
408
|
+
Date:
|
409
|
+
- Fri, 13 Nov 2015 19:34:31 GMT
|
410
|
+
Content-Length:
|
411
|
+
- '100'
|
412
|
+
body:
|
413
|
+
encoding: UTF-8
|
414
|
+
string: |-
|
415
|
+
{
|
416
|
+
"kind": "Status",
|
417
|
+
"apiVersion": "v1",
|
418
|
+
"metadata": {},
|
419
|
+
"status": "Success",
|
420
|
+
"code": 200
|
421
|
+
}
|
422
|
+
http_version:
|
423
|
+
recorded_at: Fri, 13 Nov 2015 19:34:31 GMT
|
424
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,421 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Content-Type:
|
22
|
+
- application/json
|
23
|
+
Date:
|
24
|
+
- Mon, 23 Nov 2015 16:30:57 GMT
|
25
|
+
Transfer-Encoding:
|
26
|
+
- chunked
|
27
|
+
body:
|
28
|
+
encoding: UTF-8
|
29
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"283"},"items":[{"metadata":{"name":"kube-dns-v8","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/kube-dns-v8","uid":"8bc02097-91fd-11e5-8ad9-0800279dd272","resourceVersion":"65","generation":1,"creationTimestamp":"2015-11-23T16:16:26Z","labels":{"k8s-app":"kube-dns","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"replicas":1,"selector":{"k8s-app":"kube-dns","version":"v8"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"kube-dns","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"volumes":[{"name":"etcd-storage","emptyDir":{}}],"containers":[{"name":"etcd","image":"gcr.io/google_containers/etcd:2.0.9","command":["/usr/local/bin/etcd","-data-dir","/var/etcd/data","-listen-client-urls","http://127.0.0.1:2379,http://127.0.0.1:4001","-advertise-client-urls","http://127.0.0.1:2379,http://127.0.0.1:4001","-initial-cluster-token","skydns-etcd"],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"volumeMounts":[{"name":"etcd-storage","mountPath":"/var/etcd/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"kube2sky","image":"gcr.io/google_containers/kube2sky:1.11","args":["-domain=cluster.local"],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"skydns","image":"gcr.io/google_containers/skydns:2015-03-11-001","args":["-machines=http://localhost:4001","-addr=0.0.0.0:53","-domain=cluster.local."],"ports":[{"name":"dns","containerPort":53,"protocol":"UDP"},{"name":"dns-tcp","containerPort":53,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"livenessProbe":{"httpGet":{"path":"/healthz","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":5},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"healthz","image":"gcr.io/google_containers/exechealthz:1.0","args":["-cmd=nslookup
|
30
|
+
kubernetes.default.svc.cluster.local localhost \u003e/dev/null","-port=8080"],"ports":[{"containerPort":8080,"protocol":"TCP"}],"resources":{"limits":{"cpu":"10m","memory":"20Mi"},"requests":{"cpu":"10m","memory":"20Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"Default"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"kube-ui-v1","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/kube-ui-v1","uid":"8baf3f15-91fd-11e5-8ad9-0800279dd272","resourceVersion":"59","generation":1,"creationTimestamp":"2015-11-23T16:16:26Z","labels":{"k8s-app":"kube-ui","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"replicas":1,"selector":{"k8s-app":"kube-ui","version":"v1"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"kube-ui","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"containers":[{"name":"kube-ui","image":"gcr.io/google_containers/kube-ui:v1.1","ports":[{"containerPort":8080,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":5},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"monitoring-heapster-v8","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/monitoring-heapster-v8","uid":"8ba6ecc0-91fd-11e5-8ad9-0800279dd272","resourceVersion":"53","generation":1,"creationTimestamp":"2015-11-23T16:16:26Z","labels":{"k8s-app":"heapster","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"replicas":1,"selector":{"k8s-app":"heapster","version":"v8"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"heapster","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"containers":[{"name":"heapster","image":"gcr.io/google_containers/heapster:v0.17.0","command":["/heapster","--source=kubernetes:''''","--sink=influxdb:http://monitoring-influxdb:8086"],"resources":{"limits":{"cpu":"100m","memory":"300Mi"},"requests":{"cpu":"100m","memory":"300Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"monitoring-influx-grafana-v1","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/monitoring-influx-grafana-v1","uid":"8bae43b2-91fd-11e5-8ad9-0800279dd272","resourceVersion":"63","generation":1,"creationTimestamp":"2015-11-23T16:16:26Z","labels":{"k8s-app":"influxGrafana","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"replicas":1,"selector":{"k8s-app":"influxGrafana","version":"v1"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"influxGrafana","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"volumes":[{"name":"influxdb-persistent-storage","emptyDir":{}}],"containers":[{"name":"influxdb","image":"gcr.io/google_containers/heapster_influxdb:v0.3","ports":[{"hostPort":8083,"containerPort":8083,"protocol":"TCP"},{"hostPort":8086,"containerPort":8086,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"200Mi"},"requests":{"cpu":"100m","memory":"200Mi"}},"volumeMounts":[{"name":"influxdb-persistent-storage","mountPath":"/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"grafana","image":"gcr.io/google_containers/heapster_grafana:v0.7","env":[{"name":"INFLUXDB_EXTERNAL_URL","value":"/api/v1/proxy/namespaces/kube-system/services/monitoring-influxdb:api/db/"},{"name":"INFLUXDB_HOST","value":"monitoring-influxdb"},{"name":"INFLUXDB_PORT","value":"8086"}],"resources":{"limits":{"cpu":"100m","memory":"100Mi"},"requests":{"cpu":"100m","memory":"100Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}}]}'
|
31
|
+
http_version:
|
32
|
+
recorded_at: Mon, 23 Nov 2015 16:30:58 GMT
|
33
|
+
- request:
|
34
|
+
method: get
|
35
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
36
|
+
body:
|
37
|
+
encoding: US-ASCII
|
38
|
+
string: ''
|
39
|
+
headers:
|
40
|
+
Accept:
|
41
|
+
- "*/*; q=0.5, application/xml"
|
42
|
+
Accept-Encoding:
|
43
|
+
- gzip, deflate
|
44
|
+
User-Agent:
|
45
|
+
- Ruby
|
46
|
+
response:
|
47
|
+
status:
|
48
|
+
code: 200
|
49
|
+
message: OK
|
50
|
+
headers:
|
51
|
+
Content-Type:
|
52
|
+
- application/json
|
53
|
+
Date:
|
54
|
+
- Mon, 23 Nov 2015 16:31:02 GMT
|
55
|
+
Content-Length:
|
56
|
+
- '146'
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"284"},"items":[]}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Mon, 23 Nov 2015 16:31:03 GMT
|
62
|
+
- request:
|
63
|
+
method: post
|
64
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/namespaces/default/replicationcontrollers
|
65
|
+
body:
|
66
|
+
encoding: UTF-8
|
67
|
+
string: '{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
68
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
69
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"command":["foo","-bar"]}]}}},"kind":"ReplicationController","apiVersion":"v1"}'
|
70
|
+
headers:
|
71
|
+
Accept:
|
72
|
+
- "*/*; q=0.5, application/xml"
|
73
|
+
Accept-Encoding:
|
74
|
+
- gzip, deflate
|
75
|
+
Content-Length:
|
76
|
+
- '538'
|
77
|
+
User-Agent:
|
78
|
+
- Ruby
|
79
|
+
response:
|
80
|
+
status:
|
81
|
+
code: 201
|
82
|
+
message: Created
|
83
|
+
headers:
|
84
|
+
Content-Type:
|
85
|
+
- application/json
|
86
|
+
Date:
|
87
|
+
- Mon, 23 Nov 2015 16:31:07 GMT
|
88
|
+
Content-Length:
|
89
|
+
- '972'
|
90
|
+
body:
|
91
|
+
encoding: UTF-8
|
92
|
+
string: '{"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"286","generation":1,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
93
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
94
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":0}}'
|
95
|
+
http_version:
|
96
|
+
recorded_at: Mon, 23 Nov 2015 16:31:08 GMT
|
97
|
+
- request:
|
98
|
+
method: get
|
99
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
100
|
+
body:
|
101
|
+
encoding: US-ASCII
|
102
|
+
string: ''
|
103
|
+
headers:
|
104
|
+
Accept:
|
105
|
+
- "*/*; q=0.5, application/xml"
|
106
|
+
Accept-Encoding:
|
107
|
+
- gzip, deflate
|
108
|
+
User-Agent:
|
109
|
+
- Ruby
|
110
|
+
response:
|
111
|
+
status:
|
112
|
+
code: 200
|
113
|
+
message: OK
|
114
|
+
headers:
|
115
|
+
Content-Type:
|
116
|
+
- application/json
|
117
|
+
Date:
|
118
|
+
- Mon, 23 Nov 2015 16:31:12 GMT
|
119
|
+
Content-Length:
|
120
|
+
- '1092'
|
121
|
+
body:
|
122
|
+
encoding: UTF-8
|
123
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"311"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"293","generation":1,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
124
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
125
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}]}'
|
126
|
+
http_version:
|
127
|
+
recorded_at: Mon, 23 Nov 2015 16:31:13 GMT
|
128
|
+
- request:
|
129
|
+
method: get
|
130
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
131
|
+
body:
|
132
|
+
encoding: US-ASCII
|
133
|
+
string: ''
|
134
|
+
headers:
|
135
|
+
Accept:
|
136
|
+
- "*/*; q=0.5, application/xml"
|
137
|
+
Accept-Encoding:
|
138
|
+
- gzip, deflate
|
139
|
+
User-Agent:
|
140
|
+
- Ruby
|
141
|
+
response:
|
142
|
+
status:
|
143
|
+
code: 200
|
144
|
+
message: OK
|
145
|
+
headers:
|
146
|
+
Content-Type:
|
147
|
+
- application/json
|
148
|
+
Date:
|
149
|
+
- Mon, 23 Nov 2015 16:31:17 GMT
|
150
|
+
Content-Length:
|
151
|
+
- '1092'
|
152
|
+
body:
|
153
|
+
encoding: UTF-8
|
154
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"314"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"293","generation":1,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
155
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
156
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}]}'
|
157
|
+
http_version:
|
158
|
+
recorded_at: Mon, 23 Nov 2015 16:31:19 GMT
|
159
|
+
- request:
|
160
|
+
method: get
|
161
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
162
|
+
body:
|
163
|
+
encoding: US-ASCII
|
164
|
+
string: ''
|
165
|
+
headers:
|
166
|
+
Accept:
|
167
|
+
- "*/*; q=0.5, application/xml"
|
168
|
+
Accept-Encoding:
|
169
|
+
- gzip, deflate
|
170
|
+
User-Agent:
|
171
|
+
- Ruby
|
172
|
+
response:
|
173
|
+
status:
|
174
|
+
code: 200
|
175
|
+
message: OK
|
176
|
+
headers:
|
177
|
+
Content-Type:
|
178
|
+
- application/json
|
179
|
+
Date:
|
180
|
+
- Mon, 23 Nov 2015 16:31:23 GMT
|
181
|
+
Content-Length:
|
182
|
+
- '1092'
|
183
|
+
body:
|
184
|
+
encoding: UTF-8
|
185
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"319"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"293","generation":1,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
186
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
187
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}]}'
|
188
|
+
http_version:
|
189
|
+
recorded_at: Mon, 23 Nov 2015 16:31:24 GMT
|
190
|
+
- request:
|
191
|
+
method: put
|
192
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar
|
193
|
+
body:
|
194
|
+
encoding: UTF-8
|
195
|
+
string: '{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"293","generation":1,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
196
|
+
-bar"}},"spec":{"replicas":0,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
197
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}'
|
198
|
+
headers:
|
199
|
+
Accept:
|
200
|
+
- "*/*; q=0.5, application/xml"
|
201
|
+
Accept-Encoding:
|
202
|
+
- gzip, deflate
|
203
|
+
Content-Length:
|
204
|
+
- '946'
|
205
|
+
User-Agent:
|
206
|
+
- Ruby
|
207
|
+
response:
|
208
|
+
status:
|
209
|
+
code: 200
|
210
|
+
message: OK
|
211
|
+
headers:
|
212
|
+
Content-Type:
|
213
|
+
- application/json
|
214
|
+
Date:
|
215
|
+
- Mon, 23 Nov 2015 16:31:28 GMT
|
216
|
+
Content-Length:
|
217
|
+
- '995'
|
218
|
+
body:
|
219
|
+
encoding: UTF-8
|
220
|
+
string: '{"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"320","generation":2,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
221
|
+
-bar"}},"spec":{"replicas":0,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
222
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":1}}'
|
223
|
+
http_version:
|
224
|
+
recorded_at: Mon, 23 Nov 2015 16:31:29 GMT
|
225
|
+
- request:
|
226
|
+
method: get
|
227
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
228
|
+
body:
|
229
|
+
encoding: US-ASCII
|
230
|
+
string: ''
|
231
|
+
headers:
|
232
|
+
Accept:
|
233
|
+
- "*/*; q=0.5, application/xml"
|
234
|
+
Accept-Encoding:
|
235
|
+
- gzip, deflate
|
236
|
+
User-Agent:
|
237
|
+
- Ruby
|
238
|
+
response:
|
239
|
+
status:
|
240
|
+
code: 200
|
241
|
+
message: OK
|
242
|
+
headers:
|
243
|
+
Content-Type:
|
244
|
+
- application/json
|
245
|
+
Date:
|
246
|
+
- Mon, 23 Nov 2015 16:31:33 GMT
|
247
|
+
Content-Length:
|
248
|
+
- '1092'
|
249
|
+
body:
|
250
|
+
encoding: UTF-8
|
251
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"332"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"327","generation":2,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
252
|
+
-bar"}},"spec":{"replicas":0,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
253
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":0,"observedGeneration":2}}]}'
|
254
|
+
http_version:
|
255
|
+
recorded_at: Mon, 23 Nov 2015 16:31:34 GMT
|
256
|
+
- request:
|
257
|
+
method: get
|
258
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
259
|
+
body:
|
260
|
+
encoding: US-ASCII
|
261
|
+
string: ''
|
262
|
+
headers:
|
263
|
+
Accept:
|
264
|
+
- "*/*; q=0.5, application/xml"
|
265
|
+
Accept-Encoding:
|
266
|
+
- gzip, deflate
|
267
|
+
User-Agent:
|
268
|
+
- Ruby
|
269
|
+
response:
|
270
|
+
status:
|
271
|
+
code: 200
|
272
|
+
message: OK
|
273
|
+
headers:
|
274
|
+
Content-Type:
|
275
|
+
- application/json
|
276
|
+
Date:
|
277
|
+
- Mon, 23 Nov 2015 16:31:38 GMT
|
278
|
+
Content-Length:
|
279
|
+
- '1092'
|
280
|
+
body:
|
281
|
+
encoding: UTF-8
|
282
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"332"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"327","generation":2,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
283
|
+
-bar"}},"spec":{"replicas":0,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
284
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":0,"observedGeneration":2}}]}'
|
285
|
+
http_version:
|
286
|
+
recorded_at: Mon, 23 Nov 2015 16:31:39 GMT
|
287
|
+
- request:
|
288
|
+
method: put
|
289
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar
|
290
|
+
body:
|
291
|
+
encoding: UTF-8
|
292
|
+
string: '{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"327","generation":2,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
293
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
294
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":0,"observedGeneration":2}}'
|
295
|
+
headers:
|
296
|
+
Accept:
|
297
|
+
- "*/*; q=0.5, application/xml"
|
298
|
+
Accept-Encoding:
|
299
|
+
- gzip, deflate
|
300
|
+
Content-Length:
|
301
|
+
- '946'
|
302
|
+
User-Agent:
|
303
|
+
- Ruby
|
304
|
+
response:
|
305
|
+
status:
|
306
|
+
code: 200
|
307
|
+
message: OK
|
308
|
+
headers:
|
309
|
+
Content-Type:
|
310
|
+
- application/json
|
311
|
+
Date:
|
312
|
+
- Mon, 23 Nov 2015 16:31:43 GMT
|
313
|
+
Content-Length:
|
314
|
+
- '995'
|
315
|
+
body:
|
316
|
+
encoding: UTF-8
|
317
|
+
string: '{"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"334","generation":3,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
318
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
319
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":0,"observedGeneration":2}}'
|
320
|
+
http_version:
|
321
|
+
recorded_at: Mon, 23 Nov 2015 16:31:44 GMT
|
322
|
+
- request:
|
323
|
+
method: get
|
324
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers?labelSelector=name=rhea-7370-foo-bar
|
325
|
+
body:
|
326
|
+
encoding: US-ASCII
|
327
|
+
string: ''
|
328
|
+
headers:
|
329
|
+
Accept:
|
330
|
+
- "*/*; q=0.5, application/xml"
|
331
|
+
Accept-Encoding:
|
332
|
+
- gzip, deflate
|
333
|
+
User-Agent:
|
334
|
+
- Ruby
|
335
|
+
response:
|
336
|
+
status:
|
337
|
+
code: 200
|
338
|
+
message: OK
|
339
|
+
headers:
|
340
|
+
Content-Type:
|
341
|
+
- application/json
|
342
|
+
Date:
|
343
|
+
- Mon, 23 Nov 2015 16:31:48 GMT
|
344
|
+
Content-Length:
|
345
|
+
- '1092'
|
346
|
+
body:
|
347
|
+
encoding: UTF-8
|
348
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"358"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"343","generation":3,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
349
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
350
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":3}}]}'
|
351
|
+
http_version:
|
352
|
+
recorded_at: Mon, 23 Nov 2015 16:31:49 GMT
|
353
|
+
- request:
|
354
|
+
method: get
|
355
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/replicationcontrollers
|
356
|
+
body:
|
357
|
+
encoding: US-ASCII
|
358
|
+
string: ''
|
359
|
+
headers:
|
360
|
+
Accept:
|
361
|
+
- "*/*; q=0.5, application/xml"
|
362
|
+
Accept-Encoding:
|
363
|
+
- gzip, deflate
|
364
|
+
User-Agent:
|
365
|
+
- Ruby
|
366
|
+
response:
|
367
|
+
status:
|
368
|
+
code: 200
|
369
|
+
message: OK
|
370
|
+
headers:
|
371
|
+
Content-Type:
|
372
|
+
- application/json
|
373
|
+
Date:
|
374
|
+
- Mon, 23 Nov 2015 16:31:53 GMT
|
375
|
+
Transfer-Encoding:
|
376
|
+
- chunked
|
377
|
+
body:
|
378
|
+
encoding: UTF-8
|
379
|
+
string: '{"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/replicationcontrollers","resourceVersion":"360"},"items":[{"metadata":{"name":"rhea-7370-foo-bar","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar","uid":"990fbbb8-91ff-11e5-8ad9-0800279dd272","resourceVersion":"343","generation":3,"creationTimestamp":"2015-11-23T16:31:07Z","labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
380
|
+
-bar"}},"spec":{"replicas":2,"selector":{"name":"rhea-7370-foo-bar"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"rhea-7370-foo-bar"},"annotations":{"rhea_command":"foo
|
381
|
+
-bar"}},"spec":{"containers":[{"name":"rhea-7370-foo-bar","image":"docker.local/myimage:latest","command":["foo","-bar"],"env":[{"name":"MY_ENV_VAR_NAME","value":"my_env_var_value"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":2,"observedGeneration":3}},{"metadata":{"name":"kube-dns-v8","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/kube-dns-v8","uid":"8bc02097-91fd-11e5-8ad9-0800279dd272","resourceVersion":"65","generation":1,"creationTimestamp":"2015-11-23T16:16:26Z","labels":{"k8s-app":"kube-dns","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"replicas":1,"selector":{"k8s-app":"kube-dns","version":"v8"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"kube-dns","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"volumes":[{"name":"etcd-storage","emptyDir":{}}],"containers":[{"name":"etcd","image":"gcr.io/google_containers/etcd:2.0.9","command":["/usr/local/bin/etcd","-data-dir","/var/etcd/data","-listen-client-urls","http://127.0.0.1:2379,http://127.0.0.1:4001","-advertise-client-urls","http://127.0.0.1:2379,http://127.0.0.1:4001","-initial-cluster-token","skydns-etcd"],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"volumeMounts":[{"name":"etcd-storage","mountPath":"/var/etcd/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"kube2sky","image":"gcr.io/google_containers/kube2sky:1.11","args":["-domain=cluster.local"],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"skydns","image":"gcr.io/google_containers/skydns:2015-03-11-001","args":["-machines=http://localhost:4001","-addr=0.0.0.0:53","-domain=cluster.local."],"ports":[{"name":"dns","containerPort":53,"protocol":"UDP"},{"name":"dns-tcp","containerPort":53,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"livenessProbe":{"httpGet":{"path":"/healthz","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":5},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"healthz","image":"gcr.io/google_containers/exechealthz:1.0","args":["-cmd=nslookup
|
382
|
+
kubernetes.default.svc.cluster.local localhost \u003e/dev/null","-port=8080"],"ports":[{"containerPort":8080,"protocol":"TCP"}],"resources":{"limits":{"cpu":"10m","memory":"20Mi"},"requests":{"cpu":"10m","memory":"20Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"Default"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"kube-ui-v1","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/kube-ui-v1","uid":"8baf3f15-91fd-11e5-8ad9-0800279dd272","resourceVersion":"59","generation":1,"creationTimestamp":"2015-11-23T16:16:26Z","labels":{"k8s-app":"kube-ui","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"replicas":1,"selector":{"k8s-app":"kube-ui","version":"v1"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"kube-ui","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"containers":[{"name":"kube-ui","image":"gcr.io/google_containers/kube-ui:v1.1","ports":[{"containerPort":8080,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"100m","memory":"50Mi"}},"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":5},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"monitoring-heapster-v8","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/monitoring-heapster-v8","uid":"8ba6ecc0-91fd-11e5-8ad9-0800279dd272","resourceVersion":"53","generation":1,"creationTimestamp":"2015-11-23T16:16:26Z","labels":{"k8s-app":"heapster","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"replicas":1,"selector":{"k8s-app":"heapster","version":"v8"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"heapster","kubernetes.io/cluster-service":"true","version":"v8"}},"spec":{"containers":[{"name":"heapster","image":"gcr.io/google_containers/heapster:v0.17.0","command":["/heapster","--source=kubernetes:''''","--sink=influxdb:http://monitoring-influxdb:8086"],"resources":{"limits":{"cpu":"100m","memory":"300Mi"},"requests":{"cpu":"100m","memory":"300Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}},{"metadata":{"name":"monitoring-influx-grafana-v1","namespace":"kube-system","selfLink":"/api/v1/namespaces/kube-system/replicationcontrollers/monitoring-influx-grafana-v1","uid":"8bae43b2-91fd-11e5-8ad9-0800279dd272","resourceVersion":"63","generation":1,"creationTimestamp":"2015-11-23T16:16:26Z","labels":{"k8s-app":"influxGrafana","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"replicas":1,"selector":{"k8s-app":"influxGrafana","version":"v1"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"influxGrafana","kubernetes.io/cluster-service":"true","version":"v1"}},"spec":{"volumes":[{"name":"influxdb-persistent-storage","emptyDir":{}}],"containers":[{"name":"influxdb","image":"gcr.io/google_containers/heapster_influxdb:v0.3","ports":[{"hostPort":8083,"containerPort":8083,"protocol":"TCP"},{"hostPort":8086,"containerPort":8086,"protocol":"TCP"}],"resources":{"limits":{"cpu":"100m","memory":"200Mi"},"requests":{"cpu":"100m","memory":"200Mi"}},"volumeMounts":[{"name":"influxdb-persistent-storage","mountPath":"/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"},{"name":"grafana","image":"gcr.io/google_containers/heapster_grafana:v0.7","env":[{"name":"INFLUXDB_EXTERNAL_URL","value":"/api/v1/proxy/namespaces/kube-system/services/monitoring-influxdb:api/db/"},{"name":"INFLUXDB_HOST","value":"monitoring-influxdb"},{"name":"INFLUXDB_PORT","value":"8086"}],"resources":{"limits":{"cpu":"100m","memory":"100Mi"},"requests":{"cpu":"100m","memory":"100Mi"}},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst"}}},"status":{"replicas":1,"observedGeneration":1}}]}'
|
383
|
+
http_version:
|
384
|
+
recorded_at: Mon, 23 Nov 2015 16:31:54 GMT
|
385
|
+
- request:
|
386
|
+
method: delete
|
387
|
+
uri: https://vagrant:vagrant@kube.local/api/v1/namespaces/default/replicationcontrollers/rhea-7370-foo-bar
|
388
|
+
body:
|
389
|
+
encoding: US-ASCII
|
390
|
+
string: ''
|
391
|
+
headers:
|
392
|
+
Accept:
|
393
|
+
- "*/*; q=0.5, application/xml"
|
394
|
+
Accept-Encoding:
|
395
|
+
- gzip, deflate
|
396
|
+
User-Agent:
|
397
|
+
- Ruby
|
398
|
+
response:
|
399
|
+
status:
|
400
|
+
code: 200
|
401
|
+
message: OK
|
402
|
+
headers:
|
403
|
+
Content-Type:
|
404
|
+
- application/json
|
405
|
+
Date:
|
406
|
+
- Mon, 23 Nov 2015 16:31:58 GMT
|
407
|
+
Content-Length:
|
408
|
+
- '100'
|
409
|
+
body:
|
410
|
+
encoding: UTF-8
|
411
|
+
string: |-
|
412
|
+
{
|
413
|
+
"kind": "Status",
|
414
|
+
"apiVersion": "v1",
|
415
|
+
"metadata": {},
|
416
|
+
"status": "Success",
|
417
|
+
"code": 200
|
418
|
+
}
|
419
|
+
http_version:
|
420
|
+
recorded_at: Mon, 23 Nov 2015 16:32:00 GMT
|
421
|
+
recorded_with: VCR 2.9.3
|