-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx-pod-update.yaml
More file actions
159 lines (159 loc) · 4.05 KB
/
Copy pathnginx-pod-update.yaml
File metadata and controls
159 lines (159 loc) · 4.05 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2020-04-27T20:40:19Z"
labels:
app: web_service
importance: critical
customer: internal_use
managedFields:
- apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
f:status:
f:conditions:
k:{"type":"ContainersReady"}:
.: {}
f:lastProbeTime: {}
f:lastTransitionTime: {}
f:status: {}
f:type: {}
k:{"type":"Initialized"}:
.: {}
f:lastProbeTime: {}
f:lastTransitionTime: {}
f:status: {}
f:type: {}
k:{"type":"Ready"}:
.: {}
f:lastProbeTime: {}
f:lastTransitionTime: {}
f:status: {}
f:type: {}
f:containerStatuses: {}
f:hostIP: {}
f:phase: {}
f:podIP: {}
f:podIPs:
.: {}
k:{"ip":"192.168.57.134"}:
.: {}
f:ip: {}
f:startTime: {}
manager: kubelet
operation: Update
time: "2020-04-27T20:40:21Z"
- apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:labels:
.: {}
f:app: {}
f:what: {}
f:spec:
f:containers:
k:{"name":"nginx"}:
.: {}
f:image: {}
f:imagePullPolicy: {}
f:name: {}
f:ports:
.: {}
k:{"containerPort":80,"protocol":"TCP"}:
.: {}
f:containerPort: {}
f:protocol: {}
f:resources: {}
f:terminationMessagePath: {}
f:terminationMessagePolicy: {}
f:dnsPolicy: {}
f:enableServiceLinks: {}
f:restartPolicy: {}
f:schedulerName: {}
f:securityContext: {}
f:terminationGracePeriodSeconds: {}
manager: kubectl
operation: Update
time: "2020-04-27T20:45:48Z"
name: nginx
namespace: default
resourceVersion: "40496"
selfLink: /api/v1/namespaces/default/pods/nginx
uid: 307e51bf-1321-45ae-81cc-4437ca6f6062
spec:
containers:
- image: nginx:1.7.9
imagePullPolicy: IfNotPresent
name: nginx
ports:
- containerPort: 80
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-28kc4
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: k8s-5296-node-03
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: default-token-28kc4
secret:
defaultMode: 420
secretName: default-token-28kc4
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2020-04-27T20:40:19Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2020-04-27T20:40:21Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2020-04-27T20:40:21Z"
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2020-04-27T20:40:19Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: containerd://faefe47cd79312be3942d40c50e5d5aa6f21930c224098e3f32fc9a33b13d12f
image: docker.io/library/nginx:1.7.9
imageID: sha256:35d28df486f6150fa3174367499d1eb01f22f5a410afe4b9581ac0e0e58b3eaf
lastState: {}
name: nginx
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2020-04-27T20:40:20Z"
hostIP: 10.8.227.43
phase: Running
podIP: 192.168.57.134
podIPs:
- ip: 192.168.57.134
qosClass: BestEffort
startTime: "2020-04-27T20:40:19Z"