March 2020
Intermediate to advanced
626 pages
14h 45m
English
The Metrics Server is required if we need to run kubectl commands to show the metrics:
$ helm install stable/metrics-server --name metrics --namespace kube-system --set fullnameOverride="metrics" --set args="{--logtostderr,--kubelet-insecure-tls,--kubelet-preferred-address-types=InternalIP\,ExternalIP\,Hostname}"
To install the Metrics Server, follow these steps:
$ kubectl get apiservice v1beta1.metrics.k8s.ioNAME SERVICE AVAILABLE AGEv1beta1.metrics.k8s.io kube-system/metrics True 13m
If the service shows FailedDiscoveryCheck or MissingEndpoints, it might be the firewall issue. Make sure that HTTPS is enabled through the firewall.
If the AVAILABLE ...
Read now
Unlock full access