Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How To Identify the Active Master Node in Platform9 Managed Kubernetes Cluster
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Identify the active Master node in a Platform9 Managed Kubernetes cluster.
Environment
- Platform9 Managed Kubernetes - All Versions
Answer
- Using the kube-scheduler or kube-controller-manager endpoints, identify the active Master node by referring to the holderIdentity.
x
# kubectl get endpoints kube-scheduler -n kube-system -o yaml apiVersion: v1kind: Endpointsmetadata:annotations:control-plane.alpha.kubernetes.io/leader: '{"holderIdentity":"master3_e848b2f6-471e-11ea-866a-fa163efa580e","leaseDurationSeconds":15,"acquireTime":"2020-02-05T06:25:26Z","renewTime":"2020-02-07T02:07:22Z","leaderTransitions":17}'creationTimestamp: 2019-12-22T07:44:06Zname: kube-schedulernamespace: kube-systemresourceVersion: "7427816"selfLink: /api/v1/namespaces/kube-system/endpoints/kube-scheduleruid: d515ac87-248e-11ea-924f-fa163eef3a4b# kubectl get endpoints kube-controller-manager -n kube-system -o yaml apiVersion: v1kind: Endpointsmetadata:annotations:control-plane.alpha.kubernetes.io/leader: '{"holderIdentity":"master3_e94b43cd-471e-11ea-adca-fa163efa580e","leaseDurationSeconds":15,"acquireTime":"2020-02-05T06:25:37Z","renewTime":"2020-02-07T02:08:03Z","leaderTransitions":17}'creationTimestamp: 2019-12-22T07:44:08Zname: kube-controller-managernamespace: kube-systemresourceVersion: "7427889"selfLink: /api/v1/namespaces/kube-system/endpoints/kube-controller-manageruid: d6373c89-248e-11ea-924f-fa163eef3a4bVariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message