-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMultiContainerPods_Send_logs_kibana
More file actions
99 lines (98 loc) · 2.62 KB
/
Copy pathMultiContainerPods_Send_logs_kibana
File metadata and controls
99 lines (98 loc) · 2.62 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
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: 2019-10-16T09:10:50Z
labels:
name: app
name: app
namespace: elastic-stack
resourceVersion: "808"
selfLink: /api/v1/namespaces/elastic-stack/pods/app
uid: d942f7e5-eff4-11e9-b8ac-0242ac110056
spec:
containers:
- image: kodekloud/event-simulator
imagePullPolicy: Always
name: app
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /log
name: log-volume
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-6nj2b
readOnly: true
- image: kodekloud/filebeat-configured
imagePullPolicy: Always
name: sidecar
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/log/event-simulator/
name: log-volume
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-6nj2b
readOnly: true
dnsPolicy: ClusterFirst
nodeName: node01
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: DirectoryOrCreate
name: log-volume
- name: default-token-6nj2b
secret:
defaultMode: 420
secretName: default-token-6nj2b
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2019-10-16T09:10:50Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2019-10-16T09:10:57Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: null
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2019-10-16T09:10:50Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://f462de81ca7c401bdaee07052ed4d442a8086a9d0e85781333c23b2aa322a87e
image: kodekloud/event-simulator:latest
imageID: docker-pullable://kodekloud/event-simulator@sha256:1e3e9c72136bbc76c96dd98f29c04f298c3ae241c7d44e2bf70bcc209b030bf9
lastState: {}
name: app
ready: true
restartCount: 0
state:
running:
startedAt: 2019-10-16T09:10:56Z
hostIP: 172.17.0.91
phase: Running
podIP: 10.40.0.1
qosClass: BestEffort
startTime: 2019-10-16T09:10:50Z