Questions tagged [google-kubernetes-engine]
18 questions
6
votes
1 answer
Kubernetes deployement with minimum disruption to websocket connections
Problem statement: Make a deployment with minimum disruption to clients connected via websockets.
Stack: GKE (Regional cluster - 1.22.8-gke.200), helm, Node.js/websockets, HPA, Rolling Update.
Our Kubernetes Cluster is composed by micro-services…
thanosam
- 71
- 3
4
votes
1 answer
How can I expose Ingress service on 80 and 443 to the outer world
I used google compute engine to setup a Self Managed Kubernetes, While exposing ingress service via NodePort/LoadBalancer/EnternalIP, it is using default 30000 port range, But I want to expose it on 80 and 443 to the outer world. Please suggest How…
Radheyshyam Sen
- 43
- 4
2
votes
1 answer
mounting overlayfs within kubernetes POD - "cannot mount overlay read-only"
I try to "manually" mount an overlayfs within a Kubernetes POD, to create a copy-on-write layer on top of a shared persistent volume.
(For running a read-only postgres - postgres cannot run on a read-only filesystem because of locking.)
So I created…
peschü
- 131
- 4
1
vote
1 answer
How can I change the context of kubectl commands and helm?
Currently helm is installing to the wrong cluster on GKE, how can I install to a different cluster?
Evan Carroll
- 2,921
- 6
- 37
- 85
1
vote
1 answer
how to schedule container in GCP
I have 5 tasks in my project that need to be run periodically. Some of these tasks are run on a daily basis, some on a weekly basis.
I try to containerize each task in a Docker image. Here is one illustrative example:
FROM…
user33064
- 11
- 1
1
vote
1 answer
Using counted data source in non-counted provider block in Terraform
I'm new to Terraform, I need suggestion about handling one case where I need to use data from counted data-source to un-counted provider.
I need to fetch the gke-cluster context and pass it to provider helm/kubernetes to provision resources on it…
Learner
- 111
- 2
1
vote
3 answers
How to resolve a problem "certificate signed by unknown authority" in GKE on pulling image (a private registry) when a pod is created?
I generated a CA certificate, then issued a certificate based on it for a private registry, that located in the same GKE cluster. Put the server certificates to the private registry and the CA certificate to all GKE nodes and…
Max Koshel
- 21
- 1
- 6
0
votes
0 answers
How to modify a GKE Cluster with Terraform in place
I cant get my head around the following problem:
With Terraform I am creating different ressources in Google Cloud one of them is a GKE Cluster. Other ressources are deployments of infrastructure elements into this cluster like mongodb or gloo…
hypePG
- 1
0
votes
0 answers
Preventing HPA Auto-Scaling during Kubernetes deployments when using custom metrics
We have an app that automatically sets up Kubernetes HPA to our customers.
We are now using metrics from Prometheus as targets to HPA. These metrics are exported from our Java applications using the JMX exporter. We mostly use JVM internal memory…
brandizzi
- 101
- 2
0
votes
0 answers
How to Schedule a Pod in different Node in GKE
I have cluster running in gke standard mode
Here is the details
PROD Env GKE Standard Cluster running with 2 Node Pool and 9 Nodes
default-pool 1.28.3-gke.1286000 5 (1 - 2 per zone) e2-standard-2
xxxxxx-node-pool …
0
votes
1 answer
Pod to pod communication GKE
I have this terraform-kubernetes script terraform1
so prometheus scraping list of pods, and hitting /metrics based on custom resource Prometheus and PodMonitor rules
it's working fine locally using minikube,
but in GKE, it doesn't work,
podmonitor…
Kokizzu
- 123
- 6
0
votes
0 answers
Reverse proxy in front of Google Artifact Registry (GAR)
Using GAR, requires the usage of some "generic" URLs, like europe-west-1-docker.pkg//
We would like to use a custom URL and then load balance to the proper registry based on that URL/path. For example:
Requests to…
carrotcakeslayer
- 113
- 6
0
votes
1 answer
How do I figure out what cluster helm installed on Google GKE?
When I run a command like
helm install MyApp
How do I know what cluster it will install too using Google GKE?
Evan Carroll
- 2,921
- 6
- 37
- 85
0
votes
1 answer
Argo workflows health checks failing in GKE
I am trying to expose my argo workflows deployment to a domain but I keep getting Server Error when I access the domain: argo.example.com. I setup a GKE ingress and been trying to fix the health checks by redirecting http to https, which is why I…
Abe
- 121
- 1
- 4
0
votes
1 answer
ImagePullBackOff err while pulling docker image in different project in Google Cloud
I am trying to pull a private image from Artifact Registry repo in Google Cloud from a kubernetes cluster running in a different Google Cloud project using kubectl.
kubernetes version 1.20.15-gke.1000
The service account for the kubernetes has…
user1403505
- 101
- 1