-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestPod.yaml
108 lines (108 loc) · 2.82 KB
/
testPod.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2024-09-02T05:59:00Z"
name: webapp
namespace: default
resourceVersion: "1195"
uid: fe8b4ca0-29e1-44a7-b557-200806b4784b
spec:
containers:
- image: kodekloud/event-simulator
imagePullPolicy: Always
name: event-simulator
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /log
name: webapp-volume
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: kube-api-access-mpl7c
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: controlplane
preemptionPolicy: PreemptLowerPriority
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:
- hostPath:
path: /var/log/webapp
type: ""
name: webapp-volume
- name: kube-api-access-mpl7c
projected:
defaultMode: 420
sources:
- serviceAccountToken:
expirationSeconds: 3607
path: token
- configMap:
items:
- key: ca.crt
path: ca.crt
name: kube-root-ca.crt
- downwardAPI:
items:
- fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
path: namespace
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2024-09-02T05:59:03Z"
status: "True"
type: PodReadyToStartContainers
- lastProbeTime: null
lastTransitionTime: "2024-09-02T05:59:00Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2024-09-02T05:59:03Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2024-09-02T05:59:03Z"
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2024-09-02T05:59:00Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: containerd://fc22245d4403683cbc5e44ba191d5c462b58c20674a3b585ded643304ace8db3
image: docker.io/kodekloud/event-simulator:latest
imageID: docker.io/kodekloud/event-simulator@sha256:1e3e9c72136bbc76c96dd98f29c04f298c3ae241c7d44e2bf70bcc209b030bf9
lastState: {}
name: event-simulator
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2024-09-02T05:59:03Z"
hostIP: 192.9.255.9
hostIPs:
- ip: 192.9.255.9
phase: Running
podIP: 10.244.0.5
podIPs:
- ip: 10.244.0.5
qosClass: BestEffort
startTime: "2024-09-02T05:59:00Z"