Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Confusing error message during install when K8s cluster is still initializing #115

@agemooij

Description

@agemooij

Describe the bug
After installing the cluster to GKE, it upgrades itself creating the node pools taking the cluster offline for a few minutes. If you try and run install-gke.sh at this time it fails with the misleading error "It looks like you are not logged into a Kubernetes cluster. Please 'gcloud init' before running the installer." The install script assumes any error returned by kubectl get pods command is related to authentication, which isn't always the case.

Expected behavior
The script should preferably detect that the cluster is not finished initialization or, if that is not possible, the error message should indicate this might be the case and advise the user to verify this and perhaps wait a little bit for the initialization to finish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working.priority/backlogNormal priority item.status:backlogItem has not been started and it is part of the backlog. It may require discussion to become ready.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions