No nodes available in cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Google Cloud Platform Integrator Charm |
Invalid
|
High
|
Cory Johns |
Bug Description
I'm attempting to run a k8s cluster on GCE, but it appears the worker node is not starting appropriately. Here are the commands I've run after setting up GCP credentials:
$ juju bootstrap google
$ juju deploy kubernetes-core
$ juju deploy cs:~containers/
$ juju trust gcp-integrator
$ juju relate gcp-integrator kubernetes-master
$ juju relate gcp-integrator kubernetes-worker
These commands appear to all run successfully. After waiting for the cluster to quiesce, juju status shows the following output: https:/
As you can see, both k8s worker and master have status "waiting." Also, after SCPing the kube config to my machine, the output of `kubectl get nodes` shows: "No resources found."
When I attempt to deploy mariadb to the k8s cluster, the status shows "blocked" with the message "no nodes available to schedule pods" since there appear to be no nodes running.
I have attached the output of cdk-field-agent. I'm not sure how to appropriately debug or resolve this issue.
tags: | added: real-kinetic |
Changed in charm-gcp-integrator: | |
status: | New → In Progress |
assignee: | nobody → Cory Johns (johnsca) |
importance: | Undecided → High |
Changed in charm-gcp-integrator: | |
status: | In Progress → Invalid |
It looks like the cdk-field-agent was run against the Kubernetes model. Can you please run `juju switch default` and then run cdk-field-agent against that model?