-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Support for FUSE CSI driver with GKE Autopilot #15817
Support for FUSE CSI driver with GKE Autopilot #15817
Comments
@chillerm
I cannot create a new Autopilot cluster with version 1.23 and verify this behaviour because Autopilot cluster only supports creating clusters of version 1.24 or later at this moment. When creating a new cluster with version 1.24 without specifying resource "google_container_cluster" "cluster" {
name = "test-cluster"
location = "us-central1"
initial_node_count = 1
enable_autopilot = true
} Retrieve information about the newly created Autopilot cluster: ❯ gcloud container clusters describe test-cluster --region us-central1
addonsConfig:
dnsCacheConfig:
enabled: true
gcePersistentDiskCsiDriverConfig:
enabled: true
gcpFilestoreCsiDriverConfig:
enabled: true
gcsFuseCsiDriverConfig:
enabled: true
kubernetesDashboard:
disabled: true
networkPolicyConfig:
disabled: true
... |
Fixing this issue is likely as simple as removing the "conflicts with" from the TF provider field |
Thanks, I submitted the PR to relax the validation logic regarding conflicts with Autopilot clusters. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
GKE supports adding FUSE mounts with both autopilot and non autopilot clusters. There is currently code in the Terraform provider that prevents this combination, even though it is supported by the underlying APIs.
As a work around for this, we have configured an autopilot cluster, and then run the additional step below to enable FUSE.
gcloud beta container clusters update ${CLUSTER} --update-addons GcsFuseCsiDriver=ENABLED --region=${REGION}
Provider details below:
Currently this results in the below error:
New or Affected Resource(s)
Potential Terraform Configuration
References
b/300237991
The text was updated successfully, but these errors were encountered: