-
Notifications
You must be signed in to change notification settings - Fork 0
/
secondpod.yaml
87 lines (87 loc) · 2.31 KB
/
secondpod.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2020-01-14T14:47:07Z"
labels:
run: secondpod
name: secondpod
namespace: default
resourceVersion: "11746"
selfLink: /api/v1/namespaces/default/pods/secondpod
uid: afd96b2a-085d-47f6-b677-4bb58a5c8c12
spec:
containers:
- image: ahsankhan0061/my-first-docker-app
imagePullPolicy: Always
name: secondpod
ports:
- containerPort: 80
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-647ps
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: minikube
priority: 0
restartPolicy: Never
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-647ps
secret:
defaultMode: 420
secretName: default-token-647ps
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2020-01-14T14:47:07Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2020-01-14T14:47:52Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2020-01-14T14:47:52Z"
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2020-01-14T14:47:07Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://0925444b109a17f10f1824db7c1aee4a0c87d526ff5b2f5d5217eb9e784c0529
image: ahsankhan0061/my-first-docker-app:latest
imageID: docker-pullable://ahsankhan0061/my-first-docker-app@sha256:e3cda04a9f8c76f3ea85d74464925b85b82e7425c5b0fd3494933eac78b3ad60
lastState: {}
name: secondpod
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2020-01-14T14:47:51Z"
hostIP: 192.168.99.100
phase: Running
podIP: 172.17.0.5
podIPs:
- ip: 172.17.0.5
qosClass: BestEffort
startTime: "2020-01-14T14:47:07Z"