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

Change GKE cluster name

Is there a way to change the cluster name of a GKE cluster? I know that it is not possible with kubeadm clusters and would need redeployment with the desired name. Is that true in case of GKE clusters as well?
2
votes
1 answer

winston logs to EFK Stack on GKE

I'm writing my nodejs logs to a file using winston js and storing them on /tmp/logs volume on my host node on GKE. Now, I'm trying to add the EFK Stack to store them and visualize them but my problem is that I'm new to the whole logging process and…
2
votes
1 answer

Cipher mismatch error while trying to access an app deployed in GKE as HTTPS Ingress

I am trying to deploy a springboot application running on 8080 port. My target is to have https protocol for custom subdomain with google managed-certificates. here are my yamls. deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: …
2
votes
2 answers

How to configure gce to route paths (rewrite-target in Nginx)

I had a Kibana that was previously running behind the NGINX ingress controller using this Ingress configuration: apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: es-kibana-ing annotations: …
2
votes
1 answer

use Kubernetes service account from different namespace

I have created a service account SA1 in namespace NS1 and set a full configuration for SA1 (workload identity in GCP). I need to use the service account SA1 in pods from different namespaces. for now I have the pods in namespace NS1 using the…
gharbiBdr
  • 31
  • 4
2
votes
1 answer

Accessing a private GKE cluster via Cloud VPN

We have setup a GKE cluster using Terraform with private and shared networking: Network configuration: resource "google_compute_subnetwork" "int_kube02" { name = "int-kube02" region = var.region project =…
2
votes
2 answers

Forbidden after enabling Google Cloud Groups RBAC in GKE

We are enabling Google Cloud Groups RBAC in our existing GKE clusters. For that, we first created all the groups in Workspace, and also the required "gke-security-groups@ourdomain.com" according to documentation. Those groups are created in…
2
votes
1 answer

Integrate GCP with OpsGenie for Alerts

It may be a vague question but I couldn't find any documentation regarding the same. Does Google cloud platform have provision to integrate with OpsGenie? Basically we have set up few alerts in GCP for our Kubernetes Cluster monitoring and we want…
2
votes
2 answers

Monitoring Kubernetes Pods in Google Cloud

We have an application deployed on GKE with a total of 10 pods running and serving the application. I am trying to find the metrics using which I can create an alert when my Pod goes down or is there a way to check the status of Pods so that I can…
mikita agrawal
  • 571
  • 1
  • 12
  • 27
2
votes
2 answers

How to patch GKE Managed Instance Groups (Node Pools) for package security updates?

I have a GKE cluster running multiple nodes across two zones. My goal is to have a job scheduled to run once a week to run sudo apt-get upgrade to update the system packages. Doing some research I found that GCP provides a tool called "OS patch…
Mauricio
  • 2,552
  • 2
  • 29
  • 43
2
votes
1 answer

What is default value for allowVolumeExpansion on the default storage class in kubernetes?

What is the default value for the allowVolumeExpansion? I create my volumes through a statefulset from apiVersion: apps/v1 volumeClaimTemplates In the case that the answer is false, how can I change it to true? Potentially relevant info: the cluster…
Alex Skotner
  • 462
  • 1
  • 8
  • 18
2
votes
2 answers

Clean Ambassador Edge Stack install on GKE fails with DNS resolving

we are testing out the Ambassador Edge Stack and started with a brand new GKE private cluster in autopilot mode. We installed from scratch following the quick start tour to get a feeling of it and ended up with the following error Error from server:…
2
votes
1 answer

Google cloud kubernetes switching off a node

I'm currently testing out google cloud for a home project. I only require the node to run between a certain time slot. When I switch the node off it automatically switches itself on again. Not sure if I am missing something as I did not enabling…
2
votes
1 answer

GKE Dataplane v2 NetworkPolicies not working

I am currently trying to move my calico based clusters to the new Dataplane V2, which is basically a managed Cilium offering. For local testing, I am running k3d with open source cilium installed, and created a set of NetworkPolicies (k8s native…
2
votes
0 answers

HAProxy Ingress Rewrite rules seemed not applied

I'm trying to setup a simple ingress with path rewriting to pass requests to my backend services. Ref.: https://haproxy-ingress.github.io/v0.10/docs/configuration/keys/#rewrite-target The ingress controller uses this image:…