18 lines
381 B
YAML
18 lines
381 B
YAML
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
|