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
0answers
8 views

Can't see monitoring metrics after upgrading GKE cluster version to 1.16.x

Screenshots: Can't see monitoring metrics Autoscaler is not working
0
votes
1answer
33 views

Is GKE deploy stateless Pod only in boot ssd disk or also in local ssd if no more disk space?

I have a cluster with 2 nodes and each node has 10 Gb of boot SSD disk and 375 Gb of Local SSD. I'm worrying about the issue when boot SSD disk is full, GKE will deploy stateless pod in Local SSD or ...
0
votes
2answers
44 views

In Google Cloud's VM Instance Groups, how do I set a bandwidth and memory autoscale?

In Google Cloud's console, not command line, I'm trying to create a RAM and network utilization autoscale trigger. It's just a small 1GB RAM instance. If it reaches 800MB used RAM or 25Mb/sec network ...
0
votes
0answers
11 views

Health checks fail when creating a GKE cluster

When I try to create a GKE cluster it consistently fails at the last stage, when the cluster is being health checked. Both the gcloud cli and the GCP console fail with: All cluster resources were ...
1
vote
1answer
24 views

How to set PID limit for containers in kubernetes

I have used docker-bench-security on one of the kube-node to check best practices, I found one warning that PID limit is not set on containers. So Please provide a solution that how do I set PID limit ...
0
votes
0answers
40 views

GKE master node upgrade constantly failing

I upgraded google cloud kubernetes cluster from 1.16.9-gke.2 to 1.16.9-gke.6 and it failed. All cluster resources were brought up, but: component kube-apiserver from endpoint gke-3a1fa906f95b728d035e-...
0
votes
1answer
74 views

Migrating from activity logs to audit logs on Google Compute Engine [closed]

This question is regarding the deprecation of activity logs on Google Compute Engine scheduled for September 2020. We currently have JVM-based applications using logback running on kubernetes. We are ...
0
votes
1answer
37 views

External Load Balancer not working GCP/Shared-VPC/VPC-native

We are building a new Kubernetes cluster in GCP, using a Shared VPC. The cluster was created with VPC-native (i.e., alias IP) enabled. Everything about the Shared VPC seems to be in order. The node, ...
0
votes
1answer
25 views

Gcloud create node-pool hangs forever in auto-repair with no nodes

Adding a new node-pool to an existing cluster is failing with no nodes registering. The command used to add the node-pool is as follows (project name changed): gcloud container --project my-project ...
0
votes
0answers
45 views

GKE: The cluster is in a stuck state

Unfortunately since yesterday our GKE cluster is stuck in a error state. I can connect with Kubectl fine but I cannot edit the cluster directly. When I try and edit the cluster I get the following ...
1
vote
1answer
35 views

Deploying GitLab from GCP Marketplace: BackoffLimitExceeded

I am trying to deploy an instance of GitLab from the GCP Marketplace but have run into a problem. Unfortunately, I am a mere front-end developer so this Kubernetes stuff is alien to me. After ...
0
votes
2answers
53 views

Postgres mount volume error in k8s

I'm trying to deploy Postgres with a PersistentVolumeClaim in GKE. As per the description here (look at PGDATA), it is recommended to create a subdirectory if mounting an external volume. So, this is ...
0
votes
0answers
62 views

How to configure K8s cluster to utilize spare CPU capacity for ML training jobs (or other low-priority CPU-intensive work)

I'd like to use spare CPU capacity in our Kubernetes cluster for low-priority jobs -- specifically, ML training using Tensorflow in this case -- without depriving higher-priority services on our ...
0
votes
1answer
53 views

GKE cluster access permission

I have two clusters belongs same project in google kubernetes engine. How can I allow some my partner to access one cluster, and deny them to access another cluster? Thank you!
1
vote
1answer
79 views

What am I doing wrong with private GKEs peering and Cloud NAT?

I am trying to mount the following platform on Google Cloud: 2 private (native) GKE clusters, in 2 different VPCs and to give them access to the internet, each vpc has a Cloud Nat configurated. What ...
1
vote
1answer
72 views

an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/0/01/0000000010 while reading upstream

I am using Google Kubernetes Engine, got this error from stackdriver logs 2020/05/14 07:31:19 [warn] 9#9: *658 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/0/01/...
0
votes
1answer
53 views

Can GKE on prem operate without connection to google cloud?

From everything I read, GKE on-prem seems to require a connection back to the google cloud. We have the need to have a kubernetes cluster with all the nice features of GKE but we need to run in an "...
0
votes
0answers
25 views

