add metrics server with lb

This commit is contained in:
2025-03-25 15:47:04 -04:00
parent d3cc80e433
commit 1a0d4e45f2

View File

@@ -0,0 +1,22 @@
cluster:
extraManifests:
- https://raw.githubusercontent.com/alex1989hu/kubelet-serving-cert-approver/main/deploy/standalone-install.yaml
- https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
inlineManifests:
- name: metrics-lb
contents: |-
apiVersion: v1
kind: Service
metadata:
name: metrics-lb
namespace: kube-system
spec:
type: LoadBalancer
ports:
- name: https
port: 443
protocol: TCP
targetPort: https
selector:
k8s-app: metrics-server