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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

Kubernetes API returns 403 Forbidden from inside a pod with seemingly correct ClusterRole bound to pod Service Account

I have a Python script that runs inside a k8s pod (Google Kubernetes Engine 1.25) and queries K8S API to create VaultStaticSecret's resources. I'll paste Helm Chart templates for brevity: apiVersion: ...
Dima Medvedev's user avatar
0 votes
0 answers
29 views

All cluster resources were brought up, but: 1 nodes out of 1 are unhealthy

Unable to create a gke autopilot cluster using shared vpc . The same shared vpc works fine with standard private cluster . Repeated this multiple times with the same error. Followed google ...
Mujeeb Sayed's user avatar
0 votes
0 answers
38 views

Google Cloud Kubernetes reservations

Edit 17/2/2024 I thought I would simplify my question as I may not be describing the problem well enough. I was told by Google to use reserved instances to avoid ZONE_RESOURCE_POOL_EXHAUSTED. Reserved ...
Luke's user avatar
  • 101
0 votes
1 answer
37 views

GCP Workload Identity works for some workload, not for others even if K8s service account is the same

We deploy our microservices in two distinct GKE clusters, one for testing, other for production. Our workloads make use of workload identity. In "test environment" all works well, all ...
danidemi's user avatar
  • 151
0 votes
0 answers
24 views

Is a GKE Ingress sufficient as a proxy for gunicorn?

I am running a Python application behind Gunicorn in a container in GKE (Google Kubernetes Engine). The application sits behind a GKE Ingress, i.e., an HTTP(S) Load Balancer. The Gunicorn ...
user35042's user avatar
  • 2,711
0 votes
1 answer
179 views

How do I filter the command gcloud container operations list? What's the syntax?

If you have 20 GKE clusters, gcloud container operations list returns too much data. Google Cloud's official docs lack good examples of how to do filtering: Their docs just mention --filter=[...
neoakris's user avatar
  • 153
0 votes
0 answers
19 views

Deploying Multi-Cluster/Multi-Region Gateway AND have redundant stateful services with GKE Autopilot?

I want two clusters to each be in a different region so I have basic region redundancy. Some of the services I want to run are stateful (which includes keeping track of user sessions). I am not ...
ift-436t's user avatar
0 votes
0 answers
17 views

Possible to deploy service to GKE Autopilot cluster without YAML?

Is it possible to deploy to GKE Autopilot cluster without YAML and just command line? I have inherited a project where deployment generates command line to deploy to CloudRun. I am in the process of ...
ift-436t's user avatar
0 votes
0 answers
135 views

gke autopilot cluster creation failure

I am trying to create GKE Autopilot cluster and the creation fails. I see just this error. "All cluster resources were brought up, but: 1 nodes out of 1 are unhealthy". Not sure if there are ...
Sateesh Pula's user avatar
1 vote
1 answer
129 views

What CNI is used (and what are the alternatives) in GKE?

I'm confused with Google Cloud's documentation on GKE. In the Compare network models doc, it says GKE has a fully integrated networking model which suggests to me it has its own CNI implementation. ...
johny.bravo's user avatar
0 votes
0 answers
25 views

Argocd Sync issue error validating data: ValidationError(Deployment.spec.template.metadata):

I have deployed my app using terraform and I'd like to now sync it to my ArgoCD but I keep getting this error and I can't bypass it. error validating data: ValidationError(Deployment.spec.template....
SumMmGuy's user avatar
1 vote
0 answers
117 views

HEALTH CHECK not resolving for ClamAV hosted in GKE cluster

Couldn't resolve health check related issue for the clamAV:1.2 deployment hosted in the GKE cluster in the port 3310, 7357. Facing some backend services are in UNHEALTHY state, in the ingress after ...
Vikram R's user avatar
-2 votes
1 answer
86 views

Set up minikube installation with gke

I just want to set up minikube on kubernetes While installing facing an error Minikube start--kubernetes-version=vm-driver="hyperv'--hyperv-virtual-switch=minikube I want to resolve above error ...
Paul's user avatar
  • 15
2 votes
0 answers
584 views

What would lead to a "Cancelling deletion of pod" message?

I see these messages in my GKE logs several times a day... Cancelling deletion of Pod <pod-namespace>/<pod name> It looks like they are happening due to the taint-controller with a ...
Jty.tan's user avatar
  • 121
0 votes
0 answers
87 views

New VM is not getting attached to K8S Cluster using kubeadm join command

I have K8s cluster of 1 master and 2 Worker node working fine, having OS Rocky Linux. I added one more VM of same OS and installed all dependencies such as docker, containerd, kubelet, kubeadm, ...
Divyank's user avatar
  • 103
0 votes
0 answers
155 views

GKE and multiple VPN

I have a GKE autopilot cluster where I deployed a workload that needs to connect to two SQL databases via two different on-premise VPNs. The network is on another project and it is a shared VPC. The ...
Lic's user avatar
  • 101
0 votes
0 answers
239 views

Kubernetes outages potentially being caused by kube-dns

We've got a production kubernetes cluster that has been having a bunch of ~1-5 minute outages on a semi-regular basis. We're trying to troubleshoot, but running into various gaps of information/...
Jty.tan's user avatar
  • 121
0 votes
1 answer
32 views

GCP Automatic Instance Template replacement issue in Compute Engine

I'm using Google Kubernetes Engine where my cluster's node pool is connected to Compute Engine instances defined by instance templates. I'm controlling these instance templates by Managed Instance ...
rapago's user avatar
  • 1
0 votes
1 answer
224 views

Getting error while secrets for gke ingress

Using gke cluster but ingress is not loading a load Balancer error:error syncing to gcp: error running load balancer syncing routine secret does not exist I want to know the reason why iam getting ...
Martin rudez's user avatar
0 votes
0 answers
128 views

Google Cloud Load Balancer URL limit?

I've been in a process of migrating our application to use Gateway (gke-l7-global-external-managed). Part of deployment are the 'review' applications, e.g. apiVersion: gateway.networking.k8s.io/...
Gajus's user avatar
  • 851
0 votes
0 answers
96 views

GKE Arm-based cluster starts in invalid state

After I install a new GKE cluster on Arm-based VM it immediately starts in a failing state. Specifically antrea-controller-horizontal-autoscaler cannot be run as it has no toleration for Arm-based ...
Martin D's user avatar
  • 101
0 votes
0 answers
112 views

Accessing the Kubernetes API from a Pod

I am trying to access to Kubernetes API from a Pod using Java Client library. I have followed in cluster config example from below URL: https://github.com/kubernetes-client/java/blob/master/examples/...
Radha Gupta's user avatar
0 votes
0 answers
58 views

I want to check the storage used by GKE Node

I have created a GKE cluster with 20 GB of storage and it is runnning 4 pods. 3 of them are angular application and 1 is node applicaiton and 10.5GB is already used and only 3.96 GB is left. I wanted ...
Robin's user avatar
  • 1
0 votes
0 answers
72 views

GKE: metric server crashlooping (crosspost from r/googlecloud)

I have several (<10) gke clusters, all but one are all in the same condition and I can't figure out what and why is it happening. I hope to find someone that managed to solve the same issue :) Some ...
Luca Gervasi's user avatar
2 votes
1 answer
1k views

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=...
Martin rudez's user avatar
1 vote
1 answer
326 views

Kubernetes cluster with certificate authority

Certificate error after upgrade of kubernetes Error is SSL certificate problem:unable to get local issuer certificate After doing multiple modifications Now I'm getting above error.
Ruthew's user avatar
  • 11
0 votes
0 answers
59 views

Eventarc Triggers Not Receiving Events When GKE clusters are created

I want to create an eventarc trigger which can send payload messages to Cloud Run whenever a new GKE cluster is created.The code seems to be working when I created another eventarc trigger which send ...
Syam's user avatar
  • 1
0 votes
0 answers
51 views

Replacing arbitrary fields in Kubernetes YAML

I want to use configMap variables inside my Kubernetes YAML outside of my container specification. Basically, I am looking for a way to replace text in my configuration with the value of a configMap ...
dan1st is crying's user avatar
1 vote
1 answer
885 views

How to find the maximum number of nodes in a GCP Kubernetes cluster?

In a GCP Kubernetes cluster is there a command to find out the maximum number of nodes? I have a Kubernetes cluster and need to identify if I can fit my pods to the nodes since there is a taint ...
Phil's user avatar
  • 265
0 votes
0 answers
142 views

GKE ingress returns 502 with encrypted service

I'm on GCP and I've deployed ElasticSearch and Kibana into a cluster, using the ElasticSearch operator. I've created an external Ingress with a preshared certificate, to send traffic into the Kibana ...
Peter Lind's user avatar
0 votes
0 answers
46 views

Backup for GKE does not restore all volumes

I have manually triggered update of worker node pool in GKE but after update one of our database persisent volumes was recreated instead of just reattaching to pod on new node. We have backup for GKE ...
ItsNotFany's user avatar
0 votes
0 answers
97 views

Will I be charged for GKE Autopilot if I didn't run anything?

If I have installed Google kubernetes autopilot cluster and didn't install anything on it, will I be charged? Here https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-overview is a ...
user avatar
0 votes
0 answers
56 views

How to add gke node pool as backend to http loadbalancer in gcp

I tried with NEG but it has limitations to only point to zonal cluster.however i have regional cluster so want to point the node pool as backend to http loadbalancer.how can i do that?
Shrus's user avatar
  • 1
0 votes
0 answers
157 views

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 ...
Ninh Pham's user avatar
0 votes
1 answer
2k views

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 ...
Jared Beck's user avatar
1 vote
1 answer
261 views

Can't rebuild deployment with PersistentVolumeClaim

I want to create a MongoDB deployment with a PersistentVolumeClaim. apiVersion: v1 kind: PersistentVolumeClaim metadata: name: auth-mongo-pvc spec: accessModes: - ReadWriteOnce resources: ...
BPDev's user avatar
  • 113
0 votes
0 answers
63 views

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: ...
pida's user avatar
  • 101
1 vote
0 answers
31 views

Strange behavior of GCP Load Balancer

I had a strange behavior with google global lb. On the one zone traffic evenly , but on other zone with same load traffic loads pods not evenly. Configs at zones are the same. Can it appears to gcp ...
Danila Eliseev's user avatar
1 vote
0 answers
1k views

Is it possible to have multiple ingress paths under the same host that point to the same backend service

I'm trying to restrict access to certain paths on my service how can I accomplish this on kubernetes? I have a service that runs a basic API but it also runs an admin service. Is it possible to use ...
James's user avatar
  • 11
1 vote
1 answer
253 views

GKE pods to other VPC peered instance not reachable

I've created a VPC-native GKE private cluster. My Pod address range is 10.20.0.0/16 and my Service address range is 10.26.1.0/16. GKE is setup on vpc-8 private subnet (100.17.8.0/24). I need to ...
pbms's user avatar
  • 141
2 votes
0 answers
142 views

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 ...
Adam Marchewka's user avatar
0 votes
1 answer
242 views

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 ...
Sagi Mann's user avatar
  • 111
-1 votes
1 answer
63 views

Debug ASP.NET k8s services on GKE

Is there any way to remote debug ASP.NET kubernetes services on GKE? I tried to search related articles but I only found debugging local kubernetes services or them on AKS (with Visual Studio or ...
Ellisein's user avatar
1 vote
1 answer
203 views

Restore one protected application in GKE Kubernetes cluster in namespace with multiple apps

In a Kubernetes cluster I have several apps deployed in the same namespace called "default". An app consist of a webserver pod and a database pod. How to restore one single app in the ...
Ametad's user avatar
  • 131
1 vote
1 answer
404 views

kubectl not getting all pods

I am using Google Cloud Platform, and I have two different kubernetes clusters running on GKE. Now these clusters are zonal clusters, and are running on different zones. the issue is when I am using ...
jaafar Nasrallah's user avatar
0 votes
1 answer
337 views

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 ...
adhithia's user avatar
0 votes
1 answer
783 views

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....
Naran's user avatar
  • 1
0 votes
0 answers
171 views

What is the csi driver for google cloud?

For aws eks service there is helm chart for csi driver to handle volumes. aws-ebs-csi-driver What is the alternative for gke, google kubernetes engine? Please suggest.
Kalel's user avatar
  • 244
3 votes
1 answer
5k views

the gcp auth plugin is deprecated, how to skip this error?

I have install gke on a test account and configured the cli. kuebctl get pods is giving below warning. W0916 17:23:58.063534 67381 gcp.go:119] WARNING: the gcp auth plugin is deprecated in v1.22+, ...
Kalel's user avatar
  • 244
0 votes
1 answer
454 views

OpenVPN on Google Kubernetes Engine: expose private IPs to clients

Our scenario: We've got an OpenVPN server installed on a GKE pod with VPN clients that want to connect to our VPN. We need to expose to clients a service on another pod in our GKE cluster (an MQTT ...
Simone Pulcini's user avatar

1
2 3 4 5
12