Kubernetes Cluster in Proxmox VE (AlmaLinux/CentOS): Unterschied zwischen den Versionen

K
Zeile 378: Zeile 378:


=== Metrics Server installieren / <nowiki>https://www.scmgalaxy.com/tutorials/kubernetes-metrics-server-error-readiness-probe-failed-http-probe-failed-with-statuscode/</nowiki> ===
=== Metrics Server installieren / <nowiki>https://www.scmgalaxy.com/tutorials/kubernetes-metrics-server-error-readiness-probe-failed-http-probe-failed-with-statuscode/</nowiki> ===
<syntaxhighlight lang="bash">
Das Installations Manifest für den Metrics-Server herunterladen:<syntaxhighlight lang="bash">
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
curl https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml -o components.yaml
</syntaxhighlight>Download metrics-server
</syntaxhighlight>- Modify and add "- --kubelet-insecure-tls" in deployment.spec.template.spec.containers.args<syntaxhighlight lang="bash">
 
wget <nowiki>https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml</nowiki>
 
- Modify and add "- --kubelet-insecure-tls" in deployment.spec.template.spec.containers.args<syntaxhighlight lang="bash">
kubectl apply -f components.yaml
kubectl apply -f components.yaml
</syntaxhighlight><nowiki>###############################</nowiki>
</syntaxhighlight><nowiki>###############################</nowiki>