Questions tagged [google-kubernetes-engine]

Google Kubernetes Engine is a cluster manager and orchestrator for running Docker containers. It schedules your containers into the cluster and manages them automatically based on requirements you define (such as CPU and memory). It's built on the open source Kubernetes system, giving you the flexibility to take advantage of on-premises, hybrid, or public cloud infrastructure. It was formerly called Google Container Engine.

Filter by
Sorted by
Tagged with
0
votes
1answer
35 views

Will GKE cluster will have downtime, when cluster features are enabled/disable?

I wanted to enable cloud operations for a zonal GKE cluster with just one node. I read lots of guides from Google, but didn't found any mentioning about outage if we disable/enable cluster features. ...
0
votes
1answer
45 views

How to deploy docker container and do port mapping/forward using kubernetes YAML manifest

Please help me to convert the below docker Command to Kubernetes YAML file along with port mapping/forwarding to the docker container # docker run -p 5775:5775/udp -p 6831:6831/udp -p 6832:6832/udp -...
0
votes
1answer
75 views

GCloud network pricing - packet or connection oriented?

On GCloud, ingress traffic is free whereas egress is charged. Is this egress charging based on a per-packet basis (purely OSI layer 3), or per-connection? For example, if an outside server opens a TCP ...
2
votes
1answer
66 views

GKE node from new node pool gets 403 on artifact registry image

I have a gke cluster with two node pools. By mistake I deleted an image from Artifact Registry and did a rollout that end with some pods in ImagePullBackOff (403 Forbidden). After creating back the ...
0
votes
1answer
40 views

GKE load balancer “UNHEALTHY state” after multiple suggestions

I have been trying to set up a simple Kubernetes cluster with one container, a node port, and an ingres load balancer. However, no matter what I do, the ingres load balancer always shows, "Some ...
1
vote
1answer
47 views

I just had to increase our timeout from 30s to 60s because I can't figure out why our biggest request is so slow. (Nginx + Php-fpm running on gke)

php-fpm version: 7.4 nginx version: 1.19.0 We run on gke, kubernetes; our nodes have 10 cpu and 24G of ram and we request 2 CPUs (limit 3) to our pods that run our Laravel stack (nginx + php-fpm). ...
2
votes
0answers
51 views

Does slow file IO impact networking?

We are using php7, php-fpm, nginx on gke, services communicated by clusterIP. In php7, we found out that occasionally writing the log needed to take 1~2 seconds to complete, it usually took less than ...
0
votes
1answer
118 views

Routing inbound and outbound udp traffic to the same port in kubernetes

This is a follow-up to a prior question I asked, but with a different ask/approach. In case it matters, I'm on GKE, but I'm hoping there's a cloud-agnostic answer. I'm trying to run the container ...
1
vote
1answer
111 views

Kubernetes managing many distinct UDP servers on GKE

I'm trying to set up a system that can automatically spin up and down video game servers as docker images. In this case, factoriotools/factorio-docker. Each game is a different, distinct single-pod ...
0
votes
0answers
159 views

Why am I getting 'Unable to connect to the server: context deadline exceeded' error when creating GKE job?

am trying to create a GKE job by following the instructions in the official documentation. I am doing it though via Cloud Shell. I have created the yaml file, however when I run the command: kubectl ...
1
vote
2answers
125 views

Timeouts on Cloud SQL and other external services when using NAT + IP Masquerade on GKE

I have to configure a static IP in one of my PODs because a remote service (outside of my cluster) requires trusted IP whitelisting. I followed the documentation provided by Google: https://cloud....
0
votes
0answers
88 views

Slow performance for Kubernetes Ingress HTTPS load balancer on GCP

On GCP I setup a Wordpress workload on an auto-pilot cluster, then exposed the Wordpress through a TCP service, and finally setup an Ingress https load balancer. I used a Google managed certificate ...
1
vote
1answer
85 views

Stable remote port fowarding

I need some port on a publicly accessible host constantly forwarded to a server that is behind a firewall. I'm currently using autossh to connect from the server to an openssh container running on GKE ...
1
vote
3answers
663 views

Getting “x509: 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
1answer
70 views

GKE metadata service port conflict with NFS client

We are running Google Kubernetes Engine (version 1.18.17-gke.1200) with Workload Identity enabled. There are 6 nodes in the cluster. On two of the nodes the gke-metadata-server Pod is failing with ...
0
votes
1answer
99 views

Xorg not starting in GKE with GPU : (EE) no screens found(EE)

I am trying to run Xorg server that use GPU inside Google Kubernetes Engine I followed this guide (https://cloud.google.com/kubernetes-engine/docs/how-to/gpus#ubuntu) to setup a GKE cluster with ...
0
votes
0answers
26 views

GCP - Airflow Kubernetespodoperator

I have set up the secret key thru google cloud platform secret manager. How do I access this secret key in my airflow dag. There isn't a good example of how to access this in my dag. Can someone ...
1
vote
1answer
44 views

Google Kubernetes Cluster rebuild issue

We have set up a Google Kubernetes Cluster with VMs scaling from 2 to 5. There are 5-6 pods/containers running on it. We have also set up ngnix for routing, and everything is running perfectly. But we ...
1
vote
1answer
73 views

Where do I create google-managed SSL certificate for kubernetes cluster deployment?

I'm trying to set up SSL on my site. I deployed to an autopilot kubernetes cluster. I have a domain through Google Domains which has DNS pointing to my kubernetes exposed ip with an A record. I've ...
0
votes
1answer
75 views

Prometheus not connected to alert manager in GKE

I installed kube-prometheus-stack 15.3.1 into a GKE cluster using helm (in "monitoring" namespace). I used the values.yaml to open up ingresses on some of the components and to add SMTP info ...
0
votes
1answer
35 views

Is the Pod Resources API disabled on Google Kubernetes Engine?

Problem Summary: We're using DCGM Exporter to collect metrics about GPU workloads. When deployed on GKE, the exporter does not return GPU information about other pods or containers (when it's expected ...
0
votes
0answers
60 views

Cannot scale pod with VPA due to memory limit error

I have a Deployment with a single container, with the following resources config on the container: resources: limits: cpu: 300m memory: 512Mi requests: ...
-1
votes
1answer
100 views

GKE - network is not ready: Kubenet does not have netConfig

We are running 11 nodes on GKE and get this error between a few hundred and a thousand times a day: Runtime network not ready: Network plugin is not ready: Kubenet does not have netConfig. This is ...
-1
votes
2answers
149 views

Google cloud: failed to delete cluster: compute.instanceGroups.update

While deleting a cluster with: gcloud container clusters delete demo I constantly encounter the following error message: ERROR: (gcloud.container.clusters.delete) Some requests did not succeed: - ...
0
votes
1answer
46 views

API to update node pool count

To save the cost is there any API so that I can directly hit from the postman to decrease & increase the node pool count of the GKE cluster on GCP. Also, the same API that I can use to automate it ...
3
votes
1answer
78 views

Unknown 500 errors on GCP HTTP Load Balancer Backends

We're using an HTTP(S) load balancer in front of our GKE backends with NEGs. Recently we created alerts in GCP Monitoring for 5xx Load Balancer errors with the loadbalancing.googleapis.com/https/...
0
votes
1answer
84 views

How to set different labels on GKE instances of same cluster?

In our GCP project we are working on a project to assist organization and cost management. We got a situation on one of our use cases. Multiple projects node pools are present in one of our GKE ...
0
votes
1answer
80 views

Binding Workload Identity service-account to a GKE service-account with Deployment Manager?

I've enabled Workload Identity on our GKE cluster. Now I'm deploying an app to GKE which uses WI to authenticate to another Google service. I've already used Deployment Manager to create an IAM ...
1
vote
1answer
167 views

Terraform on gcloud: serviceaccounts is forbidden: User “system:anonymous” cannot create resource “serviceaccounts”

I am trying to write terraform code for bootstrapping a GKE cluster (with RBAC) on Google Cloud. The GKE cluster successfully created, but I want to create a service account as wel which I can reuse ...
1
vote
1answer
29 views

Using images from a private gcr repository in another project

I am trying to use an image from a private repository of project A from a k8s cluster in project B. I have provided 'Compute Image user' role to both 'Google APIs Service Agent' account and 'Compute ...
0
votes
1answer
75 views

Private Google Kubernetes cluster can't download images from Google Container Engine

I am trying to set up our private Kubernetes cluster in Google Cloud to connect to Google Container Engine. I'm able to deploy sample images in the cluster without a problem, e.g. gcr.io/google-...
0
votes
0answers
63 views

Cloud run as a proxy

Hi I am using cloud run as a proxy, i am using nginx image as a reverse proxy for my kubernetes services. Previously i was hitting my external load balancer ip. Now i want to hit my internal load ...
2
votes
2answers
937 views

Why does kubectl port-forward require the destination service to be bound to localhost?

I have noticed that kubectl port-forward only works when the process being forwarded to is listening on 127.0.0.1 or localhost. If the process is bound to another address, like the pod IP, then port ...
1
vote
1answer
377 views

How can I figure out / debug why a nodepool is stuck in “Updating” state?

I am trying to setup a simple GKE cluster. It is a GKE Zonal cluster. I resized the default pool which is not ephemeral from 1 to 2 nodes this morning, but now can no longer make any edits to the ...
0
votes
1answer
39 views

GCP is charging fees for GKE Cluster Management fees

When we check GCP calculator, GKE cluster management fees is 0. But when running the clusters I'm being charged about $2.33 every day for GKE cluster management fees... I wonder if I made a mistake ...
1
vote
1answer
38 views

GKE single inbound and outbound ip address

We have GKE cluster which communicates with sensors in private network. The communication is very restricted and we need single ip address for outbound and inbound traffic. We have found out that GKE ...
2
votes
1answer
202 views

In GCP, how to change default pool name while creating through gcloud cli?

I am trying to create a GKE cluster with custom node-pool name. I am able to create from GUI but not find any option in gcloud to change default pool-name. Can any one help me to customize default ...
0
votes
1answer
363 views

ingress-nginx, GCE, and static IP

So, I would like to have a static IP that points to my nginx ingress LB. gcloud compute addresses create test-ip --global gcloud compute addresses describe test-ip --global Which provides me with a ...
0
votes
1answer
76 views

GKE create a private cluster failed

I'm following this topic to Creating GKE private clusters with network proxies for controller access, it stuck at create a private cluster via run command: gcloud container clusters create frobnitz \ ...
0
votes
0answers
90 views

Gcloud kubernetes RBAC not granting permissions to iam service accounts

I am trying to give a gcloud service account permissions on a GKE cluster. Because I eventually want to restrict these to only one of the namespaces on that cluster I am trying to use RBAC for that. ...
0
votes
1answer
47 views

Permission issues in GCP Container Registry

We need some help. We don't see any docker registry in GCP. It says that it has permission issues but we have enough permissions to do everything in there. Also we cannot connect any cluster in GKE. ...
0
votes
1answer
106 views

Is there a way to undelete deleted permissions in cloud IAM Admin on the google cloud platform?

I have accidentally locked myself out of my own project. It is still running with cloud SQL instances and a Kubernetes cluster, but I cannot view anything about it or stop it. I was removing ...
0
votes
1answer
40 views

How can I run a containerized task in the cloud 24/7 [closed]

I have just begun to play around with various cloud vendors (AWS, GCP, etc) to get a better understanding of what they have to offer. This is what I am looking to do: I have a task that runs 24/7 that ...
1
vote
1answer
68 views

VPC endpoints in Google Cloud Platform

I have created a Bastion host in GCP which I can use to build docker images, applying kubernetes configs etc., In AWS we can create VPC endpoints for services and then a route will be added to the ...
0
votes
0answers
259 views

Multi-Attach error for volume error on deploy multiple wordpress POD in GKE

I try to make a wordpress server on Kubernetes of using the load balancing. The only thing is I'm getting a issue with is when I try to scale my pods to more than once, only the first one is built and ...
0
votes
1answer
68 views

gcsfuse terminating itself on GKE

I have gcsfuse in a deployment on GKE, it was working fine and without any changes in the config it started failing since yesterday. Received signal 15; terminating. I have it deployed in 2 different ...
1
vote
1answer
129 views

export gcsfuse mount so a third client can access files in a storage bucket

I mount a storage bucket to a local directory. /share Then I try to make this directory - now populated with contents of the object store - available to another machine. The goal is, that this other ...
3
votes
1answer
197 views

GCP - Loadbalancer pricing when using nginx ingress controller

How to calculate the pricing for GCP loadbalancers when using nginx ingress controller? Right now I have 1 Ingress host and a single rule for prod website. But I want to launch another for internal ...
1
vote
0answers
187 views

Unable to connect to CloudSQL from GKE without CloudSQL Proxy - SQLSTATE[HY000] [2002] Operation timed out

I have GKE cluster created with following command: gcloud container clusters create stage1 \ --enable-ip-alias \ --release-channel stable \ --zone us-central1 \ --node-locations us-central1-a,us-...
0
votes
0answers
79 views

GKE cluster suddenly cannot be accessed (Missing data from clusters (unavailable) )

I've been running an app on Kubernetes very smoothly for the past few weeks, but today I found that my cluster showing error and I cannot access my cluster. not showing my deployment The application ...

1
2 3 4 5
10