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

Add sandbox flag for node-pools #240

Closed
lesv opened this issue Aug 20, 2019 · 2 comments · Fixed by #241 or #286
Closed

Add sandbox flag for node-pools #240

lesv opened this issue Aug 20, 2019 · 2 comments · Fixed by #241 or #286
Assignees
Labels
enhancement New feature or request

Comments

@lesv
Copy link

lesv commented Aug 20, 2019

It would be nice if support for the sandbox was able to be enabled. docs

@morgante
Copy link
Contributor

morgante commented Aug 20, 2019

Looks like this corresponds to the sandbox_config param: https://www.terraform.io/docs/providers/google/r/container_cluster.html#sandbox_type

We should:

  1. Add a new boolean variable sandbox_enabled which defaults to false (only on beta clusters).
  2. If sandbox_enabled is true, inject the sandbox_config block on the cluster (with gvisor as the sandbox type). Note that this should be done using a dynamic block, like how workload identity was handled.

@morgante morgante changed the title add sandbox flag for node-pools Add sandbox flag for node-pools Aug 20, 2019
@paulpalamarchuk paulpalamarchuk self-assigned this Aug 21, 2019
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Aug 21, 2019
 * Add `sandbox_enabled` variable to use Sandbox (Fixes terraform-google-modules#240)
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Aug 21, 2019
 * Add `sandbox_enabled` variable to use Sandbox (Fixes terraform-google-modules#240)
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Aug 23, 2019
 * Add `sandbox_enabled` variable to use GKE Sandbox (Fixes terraform-google-modules#240)
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Aug 27, 2019
 * Add `sandbox_enabled` variable to use GKE Sandbox (Fixes terraform-google-modules#240)
@paulpalamarchuk
Copy link
Contributor

sandbox_config has to be moved to the node_pool resource, because "GKE Sandbox can't be enabled for the default node pool"

paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 14, 2019
 * Moved `sanbox_config` to `node_pool` resouce (Fix terraform-google-modules#240)
 * Created test for sandbox (Fix terraform-google-modules#252)
 * Updated docker image version
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 14, 2019
 * Moved `sanbox_config` to `node_pool` resouce (Fix terraform-google-modules#240)
 * Created test for sandbox (Fix terraform-google-modules#252)
 * Updated docker image version
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 14, 2019
 * Moved `sanbox_config` to `node_pool` resouce (Fix terraform-google-modules#240)
 * Created test for sandbox (Fix terraform-google-modules#252)
 * Updated docker image version
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 14, 2019
 * Moved `sanbox_config` to `node_pool` resouce (Fix terraform-google-modules#240)
 * Created test for sandbox (Fix terraform-google-modules#252)
 * Updated docker image version
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 14, 2019
 * Moved `sanbox_config` to `node_pool` resouce (Fix terraform-google-modules#240)
 * Created test for sandbox (Fix terraform-google-modules#252)
 * Updated docker image version
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 14, 2019
 * Moved `sanbox_config` to `node_pool` resouce (Fix terraform-google-modules#240)
 * Created test for sandbox (Fix terraform-google-modules#252)
 * Updated docker image version
@aaron-lane aaron-lane added the enhancement New feature or request label Oct 14, 2019
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 17, 2019
 * Moved `sanbox_config` to `node_pool` resouce (Fix terraform-google-modules#240)
 * Created test for sandbox (Fix terraform-google-modules#252)
 * Updated docker image version
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 18, 2019
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 18, 2019
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 18, 2019
paulpalamarchuk added a commit to paulpalamarchuk/terraform-google-kubernetes-engine that referenced this issue Oct 18, 2019
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this issue Jul 15, 2024
 * Add `sandbox_enabled` variable to use GKE Sandbox (Fixes terraform-google-modules#240)
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this issue Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment