rpi.carlosedp.cluster-monit.../manifests/prometheus-operator/prometheus-operator.yaml
2018-03-01 19:03:53 -05:00

35 lines
893 B
YAML

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
k8s-app: prometheus-operator
name: prometheus-operator
spec:
replicas: 1
template:
metadata:
labels:
k8s-app: prometheus-operator
spec:
containers:
- args:
- --kubelet-service=kube-system/kubelet
- --prometheus-config-reloader=carlosedp/prometheus-config-reloader:v0.0.2
- --config-reloader-image=carlosedp/configmap-reload:latest
image: carlosedp/prometheus-operator:v0.17.0
name: prometheus-operator
ports:
- containerPort: 8080
name: http
resources:
limits:
cpu: 200m
memory: 100Mi
requests:
cpu: 100m
memory: 50Mi
securityContext:
runAsNonRoot: true
runAsUser: 65534
serviceAccountName: prometheus-operator