mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-28 00:07:44 +01:00
57 lines
1.9 KiB
YAML
57 lines
1.9 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: kube-state-metrics
|
|
app.kubernetes.io/version: 1.9.6
|
|
name: kube-state-metrics
|
|
namespace: monitoring
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: kube-state-metrics
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: kube-state-metrics
|
|
app.kubernetes.io/version: 1.9.6
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- --host=127.0.0.1
|
|
- --port=8081
|
|
- --telemetry-host=127.0.0.1
|
|
- --telemetry-port=8082
|
|
image: carlosedp/kube-state-metrics:v1.9.6
|
|
name: kube-state-metrics
|
|
securityContext:
|
|
runAsUser: 65534
|
|
- 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.5.0
|
|
name: kube-rbac-proxy-main
|
|
ports:
|
|
- containerPort: 8443
|
|
name: https-main
|
|
securityContext:
|
|
runAsUser: 65534
|
|
- 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.5.0
|
|
name: kube-rbac-proxy-self
|
|
ports:
|
|
- containerPort: 9443
|
|
name: https-self
|
|
securityContext:
|
|
runAsUser: 65534
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
serviceAccountName: kube-state-metrics
|