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

Unable to add a K8s service as prometheus target

I want my prometheus server to scrape metrics from a pod. I followed these steps: Created a pod using deployment - kubectl apply -f sample-app.deploy.yaml Exposed the same using kubectl apply -f sample-app.service.yaml Deployed Prometheus server…
2
votes
1 answer

Unable to attach or mount volumes timed out waiting for the condition

After the pods has been restarted (evicted) that messages appears in pod describe for at least 1.5h and than pod state is changed to running without any intervention. It's happening on GKE cluster vers: 1.17.17-gke.9100 Warning FailedMount 53m (x3…
Marcin K
  • 21
  • 1
  • 1
  • 3
2
votes
1 answer

How to add a new subdomain to kubernetes ManagedCertificate?

I am using K8s ManagedCertificate to create a certificate on GCE. I wanted to add a new subdomain to my cert, so update the yaml file and did kubectl apply. I tried to describe my cert to see if everything is ok but found an error Warning …
2
votes
1 answer

When I specify NodePort service as Ingress backend in GKE, I get two backends

-- Overview I have a custom installation of istio on GKE (type=nodeport). The installation commands are as follows istioctl install --set profile=default --set values.gateways.istio-ingressgateway.type=NodePort I'm building Ingress and specifying…
2
votes
3 answers

k8s: error converting YAML to JSON: yaml: line 33: found character that cannot start any token

hope you are doing fine, i got that error :error: error converting YAML to JSON: yaml: line 33: found character that cannot start any token while trying to deploy this cronjob on my k8s cluster, can you please check and let me know if you have any…
doksha
  • 47
  • 1
  • 2
  • 8
2
votes
2 answers

GKE Ingress with ExternalName service as backend not working

I have GKE Ingress with a backend referring to a kubernetes service of type ExternalName. The "external" service refers to another kubernetes service within the same cluster (in a different namespace, that's why the "external" service is used as a…
Martin Grůber
  • 763
  • 1
  • 7
  • 17
2
votes
2 answers

CPUThrottlingHigh alert for metrics-server-nanny container in GKE

I noticed some of my clusters were reporting a CPUThrottlingHigh alert for metrics-server-nanny container (image: gke.gcr.io/addon-resizer:1.8.11-gke.0) in GKE. I couldn't see a way to configure this container to give it more CPU because it's…
2
votes
1 answer

GKE Internal Ingress for Headless Service

I'm trying to create an internal ingress for inter-cluster communication with gke. The service that I'm trying to expose is headless and points to a kafka-broker on the cluster. However when I try to load up the ingress, it says it cannot find the…
2
votes
1 answer

How to change service account for GKE nodes?

My GKE cluster was created long back and it has two nodes currently both using the default Service account. I want to now change the Service account for the nodes without disturbing the cluster. I want to maintain a separate SA for our cluster. I…
2
votes
1 answer

How to put self-signed certificate to each node of GKE cluster?

I have a kubernetes cluster in GKE. Inside the cluster there is an private docker registry service. A certificate for this service is generated inside a docker image by running: openssl req -x509 -newkey rsa:4096 -days 365 -nodes -sha256 -keyout…
2
votes
1 answer

Kustomization in GitHub actions workflow not deploying to GKE

I have a workflow on Github action that builds, tests, and pushes a container to GKE. I followed the steps outlined in https://docs.github.com/en/actions/guides/deploying-to-google-kubernetes-engine but my build keeps on failing. The failure comes…
2
votes
1 answer

Kubernetes: Load Balancer vs Readiness health check

I'm running a WebService backend application in Kubernetes (GKE). It is used only by our frontend Web app. Typically there are sequences of tens of requests coming from the same user (ClientIP). My app is set up to run at least 2 instances…
2
votes
1 answer

How to schedule clamdscan weekly (cron jobs on GKE)?

How to schedule "clamdscan" to run weekly on an GKE? I am able to trigger the scan manually, but I am not able to find on a way how to schedule it?
2
votes
1 answer

Stop TLS certificates to be automatically recreated by cert-manager

I was investigating certain things things about cert-manager. TLS certificates are automatically recreated by cert-manager. I need to somehow deregister a domain / certificate from being regenerated. I guess I would need to tell cert-manager not to…
2
votes
1 answer

Google Kubernetes Engine: custom docker daemon.json config

Does anybody know if it is possible to provide a custom daemon.json config to Docker daemon on GKE nodes?
1 2 3
99
100