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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

GKE Auto cluster creation failing with DNS error

GKE Cluster creation is failing with below error `DNS API error: Failed creating DNS Managed Zone with name "gke-gke-webapp-poc-a769c313-dns", setClusterHash - false, error - googleapi: ...
Zama Ques's user avatar
  • 1,502
0 votes
1 answer
21 views

install istio on GKE Autopilot 1.27.3-gke.100

I have a GKE autpilot cluster in version 1.27.3-gke.100 and I want to install istio in it. The cluster was created without the tag --workload-policies=allow-net-admin. How do I enable it on an ...
Miquel puig mena's user avatar
0 votes
0 answers
16 views

Cannot write Micrometer metrics to Google Stackdriver Monitoring: Permission Denied

I am receiving io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission monitoring.metricDescriptors.list denied (or the resource may not exist). at io.grpc.Status.asRuntimeException(Status....
Stefano L's user avatar
  • 1,495
0 votes
1 answer
10 views

GKE certificate failing to read the secret created

my application is working on the given IP address as shown in the Services and Ingress section of Kubernetes Engine. i was able to create certificate and secret but message i am getting is secret does ...
EaswarD Sharma's user avatar
0 votes
1 answer
12 views

How to model a StatefulSet with regional PVCs?

We have a three-node GKE cluster. One node per zone. We have a StatefulSet with three replicas. Each with their own PVC. Now the PVCs on GKE use a regional storage class, but we see that the volumes ...
Moritz Schmitz v. Hülst's user avatar
-1 votes
0 answers
27 views

Helm Rollback Behavior in Kubernetes: Pipeline Status Confusion

Issue Description: When deploying changes to a Kubernetes cluster using Helm, a safety mechanism is implemented. If a pod experiences a crash loop that lasts for 300 seconds, Helm triggers an ...
AKASH JAISWAL's user avatar
0 votes
2 answers
40 views

How to set up Kubenetes not mark the pod as running while not all containers ready

This is probably a basic question: when I use kubectl rollout start deployment ... to roll start my pods, I find the POD is marked as Running state while there are still more containers not up yet. If ...
Shawn Cao's user avatar
  • 119
0 votes
1 answer
29 views

Whitelist filter with k8s Gateway API GCP

k8s Ingress allows to filter IPs through annotation nginx.ingress.kubernetes.io/whitelist-source-range. How can i to do the same through Gateway Api in GCP? https://cloud.google.com/kubernetes-engine/...
Capybara's user avatar
0 votes
0 answers
13 views

Using ansible modules to create gke clusters failing

I am using Ansible' to create GKE` cluster using the below module https://docs.ansible.com/ansible/latest/collections/google/cloud/gcp_container_cluster_module.html It was working earlier ...
Zama Ques's user avatar
  • 1,502
0 votes
0 answers
19 views

Kubernetes Scheduling: Preference of nodes on one another [closed]

I have a GKE cluster with multiple node-pools with multiple business use cases, i want to separate workloads onto particular node-pools. But if the specified node-pools reaches the specified maximum ...
raghu_manne's user avatar
0 votes
1 answer
86 views

Google Cloud Console CPU Used Finding Issue

I have a GCP project where I create a 2 GKE cluster. CluserA (2 node, 8 Core CPU). Total 16 Core Used. ClusterB (0 node, 0 Core CPU). Can Not Create or Scale Up node for limitation of limitation of ...
Jahadul Rakib's user avatar
0 votes
0 answers
44 views

GKE resources recreated on every `terraform apply` without any configuration changes

I'm encountering a behavior with the Google Cloud Terraform provider where GKE resources are being recreated every time I run terraform apply, even though there are no configuration changes. I've ...
dkargatzis's user avatar
0 votes
0 answers
32 views

ExpressJS request body suddenly modified with nested object in Node 18

I experienced this strange issue when working with ExpressJS using Node 18 deployed on GKE. This issue happened after I upgraded the Node version to 18, prev was in 14 and all was fine. I have a POST ...
kusiaga's user avatar
  • 683
0 votes
0 answers
8 views

GKE Helm Gitlab-CI image tag adding additional character ':'

I'm completely lost on this one. I'm using gitlab ci to pipeline updates into a GKE cluster managed with helm. I have 2 namespaces for different environments on the cluster, 2 different pipelines in ...
Jowz's user avatar
  • 409
0 votes
0 answers
23 views

GKE Deprecated APIs called

I have this warning message from Google Console for my GKE cluster API clients in your cluster have recently attempted to call APIs that were removed in v1.25 and are no longer available on the ...
Arun Babu's user avatar
2 votes
0 answers
98 views

Allow GKE to access the DB inside the VM GCP Compute engine

I have a GKE Cluster and a Compute engine(windows). Compute engine has DB in it. Both GKE and compute engine are in same region, VPC network, subnet. DB, VM firewall has the allowed IP address for GKE ...
Ishika Jain's user avatar
0 votes
1 answer
40 views

Unable to reach a service endpoint from a pod deployed in a GKE cluster to another pod within the same cluster

