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

SKE: fails to reset hibernation #635

Open
not22day opened this issue Jan 21, 2025 · 2 comments
Open

SKE: fails to reset hibernation #635

not22day opened this issue Jan 21, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@not22day
Copy link

I deployed an SKE cluster with hibernation block
I updated with Resource with removed hibernation block, Terraform reconciled correctly but the cluster continued to hibernate on the initial schedule
(0.38.1)

@Fyusel
Copy link
Contributor

Fyusel commented Jan 21, 2025

Hi @not22day,
thank you for reporting this issue.

We will have a look at this.

@bahkauv70
Copy link
Contributor

I've tested with the following configuration:


resource "stackit_ske_cluster" "example" {
  project_id = var.project_id
  name       = "mycluster"
  #kubernetes_version = "x.x"
  hibernations = [
    {
      start = "0 12 * * *"
      end = "0 14 * * *"
      timezone = "Europe/Berlin"
    },
    {
      start = "30 17 * * *"
      end = "0 18 * * *"
      timezone = "Europe/Berlin"
    },
  ]
  node_pools = [
    {
      name               = "np-test"
      machine_type       = "g1.2"
      minimum            = "1"
      maximum            = "2"
      availability_zones = ["eu01-3"]
    }
  ]
  maintenance = {
    enable_kubernetes_version_updates    = true
    enable_machine_image_version_updates = true
    start                                = "01:00:00Z"
    end                                  = "02:00:00Z"
  }
}
  • Using the hibernate schedule triggered hibernation
  • Removing the hibernate schedule prevented hibernation

so both cases working for me as expected. Is it possible that this was caused by timezone differences, i.e. the hibernation was already triggered while the removal of the table was currently in progress?

@Fyusel Fyusel added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants