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
0 answers
16 views

Is the Spot VM terminates regional node or the whole cluster ? (GKE)

In the case of Spot GKE, If I get 3 nodes running over 3 regions or zones, will GCP terminate my GKE instance or the node on the region that needs resources? I'm running a Mongodb ops manager and I ...
Faulheit's user avatar
0 votes
0 answers
86 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
  • 101
0 votes
1 answer
14 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
79 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
64 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
65 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
38 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
20 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
35 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
291 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
174 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
43 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
31 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's user avatar
  • 101
1 vote
1 answer
474 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
88 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
31 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
66 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
43 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
105 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
916 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
175 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
54 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
  • 1
1 vote
0 answers
24 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
0 votes
0 answers
46 views

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 ...
legendv33r'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
0 votes
0 answers
313 views

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....
dippynark's user avatar
  • 233
0 votes
0 answers
51 views

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 ...
schoendorfer.m's user avatar
0 votes
0 answers
37 views

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's user avatar
  • 1
1 vote
1 answer
191 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
118 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
0 answers
73 views

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 ...
Rupert Lloyd's user avatar
0 votes
1 answer
167 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
52 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
0 votes
0 answers
143 views

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 ...
Sagi Mann's user avatar
  • 111
0 votes
0 answers
209 views

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, ...
Roman Kuzmin's user avatar
1 vote
1 answer
149 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
234 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
0 answers
59 views

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 ...
Zamalkawy's user avatar
0 votes
1 answer
242 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
578 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
94 views

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 ...
Andrew Magdy's user avatar
0 votes
0 answers
127 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
  • 234
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
  • 234
0 votes
1 answer
412 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
0 votes
1 answer
490 views

Google Cloud GKE evictable vs non-evictable memory

we have few pods inside Google Cloud K8S GKE and google metrics is reporting high memory usage in some of them but I cannot find why. Inside pod everything looks fine. We are using GKE version 1.21.13-...
rrob's user avatar
  • 1
0 votes
1 answer
107 views

How often managed kubernetes cluster should be upgraded?

We use managed Kubernetes cluster (GKE) and wonder how often the Kubernetes cluster should be upgraded. We use release channels: regular (dev/test), stable (staging), stable (production). Different ...
sacherus's user avatar
  • 101
0 votes
1 answer
387 views

gcsfuse terminating with error 1 on GKE Autopilot

I am trying to use gcsfuse from a kubernetes pods running in GKE Autopilot. I read there may be issues with GKE autopilot, but the error I got is different from what is typically reported. Is gcsfuse ...
mimizone's user avatar
0 votes
1 answer
330 views

Accessing internal GKE resources from external IP

In GKE you can use External Ingress Controller to expose a service to the world and if you want you can use Google Cloud Armor to manage traffic and if required deny it with codes 403, 404, 502. Lets ...
sanevi's user avatar
  • 1
0 votes
1 answer
453 views

How to send a file from Google Cloud Platform Kubernetes Pod to external FTP?

I have an issue when trying to upload a file using PHP FTP from my website that is deployed on the GCP Kubernetes Engine. And when I try to upload it manually from the Pod terminal using the ftp ...
Praditha's user avatar
  • 153
0 votes
1 answer
2k views

Cannot properly edit and save worker node specs in Kubernetes

I have a Kubernetes cluster setup using KubeAdm (Setup in EC2 instances in AWS Cloud). The CNI used is Flannel and the cluster is running quite well. My requirement is that I am trying to setup ...
arjunbnair's user avatar

1
2 3 4 5
12