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

Add custom routes to GKE pods

I have a system where pods attempt to access a specific subnet via a gateway VM. The topology looks something like this: Pod A (10.10.0.2) -> Gateway VM (10.10.0.1 - 11.11.0.1) -> VM B (11.11.0.2) Basically Pod A should be able to ping and interact…
2
votes
2 answers

Deploy Docker Image Hosted On Github Package Registry To Google Kubernetes Engine

So we have a private package registry in github that hosts our docker images. Now I want to use those images for deployment into GKE. Here is a sample of my github action workflow so far. name: Deploy API Deployments on: push: branches: …
2
votes
1 answer

GCP external HTTP Cloud Load Balancer with nginx-ingress on GKE

my goal is to have EXTERNAL HTTP CLOUD LOAD BALANCER with NGINX INGRESS in our GCP GKE. Im trying solution as Rami H proposed and Google developer Garry Singh confirmed here: Global load balancer (HTTPS Loadbalancer) in front of GKE Nginx Ingress…
2
votes
2 answers

Enforce a domain pattern that a service can use

I have a multi-tenant Kubernetes cluster. On it I have an nginx reverse proxy with load balancer and the domain *.example.com points to its IP. Now, several namespaces are essentially grouped together as project A and project B (according to the…
2
votes
0 answers

Kubernetes and Spring Boot Actuator, best practice for running application and management on different ports?

In our application we have been separating the management.server.port and the server.port so we can expose the web server easily via Ingress and Service objects and keep the management port only for the Kubernetes liveness and readiness…
2
votes
0 answers

K8s default-container annotation not working

I have a GKE cluster and some pods running on a spot node. For a pod with 2 containers, foo and bar and 1 initContainer, baz I added kubectl.kubernetes.io/default-container: "foo". Expected behaviour is when we do kubectl exec without specifying the…
mbxzxz
  • 366
  • 2
  • 14
2
votes
1 answer

Deploying an erigon mainnet archive node to a GKE cluster

I'm currently in the process of trying to deploy a mainnet archive node with an erigon docker image to a GKE cluster (thorax/erigon). I have successfully been able to deploy a Geth node with a similar configuration as below, but when trying to use…
2
votes
1 answer

externalTrafficPolicy Local on GKE service not working

I'm using GKE version 1.21.12-gke.1700 and I'm trying to configure externalTrafficPolicy to "local" on my nginx external load balancer (not ingress). After the change, nothing happens, and I still see the source as the internal IP for the kubernetes…
2
votes
2 answers

Migration existing Standard GKE to Autopilot GKE

I have Standard GKE cluster and want to migrate all my running services to new Autopilot cluster. I research official documentation and don't find anything how I can perform this migration
2
votes
1 answer

Why am I getting "401 unauthorized" sometimes in gcloud API on GKE?

I have a google kubernetes cluster running and I am trying to manually scale some pods with the python-client kubernetes SDK. I use the following command on my terminal to get my google account credentials: gcloud auth login Next, I connect to my…
2
votes
2 answers

airflow 2 helm chart - how to specify mysql connection string

I'm deploying Airflow 2 on GKE Autopilot using helm chart and have provisioned a Cloud SQL instance (MySQL) to be used as DB by airflow. I have created (using kubectl) a secret in K8s with this connection string as value and wanted to give that as…
2
votes
1 answer

Getting exception of node pool when trying to run [acm-terraform-blog-part1]

Error: error creating NodePool: googleapi: Error 400: Creation of node pools using node images based on Docker container runtimes is not supported in GKE v1.23. This is to prepare for the removal of Dockershim in Kubernetes v1.24. We recommend that…
amp
  • 31
  • 3
2
votes
1 answer

How to get GKE cluster Hash value to update GCP firewall rules

We are creating a GKE cluster using Terraform module and then deploying Istio on top of it using modules. But before deploying Istio we need to update the gke---master firewall rule which is automatically created with the…
2
votes
1 answer

GCP TCP Load Balancer with PROXY Protocol

I am trying to figure out how to enable the proxy protocol header in GKE. Usually, you can do it with gcloud: gcloud compute target-ssl-proxies update my-ssl-lb-target-proxy \ …
2
votes
2 answers

Specify service account name with namespace for kubernetes pod

I am trying to use workflow identity for my kubernetes cluster. I have created the service account on a new namespace. My issue is that I am not able to specify the name space when I am trying to add the service account name on the pod deployment…