Hello. Has anyone ever created a Private GKE Clust...
# general
p
Hello. Has anyone ever created a Private GKE Cluster? I'm looking for the the
privateCluster
option (as described in https://pulumi.io/reference/pkg/nodejs/@pulumi/gcp/container/#Cluster-privateCluster) but I can't find it in the
ClusterArgs
(https://github.com/pulumi/pulumi-gcp/blob/master/sdk/nodejs/container/cluster.ts), despite seeing it in the
GetClusterResult
interface (https://github.com/pulumi/pulumi-gcp/blob/master/sdk/nodejs/container/getCluster.ts#L105). If I set only the
privateClusterOptions
I get the following error:
Copy code
gcp:container:Cluster (my-cluster):
    error: Plan apply failed: googleapi: Error 400: Private cluster must be enabled if private endpoint is enabled., badRequest
Anyone ever had this? Am I missing something? Thanks in advance.
o
yes! We only use private clusters
let me get you some redacted code
p
I think I just found the issues. The private cluster requires a bunch of other options to be enabled together. Funny you replied now, I was coming here to say this hahaha
I'll paste here the stuff I found for future reference if someone needs. I think I'm about to finish it 🙂
o
cool!
we can compare notes if needed