16 lines
329 B
Django/Jinja
16 lines
329 B
Django/Jinja
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: metrics-server
|
|
namespace: kube-system
|
|
labels:
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
app.kubernetes.io/name: "metrics-server"
|
|
spec:
|
|
selector:
|
|
app.kubernetes.io/name: metrics-server
|
|
ports:
|
|
- name: https
|
|
port: 443
|
|
protocol: TCP
|
|
targetPort: https
|