1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{
"kind": "ReplicationController",
"apiVersion": "v1",
"metadata": {
"name": "guestbook-controller",
"namespace": "default",
"selfLink": "/api/v1/replicationcontrollers/guestbook-controller?namespace=default",
"uid": "c71aa4c0-a240-11e4-a265-3c970e4a436a",
"resourceVersion": "8",
"creationTimestamp": "2015-01-22T16:13:02+02:00",
"labels": {
"name": "guestbook"
}
},
"spec": {
"replicas": 3,
"selector": {
"name": "guestbook"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"name": "guestbook"
}
},
"spec": {
"volumes": null,
"containers": [
{
"name": "guestbook",
"image": "kubernetes/guestbook",
"ports": [
{
"name": "http-server",
"containerPort": 3000,
"protocol": "TCP"
}
],
"memory": "0",
"cpu": "0m",
"imagePullPolicy": ""
}
],
"restartPolicy": {
"always": {
}
},
"dnsPolicy": "ClusterFirst"
}
}
},
"status": {
"replicas": 3
}
}
|