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.

553 questions
0
votes
0 answers

Force pod creation order

Is there some way to force pod creation order on Kubernetes? I have a scenario where Kubernetes are selecting a node pool with few resources and the first pod to be deployed consume a very small resource, but the next one consumes a lot of resources…
Rodrigo
  • 45
  • 2
  • 8
0
votes
1 answer

Node pool selection

I have a Kubernetes cluster with many node pools. Sometimes the deployment fails because the selected node pool that Kubernetes select has not enough available resources. Is there some way to force Kubernetes to select a node pool with the amount of…
Rodrigo
  • 45
  • 2
  • 8
0
votes
1 answer

Starting a Google Kubernetes cluster

We had a GKE cluster running a functional project Then we sunseted the entire project -- by deleting it. Due to a need, we restored the project Now I'm trying to get the GKE cluster running again. The first thing I tried was running kubectl get…
0
votes
1 answer

Assigning different external IP for each Pod on GKE autopilot

I am in the process of moving our project from the Compute Engine to GKE autopilot (cost efficiency, scale-up/down). Currently, in the Compute Engine, each machine gets a different external IP (at no cost, by default, I don't care about reserving…
0
votes
2 answers

How to get K8S node networking tags for Autopilot cluster?

I'm trying to set up GKE with Standalone NEG (avoiding Ingress, and using Terraform for Load Balancer setup instead). Everything works fine, but so far I've been using Firewall Rules from another Ingress. But to create a proper Firewall Rule, I need…
0
votes
1 answer

Unable to connect GCP SQL Instance from GKE cluster

I have created a vpc-native cluster and I am trying to connect from a pod inside the cluster to a postgres SQL instance with a private IP. I am testing using a basic telnet 5432 command. The connection works fine when I try it from a GCE instance…
0
votes
1 answer

Deploy Odoo on Google Kubernetes: Log severity all in ERROR

I deploy Odoo 13CE on Googke Kubernetes and using Cloud Logging for logging, I config app using default container log. Everything run smoothly, except all log output severity mark as ERROR in Cloud Loging Can I change default Odoo ouput log format…
0
votes
2 answers

terraform apply error alreadyExists on untouched resources

I am starting a new terraform project, following the official…
0
votes
0 answers

GKE autoscaler sometimes doesn't scale pods

We have a deployment configured with HPA based on the CPU metric. It can work fine for days, scaling pods up and down. And then at some point looks that it ignores metric and scales to some small number of pods. Usually we resolve it by setting…
0
votes
0 answers

GKE build extremely slow

I have a build that typically requires 2.5 hours to redeploy now been running for the last 20 hours. There are some disk operations on it. In particular, each NFS read/write appears 10,000 times slower than normal. When looking at the Google Console…
0
votes
1 answer

How to trigger k8s Job from different application?

I will briefly describe my application workflow: I have one application (cronjob), this application read my database and I want to, based on the output from database, run a few jobs in Kubernetes. Sometimes 1 job, sometimes 10 jobs, it depends.…
0
votes
2 answers

Google Cloud NAT with Shared VPC

I need to deploy the Elasticsearch application on Kubernetes Engine for company internal usage. Currently, there is interconnect with the Google Shared VPC project. I am new to GCP and I don't really know what is the best approach to deploy this…
0
votes
1 answer

Java large heap in container environment

I'm trying to run a Jetty webserver on kubernetes, it needs an extremely huge amount of heap ~ 250 GB in our production environment, ~ 50 GB in our test environment. I'm using jetty:9.4-jdk11, I'm trying to avoid setting Xms or Xmx flags explicitly…
montss
  • 406
  • 5
  • 11
0
votes
0 answers

Debugging Reconcile triggers in Kubernetes Operator

I am using a custom resource in my kubernetes cluster and have built an operator (using Operator-SDK). In my operator reconcile function, I create a secret owned by the CR and apply it on the same namespace as the CR. Lately, I see that reconcile…
Alechko
  • 101
  • 1
0
votes
1 answer

How could I run PHP-FPM master process as non-root user?

I'm trying to achieve rootless PHP-FPM pod running in Kubernetes. I tried simply running process in Kubernetes pod via init script that does php-fpm -FO as www-data user but it complaints about not having permissions to access /dev/stderr (log…
dzhi
  • 800
  • 3
  • 10
  • 26