2018-03-02 01:03:53 +01:00
|
|
|
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
|
2018-03-13 16:44:53 +01:00
|
|
|
- --config-reloader-image=carlosedp/configmap-reload:v0.2.2-arm
|
2018-03-02 01:03:53 +01:00
|
|
|
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
|