2018-02-10 23:51:55 -08:00
|
|
|
apiVersion: apps/v1
|
2017-08-27 17:20:29 -07:00
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: container-linux-update-operator
|
2017-10-14 19:35:06 -07:00
|
|
|
namespace: reboot-coordinator
|
2017-08-27 17:20:29 -07:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
2018-02-10 23:51:55 -08:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: container-linux-update-operator
|
2017-08-27 17:20:29 -07:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: container-linux-update-operator
|
2018-10-15 23:24:27 -07:00
|
|
|
annotations:
|
|
|
|
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
|
2017-08-27 17:20:29 -07:00
|
|
|
spec:
|
2017-10-20 00:40:17 -07:00
|
|
|
tolerations:
|
|
|
|
- key: node-role.kubernetes.io/master
|
|
|
|
operator: Exists
|
|
|
|
effect: NoSchedule
|
2019-03-20 00:15:08 -07: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
|
|
|
|
|