feat(metrics-server): updating default configuration

This commit is contained in:
Philippe Caseiro 2023-12-15 13:34:56 +01:00
parent 209e3a4df4
commit 4bbd615fcc
2 changed files with 20 additions and 0 deletions

View File

@ -3,3 +3,6 @@ kind: Kustomization
resources:
- https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.4/high-availability-1.21+.yaml
patches:
- path: ./patches/high-availability-1.21+.yaml

View File

@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: metrics-server
namespace: kube-system
spec:
replicas: 3
template:
spec:
containers:
- name: metrics-server
args:
- --cert-dir=/tmp
- --secure-port=4443
- --kubelet-preferred-address-types=Hostname
- --kubelet-use-node-status-port
- --metric-resolution=15s