-
Notifications
You must be signed in to change notification settings - Fork 0
/
many
93 lines (93 loc) · 2.87 KB
/
many
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"kind": "Deployment",
"apiVersion": "extensions/v1beta1",
"metadata": {
"name": "my-nginx-30001",
"namespace": "default",
"selfLink": "/apis/extensions/v1beta1/namespaces/default/deployments/my-nginx-30001",
"uid": "5b43d636-939c-11e8-b22a-002297886d69",
"resourceVersion": "305569",
"generation": 2,
"creationTimestamp": "2018-07-30T02:00:39Z",
"labels": {
"run": "my-nginx-30001"
},
"annotations": {
"deployment.kubernetes.io/revision": "1",
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"extensions/v1beta1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{},\"name\":\"my-nginx-30001\",\"namespace\":\"default\"},\"spec\":{\"replicas\":50,\"template\":{\"metadata\":{\"labels\":{\"run\":\"my-nginx-30001\"}},\"spec\":{\"containers\":[{\"image\":\"hub.io/service/app:201807281758_124da62\",\"name\":\"my-nginx-30001\",\"ports\":[{\"containerPort\":19090}]}]}}}}\n"
}
},
"spec": {
"replicas": 50,
"selector": {
"matchLabels": {
"run": "my-nginx-30001"
}
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"run": "my-nginx-30001"
}
},
"spec": {
"containers": [
{
"name": "my-nginx-30001",
"image": "hub.io/hservice/app:201807281758_124da62",
"ports": [
{
"containerPort": 19090,
"protocol": "TCP"
}
],
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"imagePullPolicy": "IfNotPresent"
}
],
"restartPolicy": "Always",
"terminationGracePeriodSeconds": 30,
"dnsPolicy": "ClusterFirst",
"securityContext": {},
"schedulerName": "default-scheduler"
}
},
"strategy": {
"type": "RollingUpdate",
"rollingUpdate": {
"maxUnavailable": 1,
"maxSurge": 1
}
},
"revisionHistoryLimit": 10,
"progressDeadlineSeconds": 600
},
"status": {
"observedGeneration": 2,
"replicas": 50,
"updatedReplicas": 50,
"readyReplicas": 50,
"availableReplicas": 50,
"conditions": [
{
"type": "Progressing",
"status": "True",
"lastUpdateTime": "2018-07-30T02:00:51Z",
"lastTransitionTime": "2018-07-30T02:00:39Z",
"reason": "NewReplicaSetAvailable",
"message": "ReplicaSet \"my-nginx-30001-86487d6cf4\" has successfully progressed."
},
{
"type": "Available",
"status": "True",
"lastUpdateTime": "2018-07-30T02:32:27Z",
"lastTransitionTime": "2018-07-30T02:32:27Z",
"reason": "MinimumReplicasAvailable",
"message": "Deployment has minimum availability."
}
]
}
}