fix: update apiversion, some small fixes

This commit is contained in:
Vitalii Koretskyi
2021-10-29 14:33:28 +02:00
parent f04268e5fc
commit 1f17624bd6
9 changed files with 11 additions and 5 deletions
@@ -0,0 +1,39 @@
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
app: node-exporter
name: node-exporter
spec:
updateStrategy:
rollingUpdate:
maxUnavailable: 1
type: RollingUpdate
selector:
matchLabels:
app: node-exporter
template:
metadata:
labels:
app: node-exporter
spec:
containers:
- name: node-exporter
image: k8s.gcr.io/pause:3.3
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 10m
memory: 64Mi
requests:
cpu: 10m
memory: 64Mi
nodeSelector:
kubernetes.io/os: linux
securityContext:
runAsNonRoot: true
runAsUser: 65534
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/ingress