GithubHelp home page GithubHelp logo

Comments (4)

soellman avatar soellman commented on May 27, 2024 1

That's great to hear that it's been working and stable!

I filed this issue to make sure that we have sufficient test coverage and documentation about the behavior, especially with the new multi-port PR just having been merged.

from gke-autoneg-controller.

soellman avatar soellman commented on May 27, 2024

Investigate rotating nodepools.

from gke-autoneg-controller.

rwkarg avatar rwkarg commented on May 27, 2024

I can say that it does "work" for multiple clusters as that is our use case.

I can't say that there are no issues related to multi-cluster usage, but we haven't run in to any problems in about a year of use.

This includes regularly destroying and recreating (for updates and configuration changes) cluster one at a time will observing no production impacts.

from gke-autoneg-controller.

sreenivas-ps avatar sreenivas-ps commented on May 27, 2024

I'm having issues when I deploy the autoneg controller using the terraform module into 2 GKE clusters in the same GCP project.

module "autoneg_transformation" {
  providers = {
    kubernetes = kubernetes.transformation
  }

  source                    = "github.com/GoogleCloudPlatform/gke-autoneg-controller//terraform/autoneg"
  controller_image   = "ghcr.io/googlecloudplatform/gke-autoneg-controller/gke-autoneg-controller:v0.9.6"
  project_id               = var.gcp_project
}

module "autoneg" {
  providers = {
    kubernetes = kubernetes.gke
  }

  source           = "github.com/GoogleCloudPlatform/gke-autoneg-controller//terraform/autoneg"
  controller_image = "ghcr.io/googlecloudplatform/gke-autoneg-controller/gke-autoneg-controller:v0.9.6"
  project_id       = var.gcp_project
}

that it uses the same service_account_id and custom role name autonegRegional during the deployment and get these 2 errors. I removed the actual gcp project id and replaced with some dummy project below

│ Error: Error creating service account: googleapi: Error 409: Service account autoneg already exists within project projects/data-sandbox.
│ Details:
│ [
│   {
│     "@type": "type.googleapis.com/google.rpc.ResourceInfo",
│     "resourceName": "projects/data-sandbox/serviceAccounts/[email protected]"
│   }
│ ]
│ , alreadyExists
│
│   with module.autoneg_transformation.module.gcp.google_service_account.autoneg[0],
│   on .terraform/modules/autoneg_transformation/terraform/gcp/main.tf line 25, in resource "google_service_account" "autoneg":
│   25: resource "google_service_account" "autoneg" {
│
╵
╷
│ Error: Custom project role projects/data-sandbox/roles/autonegRegional already exists and must be imported
│
│   with module.autoneg_transformation.module.gcp.google_project_iam_custom_role.autoneg,
│   on .terraform/modules/autoneg_transformation/terraform/gcp/main.tf line 57, in resource "google_project_iam_custom_role" "autoneg":
│   57: resource "google_project_iam_custom_role" "autoneg" {

We need to make the autoneg module configurable to pass variables to the gcp module.
Would be great to address this.
Also would be great to set the latest controller_image to the 0.9.6 instead of 0.9.2.

from gke-autoneg-controller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.