Make ambassador edge stack intercept CORS preflight requests

Been struggling to make ambassador edge stack deployment to intercept pre flight requests on our kubernetes cluster. What we want to achieve is OPTIONS request -> Ambassador -> Reply to this OPTIONS ...
1
vote
1answer
58 views

gke master upgrade when current version is 2 versions behind oldest available

We have a gke cluster running 1.12 as master and nodes versions. We were supposed to upgrade to 1.14 today but were not able to proceed since we can't go up 2 versions and 1.13 is not supported any ...
1
vote
1answer
64 views

Is an f1 micro instance used with kubernetes engine still free?

I currently have an f1 micro instance that I use for PiHole + VPN and it's perfectly adequate for that, I just don't want to be bothered with having to maintain the VM anymore. I'm looking at ...
0
votes
1answer
99 views

How to serve user uploaded files in Django / nginx in Kubernetes on GCP (Google Cloud Platform)

I'm trying to convert a django(with gnunicorn)/nginx/postgres docker-compose environment (using docker-compose) to kubernetes on GCP. I've got everything running smoothly except for serving MEDIA ...
0
votes
0answers
33 views

How to declaratively deploy a default template to an Elasticsearch Operator (ECK) cluster on GKE?

I'm deploying two Elasticsearch 6.8.x clusters to Kubernetes on Google Cloud Platform, using Elasticsearch Operator 1.1.0 from Elastic.co. Since I want this to be version controlled and repeatable I'...
2
votes
1answer
89 views

Can't delete dangling k8s load balancer due to http target proxy that doesn't exist

I'm trying to delete the forwarding rule, target proxy, url map and backend services that belong to an extinct k8s ingress. I successfully delete the forwarding rule and target proxy but then when I ...
1
vote
1answer
104 views

Google Cloud Load balancer settings keep getting reset

I am currently setting up an environment to deploy an application on google cloud platform using kubernetes. I tried setting up an Ingress to connect to my NodePort services with the following yaml ...
0
votes
1answer
76 views

How can I run the same deployment, many times, each accessible on unique ports? (K8s)

How would I configure the service and/or ingress to handle bringing up and down hundreds of these deployments based on the following constraints: This deployment is foo-1, subsequent ones would be ...
0
votes
1answer
73 views

How to suspend GKE node instances without deleting and re-creating the nodes

We have a GKE cluster with autoscaling enabled. We are having google schedulers to shut down instances daily at a specific time. This also shuts down the GKE nodes. Since these clusters has ...
0
votes
0answers
39 views

Springboot app running on GKE returning 404 on all API endpoint few minutes after startup

I deployed a springboot application on GKE( Google Kubernetes Engine) it works for a few minute and I can hit the endpoint and get response , however if I try the endpoint again sometime later I get ...
2
votes
1answer
61 views

GKE k8s cluster storage.googleapis.com sporadic Temporary failure in name resolution

I am trying to run a snakemake pipeline on a kubernetes cluster (GKE). The job is being initiated from a GCE VM. Sometimes it works, mostly it doesn't. Steps I took were gcloud container clusters ...
1
vote
0answers
428 views

Keep getting “Does not have minimum availability” in Kubernetes cluster when deploying workload

I'm currently running a kubernetes cluster on a n1 standard1 node (1vCPU and 3.75GB memory), I tried to deploy 4 workloads, I have set resource request and limit as 100m and 128Mi (for container) for ...
0
votes
0answers
30 views

GKE: Switch from TCP to Ingress Load Balancer in prod

We have several deployments running in Google Kubernetes. Most of them are web services set up with the default configuration, so they have a public IPv4 address which is served by a TCP load balancer....
0
votes
0answers
33 views

GKE master is not responding

The control panel says there is a problem with my cluster. No buttons available. I can't do anything. It started more than 16 hours ago, and now whole cluster went down. (500/502 on most of the ...
1
vote
1answer
64 views

I am being billed for node usage if I cordon and drain the node?

I am learning GKE (Google Kubernetes Engine), and I have a cluster with 2 node pools: ➜ ~ gcloud container node-pools list NAME MACHINE_TYPE DISK_SIZE_GB NODE_VERSION pool-2 ...
0
votes
1answer
38 views

Access a Node Port Service in a private GKE Cluster from another GKE private cluster

I am using Google cloud and I have two GKE private clusters. One of them contains some services installed as nodePort. The other cluster needs to connect to this one and access the services exposed. ...
0
votes
1answer
58 views

