forked from cnych/kubernetes-learning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstatus.yaml
67 lines (67 loc) · 1.81 KB
/
status.yaml
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
apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/config.hash: 4a93efc59bf8ea557fc9466a2d8be4b9
kubernetes.io/config.mirror: 4a93efc59bf8ea557fc9466a2d8be4b9
kubernetes.io/config.seen: 2018-05-23T04:49:22.749711053+08:00
kubernetes.io/config.source: file
creationTimestamp: 2018-05-22T20:49:22Z
labels:
app: static
name: static-pod2-master
namespace: default
resourceVersion: "636406"
selfLink: /api/v1/namespaces/default/pods/static-pod2-master
uid: 9b48be7d-5e01-11e8-a101-525400db4df7
spec:
containers:
- image: nginx
imagePullPolicy: Always
name: web
ports:
- containerPort: 80
name: webport
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
nodeName: master
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
operator: Exists
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2018-05-22T20:49:22Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2018-05-22T21:03:49Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: 2018-05-22T20:49:22Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://83006318709f6d1f63c9a1c783b3d174aacc1ea2c4029c4cc4af3e51fa07c967
image: nginx:latest
imageID: docker-pullable://nginx@sha256:0fb320e2a1b1620b4905facb3447e3d84ad36da0b2c8aa8fe3a5a81d1187b884
lastState: {}
name: web
ready: true
restartCount: 0
state:
running:
startedAt: 2018-05-22T21:03:48Z
hostIP: 10.151.30.57
phase: Running
podIP: 10.244.0.4
qosClass: BestEffort
startTime: 2018-05-22T20:49:22Z