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
kubernates create KIND cluster ofter reboot error: The connection to the server 127.0.0.1:32768 was refused - did you specify the right host or port? #1473
Comments
/triage duplicate |
For now you'll have to delete and create it again when you reboot. |
/triage duplicate As given shell scripts [root@mainnode ~]# kubectl get nodes #!/usr/bin/env bash for container in result: [root@mainnode opt]# ./kindflush.sh PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may PROPERTY_VALUE is the new value you wish to set. Binary fields such as 'certificate-authority-data' expect a base64 Specifying a attribute name that already exists will merge new fields on top of existing values. Examples: Set server field on the my-cluster cluster to https://1.2.3.4kubectl config set clusters.my-cluster.server https://1.2.3.4 Set certificate-authority-data field on the my-cluster cluster.kubectl config set clusters.my-cluster.certificate-authority-data $(echo "cert_data_here" | base64 -i -) Set cluster field in the my-context context to my-cluster.kubectl config set contexts.my-context.cluster my-cluster Set client-key-data field in the cluster-admin user using --set-raw-bytes option.kubectl config set users.cluster-admin.client-key-data cert_data_here --set-raw-bytes=true Options: Usage: Use "kubectl options" for a list of global command-line options (applies to all commands). PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may PROPERTY_VALUE is the new value you wish to set. Binary fields such as 'certificate-authority-data' expect a base64 Specifying a attribute name that already exists will merge new fields on top of existing values. Examples: Set server field on the my-cluster cluster to https://1.2.3.4kubectl config set clusters.my-cluster.server https://1.2.3.4 Set certificate-authority-data field on the my-cluster cluster.kubectl config set clusters.my-cluster.certificate-authority-data $(echo "cert_data_here" | base64 -i -) Set cluster field in the my-context context to my-cluster.kubectl config set contexts.my-context.cluster my-cluster Set client-key-data field in the cluster-admin user using --set-raw-bytes option.kubectl config set users.cluster-admin.client-key-data cert_data_here --set-raw-bytes=true Options: Usage: Use "kubectl options" for a list of global command-line options (applies to all commands). PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may PROPERTY_VALUE is the new value you wish to set. Binary fields such as 'certificate-authority-data' expect a base64 Specifying a attribute name that already exists will merge new fields on top of existing values. Examples: Set server field on the my-cluster cluster to https://1.2.3.4kubectl config set clusters.my-cluster.server https://1.2.3.4 Set certificate-authority-data field on the my-cluster cluster.kubectl config set clusters.my-cluster.certificate-authority-data $(echo "cert_data_here" | base64 -i -) Set cluster field in the my-context context to my-cluster.kubectl config set contexts.my-context.cluster my-cluster Set client-key-data field in the cluster-admin user using --set-raw-bytes option.kubectl config set users.cluster-admin.client-key-data cert_data_here --set-raw-bytes=true Options: Usage: Use "kubectl options" for a list of global command-line options (applies to all commands). PROPERTY_NAME is a dot delimited name where each token represents either an attribute name or a map key. Map keys may PROPERTY_VALUE is the new value you wish to set. Binary fields such as 'certificate-authority-data' expect a base64 Specifying a attribute name that already exists will merge new fields on top of existing values. Examples: Set server field on the my-cluster cluster to https://1.2.3.4kubectl config set clusters.my-cluster.server https://1.2.3.4 Set certificate-authority-data field on the my-cluster cluster.kubectl config set clusters.my-cluster.certificate-authority-data $(echo "cert_data_here" | base64 -i -) Set cluster field in the my-context context to my-cluster.kubectl config set contexts.my-context.cluster my-cluster Set client-key-data field in the cluster-admin user using --set-raw-bytes option.kubectl config set users.cluster-admin.client-key-data cert_data_here --set-raw-bytes=true Options: Usage: Use "kubectl options" for a list of global command-line options (applies to all commands). next shell script: #!/usr/bin/env bash 172.17.0.2 - worker172.17.0.3 - external-load-balancer172.17.0.4 - plane172.17.0.5 - plane2172.17.0.6 - worker3172.17.0.7 - plane3for CONTAINER in control-plane; do result : [root@mainnode opt]# [root@mainnode opt]# kubectl get nodes Finally its work thanks , both scripts should have to apply then only works. |
Does this have to be done manually? Or is it part of the new release? |
Single node clusters should reboot fine. Multi node clusters may encounter issues currently (please see open issues in the tracker) |
Hi, getting the same error as |
kubernates create KIND cluster ofter reboot error:
The connection to the server 127.0.0.1:32768 was refused - did you specify the right host or port?
The text was updated successfully, but these errors were encountered: