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
2
votes
4 answers

Errors when using Google Container Engine (GKE) with Google Container Registry (GCR)

In setting up our company infrastructure on Google Container Engine, I'm attempting to place our Docker images in Google Container Registry. When I attempt to start a Deployment using the images hosted on GCR, I'm getting the following errors on…
2
votes
1 answer

Best practices for cluster separation on Google Container Engine / Kubernetes?

We're evaluating GKE and I'm wondering about the recommended strategy for dividing clusters. We have approx 20 sites for different clients in production at the mo. Should each project have its own separate clusters? One for prod and one for stage?…
Ludo
  • 1,099
  • 3
  • 10
  • 11
2
votes
2 answers

Pre-populating GCE persistent disks while building and/or before running Docker image on GKE

I would like to build a Docker container and then run it in GKE after mounting some directories from GCE persistent disks (PDs). For instance, I'd like for the application's (read-write) configuration files in /etc// to live longer than…
2
votes
2 answers

Understanding Java memory behavior in Docker

Our current Kubernetes cluster running in Google Container Engine (GKE) consists of n1-standard-1 machine types (1 virtual CPU and 3.75 GB of memory) running Debian GNU/Linux 7.9 (wheezy) which is maintained by Google. Due to increased load and…
Johan
  • 227
  • 4
  • 10
2
votes
1 answer

Kubernetes: Interactive Rails Console

I have a Rails server running with both a web and worker Deployment. One starts Puma, the other Sidekiq. How can I connect to an interactive rails console using my application's image running on my Kubernetes cluster?
2
votes
1 answer

Kubernetes upgrade rolled back machine type

My kubernetes cluster is running in Google Container Engine. Once before I changed the machine-type by using a different instance template. I am upgrading the kubernetes cluster with following command gcloud container clusters upgrade CLUSTER_NAME…
2
votes
2 answers

Running OpenVPN within k8s container

Suppose I have a k8s cluster whose services IP range is 10.198.240.0/20. Now I want this IP range to be accessible from another cluster or data center. Is it feasible to run OpenVPN within kubernetes POD so that this IP range is accessible via VPN?
2
votes
1 answer

gcloud service account oauth token timeout causing container service auth failure

First time question, and I am also new to attempting to configure/administer google cloud services. Please be gentle. My employer uses gcloud ontainer registry to store images, and on the client side, we use use gcloud docker pull ... commands to…
2
votes
2 answers

Traffic not routed back to GKE cluster from remote network via VPN

(Followup on GKE pod connecting via VPN?) I am trying to connect a GKE cluster to a remote network using a GCE VPN to a Cisco ASA 5510. Ping from GKE pod 10.248.0.26 -> remote node 10.99.193.115 arrives at 10.99.193.115 and the ASA says that the…
Bittrance
  • 3,070
  • 3
  • 24
  • 27
2
votes
1 answer

google cloud http(s) load balancing with kubernetes

The documentation here describes how to setup a http(s) utilisation based load balancer with kubernetes on google cloud platform. The question is how it actually manages to do utilisation based load balancing. For example, with the following…
2
votes
1 answer

Google Cloud egress traffic to china

Trying out Google Container Engine, and in my 'billing' section I see some traffic 'egress' charges for data from America to China. I have a web portal up. Does 'egress' traffic means anything that's coming out (i.e. even web traffic not just…
2
votes
1 answer

Error:unable to upgrade connection:Authorization error (user=kube apiserver, verb=create, resource=nodes, sub resource=proxy)

I have set up my cluster with my app but now I'm facing issue in my gke cluster Error:unable to upgrade connection:Authorization error (user=kube apiserver, verb=create, resource=nodes, sub resource=proxy)
2
votes
0 answers

Enabling GKE Backup on regional VPC peering Autopilot Clusters

We are trying to enable GKE Backup for our Autopilot Clusters, but we are encountering error while trying to run following command (with proper values that is): gcloud container clusters update CLUSTER_NAME \ --project=PROJECT_ID \ …
2
votes
0 answers

GKE Konnectivity agent error

Our GKE cluster started showing Konnectivity agent errors: connection read failure" err="read tcp 172.16.51.22:49332->172.16.51.8:10250: use of closed network connection" connectionID=1 and conn write failure" err="write tcp…
2
votes
1 answer

Pull images to Google Kubernetes Engine cluster from an artifact registry in another project?

We have a (GKE) kubernetes cluster running in "project A" that needs to get images from an artifact registry that is located in another project, B. How can I configure the project A GKE cluster to have access to pull images from the artifact…