I'm encountering an issue with network communication between pods in my Google Kubernetes Engine (GKE) cluster. I have two pods within the same cluster, and I'm trying to make HTTP requests from one ...
prabhudotpy's user avatar
0 votes
1 answer
31 views

GKE won't scale up because of mysterious unbound pvc's

The cluster logs say it won't scale because "pod has unbound immediate PersistentVolumeClaims". And they even give a pod. When I look, that pod has it's pvc bound and looks fine. I even ...
Jack-of-some's user avatar
0 votes
0 answers
41 views

High Availability of GKE regional Cluster

We have regional cluster in GKE, where our workloads are deployed in one of the zone. In case of failure in that specific zone will GKE automatically migrate our workloads in another zone? I have read ...
Deepak Mishra 's user avatar
0 votes
1 answer
20 views

Defining a service in setup of Jenkins on GKE using Helm

I'm trying to deploy a Jenkins on Google Cloud (GKE) using Helm as described in https://github.com/jenkinsci/helm-charts/tree/main/charts/jenkins What changes in the file values.yaml have I to do in ...
BT3's user avatar
  • 443
1 vote
1 answer
66 views

I'm getting error :Minikube failed to start

I have Minikube installed in a virtual machine. When I run it using the minikube start --vm-driver=none command, it functions perfectly. As a result of running minikube status, I got: running kubelet ...
Martin rudez's user avatar
1 vote
1 answer
28 views

How to use cloud-sql-proxy manually using --login-token, --token and --auto-iam-authn?

Even though the user (not a service account) already have the Cloud SQL Client roles/cloudsql.client and Cloud SQL Instance User roles/cloudsql.instanceUser, the IAM account is added to the database ...
pocesar's user avatar
  • 6,910
1 vote
1 answer
46 views

gcs_fuse_csi_driver_config unsupported block type

This is supported here: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster#gcs_fuse_csi_driver_config and here: https://github.com/GoogleCloudPlatform/gcs-...
Nathan McKaskle's user avatar
4 votes
1 answer
32 views

Can't connect Google Service Account with Kubernetes Service Account

I've been following this guide to set up a Kubernetes Cluster on GCP with Workload Identity, and I'm completely stuck with service account permissions. gcloud container clusters create test-cluster \ ...
jimbofreedman's user avatar
0 votes
0 answers
26 views

Unable to load AWS credentials from environment variables AWS_ACCESS_KEY_and ID AWS_ACCESS_KEY

I have spring boot webapp to deploy in GKE and database is on AWS aurora db. Then I need inside my manifest I use 'aws-iam-token'. This is my Deployment: #Deployment apiVersion: apps/v1 kind: ...
Remos's user avatar
  • 21
0 votes
1 answer
37 views

How to execute a shell command in Pod B from Pod A using Kubertenes client in GKE

I have a server deployment with Horizontal scaling. The deployment will have 3-5 pods at any given time based on the load. I use volume mapping to pass configuration data to the deployed server pods. ...
Navin Vinayagam's user avatar
1 vote
0 answers
32 views

How can I get memory usage rate with GKE Kubernetes metrics?

