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
2
votes
0 answers

Connects to OpenVPN but no access to local network or internet in Kubernetes GKE with Calico

I've been using VPN (openvpn in helm) to access internal services in my cluster for development. I enabled network policy in nodes in GKE to manage access of services, that enabled Calico network in my network, after this my openvpn connection…
2
votes
1 answer

Why do pods on a node that was recreated after being preempted get stuck in ContainerCreating?

I had a pod created by a deployment running on a preemptible node in a Google Kubernetes Engine cluster. The node was preempted and recreated. There were several FailedCreatePodSandBox events complaining: network: stat /var/lib/calico/nodename: no…
2
votes
1 answer

Kubernetes: 502 Bad Gateway for some assets - with Nginx Ingress

I've configured a Kubernetes cluster as follows: Webapp pod (with a Vue.js and an API, both within each container) Nginx ingress config (with default-http-backend) Database pod (which doesn't seem to be the problem here) Kube lego (for SSL, in a…
jefersonhuan
  • 21
  • 1
  • 1
  • 3
2
votes
1 answer

Monitoring reports incorrect CPU usage on GCP

I currently administer a website hosted on Google Cloud Platform using Kubernetes Engine. Yesterday I noticed the CPU% feed on the GKE node drop dramatically to just north of 0. After investigating it was clear there was nothing wrong---the site is…
2
votes
1 answer

How to accept HTTPS and Websockets on a new Google Kubernetes Engine deployment?

I set up a simple 1-node GKE deployment with the default (beta) ingress, created via the GCP console. I would like to set up a Google-managed SSL certificate and HTTPS proxy to the a single GKE node & service hosting HTTP & WebSockets. There are…
2
votes
1 answer

Google cloud platform: k8s master cannot ssh to nodes

I have a very strange issue on google cloud platform with one of my K8S clusters. Two days ago, everything worked like a charm. But yesterday every helm commands used to deploy on this cluster started to fail with: Error from server: error dialing…
2
votes
1 answer

Creating a NAT gateway with Terraform fails with an error

I'm running a private GKE cluster and want to add a NAT Gateway so I can create firewall rules from requests coming from the cluster (by default, the public IP's for all nodes are ephemeral, thus hard to keep track of). I'm trying to follow the…
2
votes
2 answers

Stackdriver missing GKE Logs

I brought up a new Vault cluster using Terraform (https://github.com/sethvargo/vault-on-gke) and everything is working fine with Vault. However I can't seem to see any Container, Node or Pod logs in Stackdriver. The other GKE Cluster we have that…
2
votes
2 answers

Using "Let's Encrypt" TLS with a Google Load Balancer? (Kubernetes/GKE)

I've been trying to test out Kubernetes on Google Cloud, but would need HTTPS/TLS (only) exposed on the deployed application. To start, I just followed this tutorial, which worked fine for plain HTTP over port 80:…
2
votes
1 answer

How to connect to a third party VPN from Google Cloud Platform?

Requirements I am trying to connect to a third party VPN from my back end on Google Cloud Platform. Since my IP has to be whitelisted by the third party, the source IP for all requests must be a single static IP address. My plan so…
2
votes
1 answer

Kubernetes GCE Ingress cannot find services

My yaml files for various deployments, services and ingresses have created a working setup before. I tried fixing a small issue with an ingress and can't get back to a working state. My pods start without error and the services are up and running.…
2
votes
1 answer

Can't see pod logs in Stackdriver UI for cluster deployed on GKE

I deployed an Elasticsearch cluster on Google Kubernetes Engine. I am able to view logs of specific pods with the 'kubectl logs' command from my PC. >kubectl logs es-data-0 ... [2018-06-18T07:35:11,220][INFO ][o.e.m.j.JvmGcMonitorService]…
2
votes
1 answer

Kubernetes Resource Quotas on Google Kubenetes Engine

Brand new to kubernetes here. I suspect there could be a simple answer to this. Is there a way to disable resource quotas at the cluster level or at least reduce the resource quotas requested by the kube-system pods for very small clusters when…
2
votes
1 answer

Gunicorn does not repondes more than 6 requests at a time

To give you some context: I have two server environments running the same app. The first, which I intend to abandon, is a Standard Google App Engine environment that has many limitations. The second one is a Google Kubernetes cluster running my…
2
votes
2 answers

Broken GKE Backend Health Check Default

I have read this and I understand (I think) the differences between Kubernetes livenessProbes, and the GKE LoadBalancer health checks. My problem is this: I am exposing most of my Kube services via NodePort, which by default creates a new Backend…