Added note about metrics-server

This commit is contained in:
Pünkösd Marcell 2021-12-05 02:15:46 +01:00
parent 9d3628c57e
commit 607f42e1aa

View File

@ -25,3 +25,13 @@ iptables -A LIBVIRT_FWX -o br100 -i virbr1 -j ACCEPT
iptables -A LIBVIRT_FWX -o br100 -i virbr2 -j ACCEPT
iptables -A LIBVIRT_FWX -o br100 -i virbr3 -j ACCEPT
```
## Magic patch to make metrics-server work
This disables TLS checking, because who need that anyway.
```
kubectl patch deployment metrics-server -n kube-system --type 'json' -p '[{"op": "add", "path": "/spec/template/spec/containers/0/args/-", "value": "--kubelet-insecure-tls"}]'
```
Source: http://www.mtitek.com/tutorials/kubernetes/install-kubernetes-metrics-server.php