I wanna get memory usage rate(percentage?) of GKE cluster and display on the Grafana dashboard. I wrote Prometheus query something like this. sum(kubernetes_io:node_memory_used_bytes{cluster_name=&...
ksy's user avatar
  • 13
0 votes
1 answer
26 views

In HttpRoute resource, use regexMatch captured group in URLRewrite

I am moving from an nginx ingress controller to a Gateway controller in GKE. In my Ingress resource, I do a URL rewrite using the nginx.ingress.kubernetes.io/rewrite-target annotation. In the rewrite, ...
David Gourde's user avatar
  • 3,739
-1 votes
0 answers
64 views

Google Cloud usa-virginia failing to communicate with Cloudflare WAF IP

Out of the blue, requests started failing for my uptime checks across multiple GKE clusters to a web application that is being proxied by Cloudflare. I was able to confirm that when I resolve my ...
Bryan's user avatar
  • 6,680
2 votes
1 answer
37 views

How to limit the request body size when using GKE Gateway controller?

I'm on GKE and I want to migrate from an nginx Ingress to a Gateway + HttpRoute. I was using the nginx.ingress.kubernetes.io/proxy-body-size annotation to limit the size of the request body at the ...
David Gourde's user avatar
  • 3,739
0 votes
2 answers
69 views

google cloud kubernetes ingress not redirecting to https

i deployed a django application in google cloud kubernetes, its all working i can access my site from https and use it. but when i type in the url the domain it opens with http, if i write https i can ...
heryk2232's user avatar
0 votes
1 answer
143 views

How to Solve Not Compatible Python Libraries on Google Kubernetes Engine?

During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/env/lib/python3.7/site-packages/gunicorn/workers/sync.py", line 135, in ...
Kuth's user avatar
  • 15
0 votes
0 answers
21 views

kubectl fails to fetch Argocd resource of type Application when kubectl inside a container

We have a gke cluster and we have installed ArgoCD on it. When we run the command locally to get applications: kubectl get applications -n argocd the list of Application resources can be seen. Then, ...
Muhammad Hasan's user avatar
0 votes
1 answer
31 views

what is meaning of spot labels and how to edit node pool on GKE

why there is 2 labels related spot or not: cloud.google.com/gke-provisioning: spot cloud.google.com/gke-spot: "true" what is the allowed values for this cloud.google.com/gke-provisioning ...
Adi Ep's user avatar
  • 555
0 votes
0 answers
24 views

GKE Firestore 403 PermissionDenied error with a Kubernetes service account

So we have a Kubernetes cluster setup (with namespace dev) in GCP, which has some nodes, and one of those nodes has a pod running which runs a python application in a docker container. The Kubernetes ...
Aditya Singh's user avatar
-2 votes
1 answer
25 views

case missing gke-spot label is it spot=false?

I need to know id node is spot or not. I found I can collect this data from node labels but case inside node details there is no GKE key label: cloud.google.com/gke-spot: "true" / "...
Adi Ep's user avatar
  • 555
0 votes
0 answers
45 views

grafana alert delete rules with file provisioning

I am trying to delete the alerts from my GKE cluster which is deployed with a file provisioning template. below is my yaml to delete multiple alerts at a time with respective UID's. But I get " ...
hemanth krishna's user avatar
1 vote
0 answers
60 views

Cloud function access GKE with control plane authorized networks

I have a cloud function that accesses the GKE cluster and gets info about it. Before control plane autorized networks was setuped all worked good with just SA, but after it was setuped obviously CF ...
DISCO's user avatar
  • 183
2 votes
0 answers
29 views

Golang : Use GCS from GKE

I am looking to enable a Golang application deployed in GKE to use the workload-identity approach to fetch data from the GCS I have created the workload-identity account but I am not finding a way to ...
Arpit's user avatar
  • 561
-1 votes
0 answers
44 views

GCSFuse mounting issue

I was using gcsfuse version 0.41.1 to mount all the buckets in Google cloud and it was working fine until I updated gcsfuse version to 1.0.1. I specified all the command to download gcsfuse and ...
Aakash's user avatar
  • 1
1 vote
1 answer
124 views

GKE Ingress with internal load balancer is UNHEALTHY

Here is my deployment apiVersion: apps/v1 kind: Deployment metadata: name: test namespace: default spec: replicas: 2 selector: matchLabels: app: test template: metadata: ...
Bhaskar T's user avatar
1 vote
1 answer
76 views

ERROR: gcloud.exceptions.Forbidden: 403 Missing or Insufficient Permissions Error Occur? [duplicate]

when I attempt to use Google Cloud Platform to conduct an action for which I don't have authorization. I'm getting below error Why Does the gcloud.exceptions.Forbidden: 403 Missing or Insufficient ...
ThomThomas's user avatar
-1 votes
0 answers
40 views

Why is Istio egress gateway destination ip address not working?

I would like one of the controllers to access the remote control plane of k8s in GCP. The controller is working on a different cluster. Also the cluster with the controller is running Istio and I ...
Jakub Trochim's user avatar
0 votes
0 answers
57 views

Django, gunicorn workers, scaling on Kubernetes

Kind of related to this post, we're in a similar position where we have a django application using gunicorn WSGI running on a Kubernetes cluster. I have read the official docs on how to configure num ...
sc-leeds's user avatar
  • 419
1 vote
1 answer
21 views

Shipping GKE container logs to memorystore

I have a GKE cluster which has some applications running. Those application log to stdout for performance reasons. I know GKE comes with fluentbit for logging. I was wondering if there is a way to get ...
saeed ektesabi's user avatar
0 votes
0 answers
18 views

Kubernetes client python API 401 accessing pod autoscalers

I've got a python process that will update values on the horizontal pod autoscalers. However, when I'm running the command I'm seeing 401 errors; Exception when calling AutoscalingV1Api->...
markwalker_'s user avatar
  • 12.2k
0 votes
1 answer
71 views

GKE - "Migrate to updated APIs" errors

I have a similar problem to this post: GKE - "Migrate to updated APIs" but cannot find any resources for it The GKE cluster says that the gkebackup/agent calls the /apis/policy/v1beta1/...
Daniel Rusu's user avatar
0 votes
1 answer
28 views

How to implement monitoring.googleapis.com/v1 on terraform?

This implementation works fine on GKE, but I don't understand how to implement the same thing using terraform? apiVersion: monitoring.googleapis.com/v1 kind: PodMonitoring metadata: name: api ...
Narnik Gamarnik's user avatar
0 votes
1 answer
64 views

Google Cloud Task not able to connect to GKE

I have Google Cloud Task queue deployed in us-east4 and basic http task handler deployed in GKE. The handler service is exposed via Internal application load balancer. I can curl(http) to the IP of ...
Shuki's user avatar
  • 290
0 votes
1 answer
18 views

Will the promotional credits for GKE still apply individually if I create two separate billing accounts, both linked to the same payment profile?

The documentation says The cluster management fee of $0.10 per cluster per hour (charged in 1 second increments) applies to all GKE clusters irrespective of the mode of operation, cluster size or ...
Mikolaj's user avatar
  • 1,271

1
2 3 4 5
136