Questions tagged [google-kubernetes-engine]
The google-kubernetes-engine tag has no usage guidance.
14
questions
3
votes
0
answers
495
views
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 ...
0
votes
0
answers
16
views
Autopilot GKE Nginx Ingress not working
I have installed the nginx ingress controller on autopilot GKE.
I have a frontend nginx server running and a backend application. I am using the rewrite annotation. My ingress looks like so:
rules:
...
0
votes
0
answers
10
views
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 ...
0
votes
1
answer
66
views
Google Kubernetes Engine's auto-pilot mode does not grant nodes Google Storage write access
I am trying to use the workflow orchestrator Snakemake with a Google Kubernetes Engine (GKE) autopilot cluster. My workflow needs to upload files to Google Cloud Storage buckets within the same ...
0
votes
1
answer
9
views
Why is my GCP managed Cert not working with kubernetes
I have the following that seems to work...
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: test-ingress
namespace: test
annotations:
kubernetes.io/ingress.global-static-ip-...
0
votes
1
answer
83
views
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 ...
0
votes
0
answers
31
views
Is it possible to block project-wide SSH keys for VMs at project level in GCP?
I need to implement block project-wide SSH keys for VMs at project level in GCP?
I can see it can be done on individual nodes, but not for stuff like dataproc or gke nodes/group, or any GCP managed ...
0
votes
0
answers
21
views
Will the data be gone gone if the node goes down when using persistent volume? And how to prevent if that's the case?
I have created a cluster in Gke. I have created a presistant volume. In the host path I have given the path. And as I can understant It will be created in a worker node. What if the node goes down! ...
0
votes
0
answers
172
views
GKE - Persistent Volume not able to mount to the if cluster have less than 4 nodes
I have a simple storage setup:
[ GKE [ NFS Server -> PV -> PVC -> Deployment (Min 2 pods-HPA) ] ]
GKE version: 1.19.12-gke.2101
The GKE cluster has 4 nodes before and I resize down to 3 nodes ...
2
votes
1
answer
171
views
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 ...
1
vote
1
answer
160
views
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 ...
1
vote
3
answers
1k
views
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 ...
0
votes
1
answer
209
views
Jenkins and Kubernetes CLI plugin and GKE
I'm trying to use Jenkins Kubernetes CLI plugin from https://plugins.jenkins.io/kubernetes-cli/ to let deploy artifacts from Jenkins to GKE cluster.
Expected Behavior
Get cluster info on kubectl ...
3
votes
1
answer
111
views
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 ...