Skip to main content

All Questions

0 votes
1 answer
916 views

Unable to connect GCP SQL Instance from GKE cluster

I have created a vpc-native cluster and I am trying to connect from a pod inside the cluster to a postgres SQL instance with a private IP. I am testing using a basic telnet 5432 command. The ...
sashok_bg's user avatar
  • 101
1 vote
1 answer
1k views

Create ingress firewall rule for GKE API

For testing purposes I want to make the GKE API endpoint publicly available. However, I can't seem to be able to create a firewall rule to allow this. I receive the error "source_ranges": ...
Niels Hofmans's user avatar
0 votes
2 answers
10k views

terraform apply error alreadyExists on untouched resources

I am starting a new terraform project, following the official guide: https://learn.hashicorp.com/tutorials/terraform/gke?in=terraform/kubernetes&utm_source=WEBSITE&utm_medium=WEB_IO&...
mangusbrother's user avatar
2 votes
1 answer
2k views

Terraform on gcloud: serviceaccounts is forbidden: User "system:anonymous" cannot create resource "serviceaccounts"

I am trying to write terraform code for bootstrapping a GKE cluster (with RBAC) on Google Cloud. The GKE cluster successfully created, but I want to create a service account as wel which I can reuse ...
Niels Hofmans's user avatar
0 votes
1 answer
426 views

How to use Terraform to create GKE cluster and deploy Kubernetes resources

I want to create a GKE cluster and then import it as an existing cluster to Rancher. For the second step I need to install some Kubernetes resources into the cluster. The cluster creation works fine. ...
Moritz Schmitz v. Hülst's user avatar
1 vote
1 answer
259 views

GPU on Terraform GKE Can't access efivars filesystem at /sys/firmware/efi/efivars, aborting

I'm trying to get a GKE cluster (Google Cloud Kubernetes), provisioned by Terraform, running with a GPU node pool. If someone can point me at what I'm missing to get the GPU node pool working, that ...
Adam's user avatar
  • 121
1 vote
2 answers
1k views

Unable to create Kubernetes resources with terraform

I have a working GKE Kubernetes cluster. I'm trying to use terraform to deploy new resources to it, but Terraform apply returns the following: Error: Error applying plan: 2 error(s) occurred: * ...
Fleuri's user avatar
  • 255
2 votes
1 answer
698 views

Creating a NAT gateway with Terraform fails with an error

I'm running a private GKE cluster and want to add a NAT Gateway so I can create firewall rules from requests coming from the cluster (by default, the public IP's for all nodes are ephemeral, thus hard ...
ButterDog's user avatar
  • 121
1 vote
1 answer
655 views

GKE can't tag cluster with Terraform config

I want to create similar configuration as described here: https://cloud.google.com/compute/docs/vpc/special-configurations#natgateway with Terraform but "no-ip" instances are in Kubernetes cluster. ...
user3069488's user avatar