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
0
votes
0 answers
GKE pods unable to resolve Cloud DNS CNAME record and unable to connect to services outside vpc
Currently I have a GKE and GCE setup in the same VPC and for some reason I'm able to resolve the CNAME record in Cloud DNS as well as connect to that service from the GCE (the service locate in AWS and we already have a VPN between those 2 VPCs).…
0
votes
1 answer
How to fix HPA deprecation warning on GKE?
Observed output
kubectl describe hpa
Warning: autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler
Attempted fix
Specified autoscaling/v2 in yml file, but warning…

Jared Beck
- 119
- 3
0
votes
0 answers
How to manage utility pods on GKE autopilot?
My company is going to migrate to GCP, and I found some issues with how we want to manage our infrastructure and projects.
Our stack is mainly based on Kubernetes, right now we have 2 clusters:
production
dev/test
In each cluster, we have deployed…

pida
- 1
- 1
0
votes
0 answers
GKE backup got struck in Creating phase and it's not throwing any error
GKE restore got struck indefinitely for many hours and it's not getting completed. I thought it might be because of my home network but it's still the same for my office network. I tried many steps but everything went in vein. I'm a gcp beginner…

legendv33r
- 1
- 1
0
votes
0 answers
Flux error: request to convert CR to an invalid group/version when removing CRD version v1
I am operating an internal Kubernetes platform and we are upgrading Gatekeeper from v3.9.0 to v3.11.0. This upgrade includes adding v1 to the CRDs of a number of custom resources in the mutations.gatekeeper.sh group (including Assign).
In order to…

dippynark
- 233
- 3
- 13
0
votes
0 answers
Warmup GKE Horizontal Autoscaler
I have an application hosted on Google Kubernetes Engine that utilizes a Horizontal Autoscaler to scale automatically to the current demand (e.g. 30% CPU). In general, this works very well and allows us to keep costs down. However, occassionally we…
0
votes
0 answers
GCP incorrectly blocks some of public IPs suddently today
We have some web/API services on GCP for a few years. Today, we found it's blocking some of public IPs suddenly without any notice, like 157.185.148.28, 157.185.145.180 ... Does any one know why?

key
- 1
- 1
0
votes
0 answers
how so I troubleshoot intermittent node/kubelt reboots on a GKE
I am running workloads on a spot GPU node pool & intermittently getting 'NodeNotReady' followed by a reboot/restart of the node (& loss of the the workload pod), however the node does not go away but reboots & the kubelet and becomes ready again…

Rupert Lloyd
- 1
- 1
0
votes
1 answer
Why GCP v2k-system namespace shows 200%+ memory usage?
Looking at my 1.23 GKE cluster under "observability", I see memory usage of 200%+. The breakdown shows most of it is by the v2k-system namespace, which AFAIK is GKE's internals. Why does it use over 2x memory than what it actually requests? I've got…

Sagi Mann
- 111
- 3
0
votes
0 answers
GKE cluster autoscaler does not scale up
I have a cluster which I recently upgraded from 1.22 to 1.23. On that cluster, I have a mongodb deployed via helm chart (v13.1.3) and some other custom pods. About 2 days after upgrading to 1.23, my mongo started crashing, restarted every 5 minutes…

Sagi Mann
- 111
- 3
0
votes
0 answers
Can't access Kubernetes service using curl (GKE Autopilot)
I have created GKE Autopilot private and deployed Prometheus to it. I have Prometheus service in metrics namespace.
The problem is that I can access this service with kubectl port-forwarding command, but I can't access it with following…
0
votes
0 answers
GKE Mulitple networking
I don’t find in GKE documentation a reference for supporting Multus or IPVLAN attachement , all I find is related to Anthos on baremetal
Could you please give us some indications how multi-networking is supported for Pods running on GKE ?
First is…
0
votes
1 answer
Restrict IP addresses Google APIs and Accesing from GKE (Google Kubernetes Engine) Request Denied
I created API Keys to enable Geocoding API, Maps JavaScript API and Places API with Restrict IP with Cloud NAT IP. My API Keys access from Kubernetes on GCP (Google Kubernetes Engine/GKE), when im test curl get response request denied because…

adhithia
- 1
0
votes
1 answer
Preserve client IP in GKE
I have a backend application behind an nginx ingress controller in a GKE cluster and I want to whitelist a certain IP only to access it. I added to the associated ingress this annotation:
nginx.ingress.kubernetes.io/whitelist-source-range:…

Naran
- 1
0
votes
0 answers
How to connect k8s deployment calls private VPC cloud function on Google cloud platform?
I'm trying to deploy my frontend container image on Kubernetes, and this frontend depends on the GCP cloud function. I want to make the flow more secure by using a virtual private cloud (VPC) feature on GCP.
What I have done:
I created a custom…