How to find out the IPs of instances in Google Cloud Platform

I have two projects on GCP Project-A Project-B I have kubernetes cluster running on Project-A, whose nodes are autoscaled depending on usage. Hence there is no way of knowing (I guess) what IPs the ...
0
votes
1answer
34 views

Google Kubernetes VM reassigning new IP after removing the static IP

I created a Kubernetes cluster on google cloud with two nodes. Few days later the IP of vm changed. after that, I made those IPs static to my VMs from the console using VPC network > External IP ...
0
votes
2answers
41 views

Linux users in containers get lost when pod are restarted

Linux users and groups create in kubernetes containers (with groupadd and useradd) are lost when the pods get restarted. (In my use case I need to dynamically create these linux users for the apache ...
0
votes
1answer
46 views

Occasional permission denied when getting logs using gcloud through Jenkins running as GKE

We are using a Jenkins project to run "gcloud logging read ..." from a shell to get logs from a gcloud container and we occasionally see a permission error in the script: ERROR: (gcloud.logging.read) ...
1
vote
0answers
38 views

My web application is running on One Server and two worker nodes

my nginx config file is server { listen ip-address:80 ; server_name subdomain.domain.com; server_name www.subdomain.domain.com; server_name ipv4.subdomain.domain.com; ...
2
votes
1answer
155 views

List NTP information of gcloud kubernetes

Is there an option to show, that metadata.google.internal is used as NTP when i connect to a pod or to the kubernetes VM? I tried the following: ntpq -p, which results in command not found, but was ...
0
votes
1answer
39 views

How can i reduce the cost of resources kubernetes?

I want to cut costs on my development environment. Now my environment works 24 hours, but in fact it is used only a couple of hours a day. I would like to make my environment work only 8 hours a day, ...
1
vote
0answers
37 views

stackdriver severity in GKE sending all to stderr

Tell me whether it is possible to make a separation by severity in stackdriver. All messages in the container are displayed in stderror and in stackdriver, they are marked as errors. The task is to ...
1
vote
1answer
208 views

Use Kubernetes RBAC namespace roles?

I'm trying to give a service account my-service-account access to apply deployments within a namespace my-namespace in a Google Kubernetes Engine cluster running Kubernetes 1.14. This is what my ...
0
votes
1answer
46 views

GKE cluster and Steam master server

I need to specify a list of IP ranges in Steamworks to mark them as the official servers of my game. How can I create a cluster that creates nodes only in a constant range of external IP addresses? Is ...
0
votes
0answers
49 views

gke write access to the host file system from a pod

I'm running a GKE cluster and I'm trying to get write access to the host filesystem from a pod using hostPath. The pod mounts the host path using: hostPath: path: /lib/modules but its not ...
0
votes
1answer
227 views

Is it possible to use Cloud NAT with public GKE Cluster?

I have one public GKE cluster with 2 nodes and with that, 2 public external IPs. I want only one egress IP. I want to use Cloud NAT for that. It seems it is possible. An alias IP range assigned ...
1
vote
0answers
87 views

GKE Ingress high latency with SSL Certificate

I've provision a GKE cluster and successfully deploy my web services. I also have the ingress deployed with the SSL Certificate imposed to expose the web services. After that, i've execute time curl ...
1
vote
2answers
302 views

GCP Kubernetes engine - crash of nginx-ingress-controller after large file upload

I'm trying luck here to solve my problem happening on Google Cloud Kubernetes Engine. Problem in short: When I upload file via my PHP application of 15-20MB, nginx ingress controller crashes, disk IO ...
0
votes
1answer
154 views

Create a Google Load Balancer with fixed IP to Istio Ingress Gateway in GKE

I Have a Google GKE with 2 nodes and Istio installed. It created automatically 2 load balancers with ephemeral IPs. I use one of them in CloudDNS (HTTPS) to redirect DNS to one of the ingress-...
0
votes
1answer
184 views

Kubernetes node pool will not autoscale to 0 nodes

I have a rather expensive workload that some colleagues need running sometimes during the weekday (not on any sort of set schedule). I use Google Cloud Kubernetes. It consists of three statefulsets, ...
0
votes
1answer
70 views

About mixing ports

I have a question. If you try to make a container with rubyonrails, you will suffer Grafana with container3000. What do you do in such a case? I thought about putting puma in rubyonrails (port 80) ...

1
2 3 4 5
8