forked from nymphbox/oxn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
daemonset-cadvisor.yaml
103 lines (103 loc) · 3.65 KB
/
daemonset-cadvisor.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
apiVersion: apps/v1
kind: DaemonSet
metadata:
annotations:
deprecated.daemonset.template.generation: "1"
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apps/v1","kind":"DaemonSet","metadata":{"annotations":{"seccomp.security.alpha.kubernetes.io/pod":"docker/default"},"labels":{"app":"cadvisor"},"name":"cadvisor","namespace":"cadvisor"},"spec":{"selector":{"matchLabels":{"app":"cadvisor","name":"cadvisor"}},"template":{"metadata":{"labels":{"app":"cadvisor","name":"cadvisor"}},"spec":{"automountServiceAccountToken":false,"containers":[{"image":"gcr.io/cadvisor/cadvisor:v0.45.0","name":"cadvisor","ports":[{"containerPort":8080,"name":"http","protocol":"TCP"}],"resources":{"limits":{"cpu":"800m","memory":"2000Mi"},"requests":{"cpu":"400m","memory":"400Mi"}},"volumeMounts":[{"mountPath":"/rootfs","name":"rootfs","readOnly":true},{"mountPath":"/var/run","name":"var-run","readOnly":true},{"mountPath":"/sys","name":"sys","readOnly":true},{"mountPath":"/var/lib/docker","name":"docker","readOnly":true},{"mountPath":"/dev/disk","name":"disk","readOnly":true}]}],"serviceAccountName":"cadvisor","terminationGracePeriodSeconds":30,"volumes":[{"hostPath":{"path":"/"},"name":"rootfs"},{"hostPath":{"path":"/var/run"},"name":"var-run"},{"hostPath":{"path":"/sys"},"name":"sys"},{"hostPath":{"path":"/var/lib/docker"},"name":"docker"},{"hostPath":{"path":"/dev/disk"},"name":"disk"}]}}}}
seccomp.security.alpha.kubernetes.io/pod: docker/default
creationTimestamp: "2024-11-01T12:48:22Z"
generation: 1
labels:
app: cadvisor
name: cadvisor
namespace: cadvisor
resourceVersion: "27028327"
uid: b3dda6f7-860d-4e0e-9f25-de7750dd032e
spec:
revisionHistoryLimit: 10
selector:
matchLabels:
app: cadvisor
name: cadvisor
template:
metadata:
creationTimestamp: null
labels:
app: cadvisor
name: cadvisor
spec:
automountServiceAccountToken: false
containers:
- image: gcr.io/cadvisor/cadvisor:v0.45.0
imagePullPolicy: IfNotPresent
name: cadvisor
ports:
- containerPort: 8080
name: http
protocol: TCP
resources:
limits:
memory: 2000Mi
requests:
cpu: 400m
memory: 400Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /rootfs
name: rootfs
readOnly: true
- mountPath: /var/run
name: var-run
readOnly: true
- mountPath: /sys
name: sys
readOnly: true
- mountPath: /var/lib/docker
name: docker
readOnly: true
- mountPath: /dev/disk
name: disk
readOnly: true
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: cadvisor
serviceAccountName: cadvisor
terminationGracePeriodSeconds: 30
volumes:
- hostPath:
path: /
type: ""
name: rootfs
- hostPath:
path: /var/run
type: ""
name: var-run
- hostPath:
path: /sys
type: ""
name: sys
- hostPath:
path: /var/lib/docker
type: ""
name: docker
- hostPath:
path: /dev/disk
type: ""
name: disk
updateStrategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
type: RollingUpdate
status:
currentNumberScheduled: 1
desiredNumberScheduled: 1
numberAvailable: 1
numberMisscheduled: 0
numberReady: 1
observedGeneration: 1
updatedNumberScheduled: 1