mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-27 07:39:33 +01:00
6dd2731046
* Set resource requests and limits for Grafana and CLUO * Set resource requests for Prometheus, but allow usage to grow since needs vary widely * Leave nginx without resource requests/limits for now, its typically well behaved
40 lines
996 B
YAML
40 lines
996 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: container-linux-update-operator
|
|
namespace: reboot-coordinator
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: container-linux-update-operator
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: container-linux-update-operator
|
|
annotations:
|
|
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
|
|
spec:
|
|
tolerations:
|
|
- key: node-role.kubernetes.io/master
|
|
operator: Exists
|
|
effect: NoSchedule
|
|
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
|
|
|