rpi.carlosedp.cluster-monit.../manifests/0prometheus-operator-deployment.yaml

49 lines
1.4 KiB
YAML
Raw Normal View History

2019-08-08 22:09:53 +02:00
apiVersion: apps/v1
2018-03-02 01:03:53 +01:00
kind: Deployment
metadata:
labels:
2019-08-08 22:09:53 +02:00
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/version: v0.28.0
2018-03-02 01:03:53 +01:00
name: prometheus-operator
namespace: monitoring
2018-03-02 01:03:53 +01:00
spec:
replicas: 1
selector:
matchLabels:
2019-08-08 22:09:53 +02:00
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
2018-03-02 01:03:53 +01:00
template:
metadata:
labels:
2019-08-08 22:09:53 +02:00
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/version: v0.28.0
2018-03-02 01:03:53 +01:00
spec:
containers:
- args:
- --kubelet-service=kube-system/kubelet
- --logtostderr=true
- --config-reloader-image=carlosedp/configmap-reload:v0.2.2
2019-02-01 14:43:22 +01:00
- --prometheus-config-reloader=carlosedp/prometheus-config-reloader:v0.28.0
image: carlosedp/prometheus-operator:v0.28.0
2018-03-02 01:03:53 +01:00
name: prometheus-operator
ports:
- containerPort: 8080
name: http
resources:
limits:
cpu: 200m
memory: 200Mi
2018-03-02 01:03:53 +01:00
requests:
cpu: 100m
memory: 100Mi
securityContext:
allowPrivilegeEscalation: false
nodeSelector:
beta.kubernetes.io/os: linux
2018-03-02 01:03:53 +01:00
securityContext:
runAsNonRoot: true
runAsUser: 65534
serviceAccountName: prometheus-operator