2019-08-08 22:09:53 +02:00
|
|
|
apiVersion: apps/v1
|
2018-12-12 18:18:00 +01:00
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
2020-03-18 15:13:47 +01:00
|
|
|
app.kubernetes.io/name: kube-state-metrics
|
2020-03-18 15:47:06 +01:00
|
|
|
app.kubernetes.io/version: 1.7.2
|
2018-12-12 18:18:00 +01:00
|
|
|
name: kube-state-metrics
|
|
|
|
namespace: monitoring
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
2020-03-18 15:13:47 +01:00
|
|
|
app.kubernetes.io/name: kube-state-metrics
|
2018-12-12 18:18:00 +01:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
2020-03-18 15:13:47 +01:00
|
|
|
app.kubernetes.io/name: kube-state-metrics
|
2020-03-18 15:47:06 +01:00
|
|
|
app.kubernetes.io/version: 1.7.2
|
2018-12-12 18:18:00 +01:00
|
|
|
spec:
|
|
|
|
containers:
|
2020-03-18 15:13:47 +01:00
|
|
|
- args:
|
|
|
|
- --host=127.0.0.1
|
|
|
|
- --port=8081
|
|
|
|
- --telemetry-host=127.0.0.1
|
|
|
|
- --telemetry-port=8082
|
2020-03-18 15:47:06 +01:00
|
|
|
image: carlosedp/kube-state-metrics:v1.7.2
|
2020-03-18 15:13:47 +01:00
|
|
|
name: kube-state-metrics
|
|
|
|
securityContext:
|
|
|
|
runAsUser: 65534
|
2019-02-04 21:03:30 +01: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:8081/
|
|
|
|
image: carlosedp/kube-rbac-proxy:v0.4.1
|
|
|
|
name: kube-rbac-proxy-main
|
|
|
|
ports:
|
|
|
|
- containerPort: 8443
|
|
|
|
name: https-main
|
2020-03-18 15:47:06 +01:00
|
|
|
securityContext:
|
|
|
|
runAsUser: 65534
|
2019-02-04 21:03:30 +01:00
|
|
|
- args:
|
|
|
|
- --logtostderr
|
|
|
|
- --secure-listen-address=:9443
|
|
|
|
- --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:8082/
|
|
|
|
image: carlosedp/kube-rbac-proxy:v0.4.1
|
|
|
|
name: kube-rbac-proxy-self
|
|
|
|
ports:
|
|
|
|
- containerPort: 9443
|
|
|
|
name: https-self
|
2020-03-18 15:47:06 +01:00
|
|
|
securityContext:
|
|
|
|
runAsUser: 65534
|
2018-12-12 18:18:00 +01:00
|
|
|
nodeSelector:
|
2019-08-08 22:09:53 +02:00
|
|
|
kubernetes.io/os: linux
|
2018-12-12 18:18:00 +01:00
|
|
|
serviceAccountName: kube-state-metrics
|