Questions tagged [google-kubernetes-engine]

Google Kubernetes Engine is a cluster manager and orchestrator for running Docker containers. It schedules your containers into the cluster and manages them automatically based on requirements you define (such as CPU and memory). It's built on the open source Kubernetes system, giving you the flexibility to take advantage of on-premises, hybrid, or public cloud infrastructure. It was formerly called Google Container Engine.

553 questions
1
vote
1 answer

Kubernetes with cert-manager and nginx

I am attempting to setup jetstack/cert-manager on kubernetes. This will provide the certificates for multiple of my subdomains. It has worked great until I needed to create an nginx.conf file. What happens now is that all the requests from…
1
vote
2 answers

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: * kubernetes_pod.test: 1 error(s) occurred: *…
1
vote
1 answer

Use Vault to manage Kubernetes secrets

We are using Kubernetes on Google Kubernetes Engine - we currently have secrets added manually with the kubectl secret CLI. To make the secrets management more secure and easier across the team, we installed a Hashicorp Vault instance on a separate…
maxime
  • 140
  • 2
  • 6
1
vote
1 answer

Best Cloud SQL Proxy setup in Kubernetes Cluster

Based on its github page, it is recommended to be set up as a sidecar container as opposed to a cluster service. My question would be, is there any possible issues (e.g. performance, no. of connections) if I have a lot of pods that has cloud sql…
1
vote
1 answer

Gcloud: no available volume zone after update to regional cluster

I have executed the following command on a on this point in time three times mirrored regional cluster: gcloud container clusters update proto-cluster-ha-1 --zone europe-north1 --node-locations europe-north1-a Before the execution the cluster was…
1
vote
1 answer

Google Kubernetes Engine cluster creation using SharedVPC

We have been working for some months in creating an internal network across all our projects in Google Cloud by using SharedVPC and we have encountered no problems whatsoever while setting up compute instances under the different subnetworks…
1
vote
0 answers

Slow traceroute from GKE pod to GCE VPS

I've been troubleshooting issues with high latency on my GKE pods, and a traceroute yields results like the following when poking the database server for that cluster (which is a GCE VPS, but not part of the cluster): $ traceroute -n -q5 -w30…
1
vote
3 answers

Is there a fast way to query for running pods from inside a Kubernetes node?

One can use kubectl describe pods to obtain a list of pods and then post-process to determine the nodes that these pods are running on. However, this command takes over 1 second to run. If I am sshed into a particular Kubernetes node, is there a…
merlin2011
  • 273
  • 1
  • 12
1
vote
2 answers

ingress google compute cloud ip

I'm trying to setup Ingress to serve from a static IP that I have created with gcloud. However it seems that Ingress does not take that configured one but picks a random new one. The name of that IP Address is homefully-ingress-root and it is…
1
vote
1 answer

Stackdriver Logging doesn't recognize time field in JSON log

I'm using Google Kubernetes Engine (GKE) in conjunction with Stackdriver Logging. The Stackdriver's documentation says there are some special fields used by Logging agent to set fields in the LogEntry object. As regard to severity field, it works…
1
vote
2 answers

How to make an internal load balancer in a google cloud kubernetes instance be accessible from another kubernetes instance in different regions?

I am trying to expose a service inside of a Kubernetes cluster in one Google Cloud Region (us-east) and have it accessible to another Kubernetes cluster in a different region (us-central). I would highly prefer this traffic not use any public IPs…
1
vote
1 answer

Google Cloud Kubernetes pod / job history

I'm looking for a way to see the events that happened in my GCK. Is there a page on Google cloud to see all the pod / job launched today with theirs names and ids ?
1
vote
1 answer

GKE lost node tag and static ip after auto-upgrade

I have 4 nodes in 2 node pools on GKE. One of them has static ip(to access aws service though whitelist), so I tagged this node by hand using kubectl label. I found when enabling auto-upgrade, after upgrade, this node will be disappeared(destroyed /…
chux0519
  • 51
  • 1
  • 1
  • 5
1
vote
2 answers

google cluster giving authentication scope error

I have a free tier account but whenever i try to create a container cluster i am getting below error from one of the script (gcloud.container.clusters.create) ResponseError: code=403, message=Request had insufficient authentication scopes. for…
1
vote
1 answer

GKE - Kube-DNS stubDomain resolution to VPN network not working

New to GCloud and GKE and having a frustrating time with DNS. We have a VPN between our office and GCloud running a Shared VPC. Existing firewall rules seem to work fine. We can ping both ways, we can ssh to Google successfully. So now from within…