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

Encountering an Error While Upgrading Node Pool #1013

Open
PankajSavaliya opened this issue Aug 7, 2023 · 1 comment
Open

Encountering an Error While Upgrading Node Pool #1013

PankajSavaliya opened this issue Aug 7, 2023 · 1 comment
Labels

Comments

@PankajSavaliya
Copy link

I have created a Kubernetes cluster with Terraform, and it's working well. However, when I try to upgrade the node pool size in the 'digitalocean_kubernetes_cluster,' I encounter an error, as described below.

I am aware that we can manage the node pool using the 'digitalocean_kubernetes_node_pool' method, but is it also possible to avoid changing or upgrading the CPU or scaling in the 'digitalocean_kubernetes_cluster'?

resource "digitalocean_kubernetes_cluster" "foo" {
  name    = "foo"
  region  = "nyc1"
  version = "1.22.8-do.1"

  node_pool {
    name       = "autoscale-worker-pool"
    size       = "s-2vcpu-2gb"
    auto_scale = true
    min_nodes  = 1
    max_nodes  = 5
  }

Encounter an error

dial tcp [::1]:80: connect: connection refused
@danaelhe
Copy link
Member

danaelhe commented Aug 8, 2023

Hi @PankajSavaliya

Thanks for the write up. Could you clarify your question a bit? Are you looking to update the node pool in the digitalocean_kubernetes_cluster resource and unsuccessful at that attempt and received with a "connection refused" error?

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

No branches or pull requests

2 participants