mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
22 lines
368 B
YAML
22 lines
368 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: kube-state-metrics
|
||
|
k8s-app: kube-state-metrics
|
||
|
name: kube-state-metrics
|
||
|
spec:
|
||
|
clusterIP: None
|
||
|
ports:
|
||
|
- name: http-main
|
||
|
port: 8443
|
||
|
targetPort: http-main
|
||
|
protocol: TCP
|
||
|
- name: http-self
|
||
|
port: 9443
|
||
|
targetPort: http-self
|
||
|
protocol: TCP
|
||
|
selector:
|
||
|
app: kube-state-metrics
|
||
|
|