How To Identify the Active Master Node in Platform9 Managed Kubernetes Cluster
Problem
Environment
Answer
# kubectl get endpoints kube-scheduler -n kube-system -o yaml
apiVersion: v1
kind: Endpoints
metadata:
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:06Z
name: kube-scheduler
namespace: kube-system
resourceVersion: "7427816"
selfLink: /api/v1/namespaces/kube-system/endpoints/kube-scheduler
uid: d515ac87-248e-11ea-924f-fa163eef3a4bPreviousMove VIP From Active Master Without Restarting the PMK StackNextHow-to Grant Read-Only Access to the Kubernetes Dashboard
Last updated
