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
|
2020-05-26 17:59:47 +02:00
|
|
|
app.kubernetes.io/version: v0.39.0
|
2018-03-02 01:03:53 +01:00
|
|
|
name: prometheus-operator
|
2018-12-12 18:18:00 +01:00
|
|
|
namespace: monitoring
|
2018-03-02 01:03:53 +01:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
2018-12-12 18:18:00 +01:00
|
|
|
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
|
2020-05-26 17:59:47 +02:00
|
|
|
app.kubernetes.io/version: v0.39.0
|
2018-03-02 01:03:53 +01:00
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- args:
|
|
|
|
- --kubelet-service=kube-system/kubelet
|
2018-12-12 18:18:00 +01:00
|
|
|
- --logtostderr=true
|
2020-03-18 20:58:42 +01:00
|
|
|
- --config-reloader-image=carlosedp/configmap-reload:latest
|
2020-05-26 17:59:47 +02:00
|
|
|
- --prometheus-config-reloader=carlosedp/prometheus-config-reloader:v0.39.0
|
|
|
|
image: carlosedp/prometheus-operator:v0.39.0
|
2018-03-02 01:03:53 +01:00
|
|
|
name: prometheus-operator
|
|
|
|
ports:
|
|
|
|
- containerPort: 8080
|
|
|
|
name: http
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpu: 200m
|
2018-12-12 18:18:00 +01:00
|
|
|
memory: 200Mi
|
2018-03-02 01:03:53 +01:00
|
|
|
requests:
|
|
|
|
cpu: 100m
|
2018-12-12 18:18:00 +01:00
|
|
|
memory: 100Mi
|
|
|
|
securityContext:
|
|
|
|
allowPrivilegeEscalation: false
|
2020-05-26 17:59:47 +02:00
|
|
|
- args:
|
|
|
|
- --logtostderr
|
|
|
|
- --secure-listen-address=:8443
|
|
|
|
- --tls-cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
|
|
|
|
- --upstream=http://127.0.0.1:8080/
|
|
|
|
image: carlosedp/kube-rbac-proxy:v0.5.0
|
|
|
|
name: kube-rbac-proxy
|
|
|
|
ports:
|
|
|
|
- containerPort: 8443
|
|
|
|
name: https
|
|
|
|
securityContext:
|
|
|
|
runAsUser: 65534
|
2018-12-12 18:18:00 +01:00
|
|
|
nodeSelector:
|
|
|
|
beta.kubernetes.io/os: linux
|
2018-03-02 01:03:53 +01:00
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 65534
|
|
|
|
serviceAccountName: prometheus-operator
|