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.
Questions tagged [google-kubernetes-engine]
553 questions
4
votes
3 answers
Unable to access internet on pod in private GKE cluster
I'm currently unable to access/ping/connect to any service outside of Google from my private Kubernetes cluster. The pods are running Alpine linux.
Routing Tables
/sleepez/api # ip route show table all
default via 10.52.1.1 dev eth0
10.52.1.0/24 dev…

Evan Darwin
- 143
- 1
- 6
4
votes
3 answers
How ssh Kubernetes engine instances and check public IPs of Kubernetes engine?
How can I access through ssh to the machine running the Kubernetes Engine?
How can I check a public IP of the machines running the Kubernetes engine?

ThangTQ
- 41
- 1
- 2
4
votes
2 answers
Can I remove the external IP from my GKE cluster?
I've just started using Google Kubernetes Engine (GKE) and I love it.
I spent some time getting an Internal Load Balancer working so my app has a 10.128.0.0/16 IP.
Now I am wondering, can I remove the external IP from my cluster?
All I am finding…

Mike
- 311
- 2
- 5
- 15
4
votes
3 answers
Turn off a Cluster in Google Container Engine
How do I turn off a Google Container Cluster instead of deleting it?
I tried: Shutting down the VMs that were created by the cluster. Only to find a day later, that they were restarted.
The alternative is that delete the clusters and re-create them…

Unapiedra
- 143
- 1
- 5
4
votes
3 answers
How can I enable HSTS on the default Google Load Balancer coming with Google Container Engine?
I'd love to set up HSTS with my GKE cluster, as right now HTTP requests return a Google broken robot 404 page after setting this up in ingress.yml annotations:
kubernetes.io/ingress.allow-http: "false"
Apparently there are options for this in…

dain
- 155
- 1
- 8
4
votes
2 answers
Kubernetes - External Connection through single IP
I need to find a way to have 1 IP that is used by all pods everytime they need to connect to the "outside world".
FULL VERSION:
I'm trying to integrate my application with a Payments Gateway service. However, this service needs to whitelist my…

Zed_Blade
- 103
- 1
- 6
4
votes
4 answers
How to enable Stackdriver Monitoring and Stackdriver trace on existing GKE cluster?
Have a cluster setup with the following permissions.
I tried creating a node pool with new permissions, which seems to be able to enable some things. I didn't find the scope required for stackdriver trace permissions in the documentation located…

jimmiebtlr
- 141
- 1
- 4
4
votes
3 answers
Create Google Container Engine Cluster Without Default Node Pool?
When I create a cluster on Google Cloud's Container Engine, e.g. using
gcloud container clusters create my-cluster --zone=my-zone
a node pool ("default-pool") is created as well. I don't want this default pool to be created - I want to manually…

davewy
- 165
- 1
- 9
3
votes
1 answer
Running MQTT broker in Kubernetes (nginx-ingress-controller) with TCP over SSL
I'm currently trying to setup a MQTT broker (VerneMQ) on my kubernetes cluster (GKE).
At the moment I'm using nginx-ingress-controller with a Google provided L4 load balancer. The VerneMQ deployment and service are running in the cluster and a…

hengel28
- 31
- 1
- 3
3
votes
2 answers
ERROR: (gcloud.auth.activate-service-account) Could not read json file /root/gcloud-service-key.json: No JSON object could be decoded
I'm getting the below error when running CI/CD pipeline in GitLab.
$ echo "$GCLOUD_SERVICE_KEY" > ${HOME}/gcloud-service-key.json
$ gcloud auth activate-service-account gitlabci@bizao-hub.iam.gserviceaccount.com…

GihanS
- 131
- 1
- 3
3
votes
1 answer
CircleCI cannot specify region to deploy to in GKE
I have been tying to update a deployment in a GKE cluster using CircleCI. I was able to make container build and upload to GCR work just fine.
But I could not find a way to specify the GCP region when authenticating using the command such as gcloud…

Lester
- 597
- 4
- 16
3
votes
2 answers
Google Cloud Kuberbetes run-away systemd 100% CPU usage
Last week, after upgrading our GKE cluster to Kubernetes 1.13.6-gke.13, all of our nodes in the cluster started to fail due to high CPU usage. It's the Kubernetes software on the nodes themselves which uses up all the CPU, not the pods.
This is what…

Alexander Ljungberg
- 471
- 4
- 13
3
votes
1 answer
How to extract raw plain text logs from Stackdriver?
We need to extract the logs of GKE-hosted reverse proxies in a raw format that can be parsed by SEO log analysis tools. Unfortunately these tools flat out refuse to ingest CSV and JSON files, they only accept raw text as it would be in .log files…

Hattivat
- 71
- 6
3
votes
2 answers
Google cloud service account not found
I have an infrastructure running on google cloud using GKE.
Today the prometheus pods got evicted and were not able to recover. After describing the pod I found this error.
Warning FailedMount 2m17s (x42 over 95m) kubelet,…

Jorge Heleno
- 230
- 3
- 10
3
votes
0 answers
error unmarshalling config dump when trying to view my Istio Envoy config
I'm running Istio on Google Kubenetes Engine. I've been following this post to enable gRPC-web in Istio. I want to view the config of my Istio Envoy proxy to check that envoy.grpc_web is in it, but it gives me an error:
$ kubectl get pods -n…

Toby 1 Kenobi
- 287
- 2
- 13