From 607f42e1aac898cf25d74a672d225de7b4ef73c8 Mon Sep 17 00:00:00 2001 From: marcsello Date: Sun, 5 Dec 2021 02:15:46 +0100 Subject: [PATCH] Added note about metrics-server --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eaeb6a5..ace791d 100644 --- a/README.md +++ b/README.md @@ -24,4 +24,14 @@ iptables -A LIBVIRT_FWX -o br100 -i virbr0 -j ACCEPT 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 -``` \ No newline at end of file +``` + +## 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 \ No newline at end of file