Questions tagged [google-kubernetes-engine]

Google Kubernetes Engine (formerly known as Container Engine) takes care of provisioning and maintaining the underlying virtual machine cluster, scaling your application, and operational logistics like logging, monitoring, and health management.

Google Kubernetes Engine takes care of provisioning and maintaining the underlying virtual machine cluster, scaling your application, and operational logistics like logging, monitoring, and health management.

6757 questions
2
votes
1 answer

What is the Correct Terraform Provider Configuration for Google Cloud Platform Resources with Beta Arguments?

Terraforming any Google Cloud Platform (GCP) resource defined by any beta arguments requires the google-beta provider. Should the google-beta provider be used instead of or in tandem with the google provider? In other words, say a certain Google…
2
votes
1 answer

How to create a GKE node pool running as a service account in another project?

I have two GCP projects, A and B, and I want to create a cluster in project B with a node pool also in project B running as a service account in project A. I am able to create the cluster but when I try to create the node pool I get the following…
dippynark
  • 2,743
  • 20
  • 58
2
votes
1 answer

MountVolume.SetUp failed for volume "-token-m4rtn" : failed to sync secret cache: timed out waiting for the condition

I am having an issue on GKE where all this error is being spewed from all name spaces. Not sure what might be the issue or how to troubleshoot this. message: "MountVolume.SetUp failed for "volume-name-token-m4rtn" : failed to sync secret cache:…
David Essien
  • 1,463
  • 4
  • 22
  • 36
2
votes
1 answer

How can I check boot disk size consumption used in GKE?

I have been using a GKE cluster with 10GB of boot disk size for my pods. Yesterday, I have added two more pods and I have been getting warnings of node under disk pressure. I have read this might be due to the 10GB and I would like to know how to…
Javier Guzmán
  • 1,014
  • 2
  • 13
  • 27
2
votes
3 answers

Is there a kubernetes role definition to allow the command `kubectl rollout restart deploy `?

I want a deployment in kubernetes to have the permission to restart itself, from within the cluster. I know I can create a serviceaccount and bind it to the pod, but I'm missing the name of the most specific permission (i.e. not just allowing '*')…
yspreen
  • 1,759
  • 2
  • 20
  • 44
2
votes
1 answer

Am bit confused with the terms Interoperability vs portability in container world. Are containers portable or Interoperable or both?

I am a bit confused with the terms Interoperability vs portability in container world. Containers are designed to be portable to run the application on any environment but then does it also solve the problem of interoperability? I guess, I do not…
Metalhead
  • 1,429
  • 3
  • 15
  • 34
2
votes
2 answers

GKE Autopilot Not Connecting to Cloud Filestore

I have been trying to attach a PersistentVolume, backed by Cloud Filestore, to my Deployment in GKE Autopilot. The Filestore Instance is on the same network as the Autopilot cluster, though I am consistently receiving the following errors: "Unable…
2
votes
1 answer

Terraform | GCP | google_container_node_pool | node_count

Could anyone kindly explain the node_count Terraform argument below (from here)? node_count - (Optional) The number of nodes per instance group. This field can be used to update the number of nodes per instance group but should not be used alongside…
2
votes
1 answer

Sometimes failing to retrieve Application Default Credentials on GKE Autopilot in googleapis auth library

Some pods in my GKE Autopilot cluster aren't able to grab the Application Default Credentials to call other GCP services. I will apply a new deployment, and 1 or 2 out of the 3 pods won't be able to authenticate using the googleapis…
2
votes
0 answers

Setup a Single Solr exporter, for all instances of Solr Statefulsets running in different namespaces in a Kubernetes Cluster

In our Project, we are using Solr exporter to fetch Solr metrics like heap usage and send it to Prometheus. We have configured alert manager to fire alert when Solr heap usage exceeds 80%. This application is configured for all instances. Is there a…
2
votes
1 answer

HPA scaling is triggered during Spring boot startup. Current CPU metric in HPA is high though CPU utilization at node level is low

We have a Spring Boot application on GKE with auto-scaling (HPA) enabled. During startup, HPA kicks in and start scaling the pods even though there is no traffic. Result of 'kubectl get hpa' shows high current CPU average utilization while CPU…
2
votes
1 answer

GKE No cluster named 'cluster-1' in project-id

Missing clusters after resolving GCP billing. Gcp project had unresolved billing. This led to instances and k8 resources unaccessible. We resolved the billing. All instances and (k8) instance groups came back. Problem the clusters are nowhere to…
2
votes
1 answer

GKE and Graceful node shutdown with differences concerning pods in Shutdown state

I have two GKE clusters, both running 1.20.8-gke.900 for Control Plane as well as nodes, and using preemptible nodes. According to GKE documentation On preemptible GKE nodes running versions 1.20 or later, the kubelet graceful node shutdown feature…
user140547
  • 7,750
  • 3
  • 28
  • 80
2
votes
1 answer

Google Kubernetes Engine (GKE) default metrics-server deployment update

The metrics-server-v0.3.6 deployment that is installed into GKE clusters by default is using an outdated version of addon-resizer (addon-resizer:1.8.11-gke.0) that causes CPU utilization and throttling issues. See here The cluster running is on the…
2
votes
2 answers

Nodejs application using "node postgres" having a "Connection terminated unexpectedly" every 60min in GKE

I have multiple applications that run using Node.js and pg (node-postgres). The issue i have is that every app is getting the error "Connection terminated unexpectedly" every hour. Here is the error : > node ./dist/app.js App Started events.js:174 …