Output above confirms that metrics-server pod is up and running. Now, we are all set to deploy metrics server, run following kubectl command, # kubectl apply -f components.yamlĪfter deploying the Metrics Server, verify it’s status by checking the pods status which is running in the kube-system namespace, # kubectl get pods -n kube-system Under the spec section, add following parameter, hostNetwork: true Next, you need to modify the Metrics Server yaml file to set some configuration options, # vi components.yamlįind the args section under the container section, add the following line: -kubelet-insecure-tls # curl Step 2) Modify Metrics Server Yaml File If you are planning to install metrics server in high availability mode then download following manifest file. Use below curl command to download yaml file, # curl -LO The first step is to download the latest Metrics Server manifest file from the Kubernetes GitHub repository. Without any further delay, let’s deep dive into the installation steps. The ability to create and modify Kubernetes objects. ![]() kubectl command line tool installed and configured to interact to your Kubernetes cluster.A Kubernetes cluster (v1.21 or high) up and running.
0 Comments
Leave a Reply. |