For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve Node Configuration for Clusters Created Using Hostname

Problem

Retrieve Node Configuration for Clusters Created Hostname.

Environment

  • Platform9 Managed Kubernetes - v5.2 & K8s v1.20 and Higher

Answer

Single Node Cluster created with hostname:true.

$ kubectl get nodes
NAME                    STATUS   ROLES    AGE     VERSION
sanchit-mav.novalocal   Ready    master   5m37s   v1.20.5

Starting Kubectl Proxy on the node.

$ kubectl proxy --port=8001 &
[1] 12428

$ Starting to serve on 127.0.0.1:8001

With hostname of the node in curl call.

Last updated