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
1
vote
1 answer
Gcloud kubernetes nginx unable to find upstream host after cluster upgrade
I have just upgraded my cluster and nodes to v1.7.12 and recreated all pods successfully except for my nginx pod which keeps on failing with the error:
nginx 2018-02-17T08:38:07.965745644Z nginx: [emerg] host not found in upstream "gunicorn" in…

cr8ivecodesmith
- 111
- 3
1
vote
2 answers
Docker/Kubernetes change volume data without restarting container
We have application which is using some additional files from one catalog. Right now when some of this file is changed we need to log in to each application container clone repository and copy files to catalog. We want to automate this process…

user3069488
- 169
- 2
- 4
- 19
1
vote
1 answer
Control external IP address range for nodes in kubernetes cluster on Google Cloud
I would like to provide a whitelisted range for connections to a MongoDB Atlas instance running on Google Cloud. VPC Peering isn't yet available on Atlas for Google Cloud - Is it possible to provide a CIDR range for external IP addresses allocated…

Stan Bondi
- 123
- 1
- 7
1
vote
2 answers
Horizontal autoscaling rails on GKE - specifically - web server choices and differences with conventional deployments
Here's a great writeup on scaling with heroku (and it applies to traditional deployments).
Given that we want containerized applications to be single process, how do we get:
slow client protection
slow response protection
in a Kubernetes/GKE…

kross
- 133
- 8
1
vote
0 answers
Getting Google's Cloud SQL Proxy to Work
I'm following this example of how to get wordpress running on GKE connected to Google Cloud SQL via the Google Cloud SQL Proxy.
But either the documentation, or the proxy itself, is deficient, or I am :-)
Unfortunately, my Wordpress pod is failing…

Traiano Welcome
- 111
- 3
1
vote
1 answer
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. Problem is such when you do it manually with…

user3069488
- 169
- 2
- 4
- 19
1
vote
0 answers
How can I efficiently overwrite a persistent disk with a snapshot when the disk was created with dynamic provisioning?
I have a small cluster on GKE, and I use dynamic provisioning to allocate persistent disks for Postgres. These disks are snapshotted on a regular schedule. When an accident happens, what's the best way to overwrite the contents of a dynamically…

Echo Nolan
- 138
- 6
1
vote
1 answer
More nodes vs better CPU - which is better for what kind of situations?
I'm now trying to deploy my node.js app with nginx over Google Container Engine, which uses kubernetes. However, the least productive yet cheapest CPU, f1-micro, requires you to use at least 3 nodes in your cluster. The g1-small, the next cheapest…

Blaszard
- 352
- 2
- 6
- 14
1
vote
1 answer
kubernetes gluster volume failing to mount with error “failed to get the 'volume file' from server”
We are running a pod in kubernetes on container engine that just started to to fail in the container creating stage with the following error message?
Has anyone seen such an error before? Any suggestions on how to fix?
Mounting command:…

Jesse
- 111
- 5
1
vote
1 answer
Fixed IP pool when working with autoscale google container engine
I work with some third party APIs and they require me to send them IP in order for them to whitelist first before we can use it.
Now I'm migrating my apps over to Google Container Engine and the IP get assigned automatically.
Is there anyway for me…

Tuan Anh Tran
- 165
- 1
- 13
1
vote
1 answer
Docker compose on Google container engine
I'm trying to setup my project with docker-compose up -d on google container engine. This resulted in an error message
ERROR: The Docker Engine version is less than the minimum required by Compose. Your current project requires a Docker Engine of…

slachter
- 11
- 3
1
vote
1 answer
Running single replica Kubernetes service at public IP address and without load balancing
I am running a service in GKE/Kubernetes that exposes a single UDP port at a staric IP address. (I've promoted the static IP address from an ephemeral one in GCE.) If I deploy it with fields as follows the service is reachable.
spec:
type:…

Drux
- 656
- 1
- 9
- 24
1
vote
1 answer
Attaching to Kubernetes container (for Asterisk) in GKE leads to endless cycle of attach/detach
I have managed to deploy Asterisk to Google Container Engine (GKE) currently to the extent that a VoIP softphone can register. I'd now like to attach to Asterisk's container.
kubectl attach -it
however leads fast repetitions of Asterisk's…

Drux
- 656
- 1
- 9
- 24
1
vote
2 answers
Can Kubernetes service mount multiple “portions” of a single GCE disk at the multiple mount paths?
I am defining my first Kubernetes deployment and would like to define a container that mounts persistent storage at two points, say like this (in Deployment.yaml inside spec.template.spec.containers.-):
volumeMounts:
- name: volume1
mountPath:…

Drux
- 656
- 1
- 9
- 24
1
vote
1 answer
Country filtering (kubernetes, gcloud)
I'm right now using GKE with kubernetes and an nginx container to proxy different services.
My goal is to block some countries.
I'm used to do that with nginx and it's useful geoip module, but as of now, kubernetes doesn't forward the real customer…

VsM
- 123
- 4