2018-02-11 08:51:55 +01:00
|
|
|
apiVersion: apps/v1
|
2017-08-28 02:20:29 +02:00
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: container-linux-update-operator
|
2017-10-15 04:35:06 +02:00
|
|
|
namespace: reboot-coordinator
|
2017-08-28 02:20:29 +02:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
2018-02-11 08:51:55 +01:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: container-linux-update-operator
|
2017-08-28 02:20:29 +02:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: container-linux-update-operator
|
2018-10-16 08:24:27 +02:00
|
|
|
annotations:
|
|
|
|
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
|
2017-08-28 02:20:29 +02:00
|
|
|
spec:
|
2017-10-20 09:40:17 +02:00
|
|
|
tolerations:
|
|
|
|
- key: node-role.kubernetes.io/master
|
|
|
|
operator: Exists
|
|
|
|
effect: NoSchedule
|
2019-03-20 08:15:08 +01:00
|
|
|
containers:
|
|
|
|
- name: update-operator
|
|
|
|
image: quay.io/coreos/container-linux-update-operator:v0.7.0
|
|
|
|
command:
|
|
|
|
- "/bin/update-operator"
|
|
|
|
env:
|
|
|
|
- name: POD_NAMESPACE
|
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
fieldPath: metadata.namespace
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
memory: 20Mi
|
|
|
|
limits:
|
|
|
|
cpu: 20m
|
|
|
|
memory: 40Mi
|
|
|
|
|