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

Scale down and remove neurohackademy special nodepool #1726

Merged

Conversation

GeorgianaElena
Copy link
Member

@GeorgianaElena GeorgianaElena commented Sep 21, 2022

Apparently we still had a node for neurohackademy still running. This should delete it.

Ref: #1620

Terraform plan output:

Terraform will perform the following actions:

  # google_container_node_pool.notebook["neurohackademy"] will be destroyed
  # (because key ["neurohackademy"] is not in for_each map)
  - resource "google_container_node_pool" "notebook" {
      - cluster                     = "pilot-hubs-cluster" -> null
      - id                          = "projects/two-eye-two-see/locations/us-central1-b/clusters/pilot-hubs-cluster/nodePools/nb-neurohackademy" -> null
      - initial_node_count          = 1 -> null
      - instance_group_urls         = [
          - "https://www.googleapis.com/compute/v1/projects/two-eye-two-see/zones/us-central1-b/instanceGroupManagers/gke-pilot-hubs-clust-nb-neurohackadem-633422ff-grp",
        ] -> null
      - location                    = "us-central1-b" -> null
      - managed_instance_group_urls = [
          - "https://www.googleapis.com/compute/v1/projects/two-eye-two-see/zones/us-central1-b/instanceGroups/gke-pilot-hubs-clust-nb-neurohackadem-633422ff-grp",
        ] -> null
      - name                        = "nb-neurohackademy" -> null
      - node_count                  = 1 -> null
      - node_locations              = [
          - "us-central1-b",
        ] -> null
      - project                     = "two-eye-two-see" -> null
      - version                     = "1.21.12-gke.1500" -> null

      - autoscaling {
          - max_node_count = 100 -> null
          - min_node_count = 1 -> null
        }

      - management {
          - auto_repair  = true -> null
          - auto_upgrade = false -> null
        }

      - node_config {
          - disk_size_gb      = 100 -> null
          - disk_type         = "pd-balanced" -> null
          - guest_accelerator = [] -> null
          - image_type        = "COS_CONTAINERD" -> null
          - labels            = {
              - "2i2c.org/community"           = "neurohackademy"
              - "hub.jupyter.org/node-purpose" = "user"
              - "k8s.dask.org/node-purpose"    = "scheduler"
            } -> null
          - local_ssd_count   = 0 -> null
          - machine_type      = "n1-highmem-16" -> null
          - metadata          = {
              - "disable-legacy-endpoints" = "true"
            } -> null
          - oauth_scopes      = [
              - "https://www.googleapis.com/auth/cloud-platform",
            ] -> null
          - preemptible       = false -> null
          - service_account   = "[email protected]" -> null
          - tags              = [] -> null
          - taint             = [
              - {
                  - effect = "NO_SCHEDULE"
                  - key    = "hub.jupyter.org_dedicated"
                  - value  = "user"
                },
            ] -> null

          - shielded_instance_config {
              - enable_integrity_monitoring = true -> null
              - enable_secure_boot          = false -> null
            }

          - workload_metadata_config {
              - mode = "GKE_METADATA" -> null
            }
        }

      - upgrade_settings {
          - max_surge       = 1 -> null
          - max_unavailable = 0 -> null
        }
    }

Plan: 0 to add, 0 to change, 1 to destroy.

@GeorgianaElena GeorgianaElena merged commit dc68fc7 into 2i2c-org:master Sep 21, 2022
@GeorgianaElena GeorgianaElena deleted the decomission-neurohackademy branch September 21, 2022 17:44
@GeorgianaElena
Copy link
Member Author

Thank you! Terraform applied too

sgibson91 added a commit to sgibson91/infrastructure that referenced this pull request Jul 4, 2023
Reconstruction/reversion of PR 2i2c-org#1726
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants