feat(metrics-server): updating default configuration
This commit is contained in:
parent
209e3a4df4
commit
4bbd615fcc
@ -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
|
||||
|
17
base/metrics/patches/high-availability-1.21+.yaml
Normal file
17
base/metrics/patches/high-availability-1.21+.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user