Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster node status are not correct #5

Open
jainpratik163 opened this issue Jan 25, 2021 · 0 comments
Open

Cluster node status are not correct #5

jainpratik163 opened this issue Jan 25, 2021 · 0 comments

Comments

@jainpratik163
Copy link

From K8s version 1.16v onwards roles of nodes are not coming and due to this below code output is coming as zero

 echo -e "\e[1m\e[39mCluster Node Status:\e[21m"
        echo -e "${BLUE}"ALL Nodes"                      :${GREEN}$nodes"
        echo -e "${BLUE}"Worker Nodes"                   :${GREEN}$worker"
        echo -e "${BLUE}"Master Nodes"                   :${GREEN}$master"
        echo -e "${BLUE}"Nodes Status"                   :${GREEN}$node_status"

output
Cluster Node Status: ALL Nodes :19 Worker Nodes :0 Master Nodes :0 Nodes Status :Ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant