-
Notifications
You must be signed in to change notification settings - Fork 0
/
pod.yaml
85 lines (85 loc) · 2.29 KB
/
pod.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
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2020-01-14T14:29:30Z"
name: firstpod
namespace: default
resourceVersion: "9909"
selfLink: /api/v1/namespaces/default/pods/firstpod
uid: 5d00c5ca-e199-436f-bcb8-3e8f2a6b7d6e
spec:
containers:
- image: ahsankhan0061/my-first-docker-app
imagePullPolicy: Always
name: firstcontainer
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: 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-647ps
secret:
defaultMode: 420
secretName: default-token-647ps
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2020-01-14T14:29:30Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2020-01-14T14:34:01Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2020-01-14T14:34:01Z"
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2020-01-14T14:29:30Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://73070d7340ee946e22a473fc22021deb53741d9b29982a63522971a56fb76b84
image: ahsankhan0061/my-first-docker-app:latest
imageID: docker-pullable://ahsankhan0061/my-first-docker-app@sha256:e3cda04a9f8c76f3ea85d74464925b85b82e7425c5b0fd3494933eac78b3ad60
lastState: {}
name: firstcontainer
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2020-01-14T14:34:00Z"
hostIP: 192.168.99.100
phase: Running
podIP: 172.17.0.4
podIPs:
- ip: 172.17.0.4
qosClass: BestEffort
startTime: "2020-01-14T14:29:30Z"