Overview

CLI command

describe-kubernetes-master

DescriptionRetrieve details of the master in a Kubernetes-CoreOS Cluster.
Command format

describe-kubernetes-master <CLUSTER_ID>

Parameter definitions

Short optionLong optionDescriptionRequiredExample value
N/AN/AThe ID of the Kubernetes ClusterYeskubernetes-cluster-ec2

Example

Use case: Retrieving the details on the master in a Kubernetes-CoreOS Cluster with the id: kubernetes-cluster-ec2.

describe-kubernetes-master kubernetes-cluster-ec2 

Sample output

Cluster: kubernetes-cluster-ec2
{
  "hostId": "KubHostMaster1",
  "hostname": "master.dev.kubernetes.example.org",
  "privateIPAddress": "10.175.144.104",
  "publicIPAddress": "54.151.228.48"
}

For information on all the properties that can be used in a Kubernetes Master definition, see the Kubernetes Master Resource Definition.

  • No labels