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
37
votes
4 answers

Difference between Google App Engine Flexible and Google Container Engine?

Specific to Docker based deployment, what are the differences between those two? Since Google App Engine Flexible now also supports Dockerfile based deployment and it is also fully-managed service, seems it's more preferred option rather than…
37
votes
5 answers

Kubernetes NodePort Custom Port

Is there way to specify a custom NodePort port in a kubernetes service YAML definition? I need to be able to define the port explicitly in my configuration file.
37
votes
3 answers

What is the difference between Google Compute Engine, App Engine and Container Engine in Google Cloud?

What is the actual difference between Google Compute Engine, App Engine and Container Engine in Google Cloud Compute? When to use what? Is there any good example to understand all of these three engines?
37
votes
2 answers

How to configure Ingress request timeouts on GKE

I currently have an Ingress configured on GKE (k8s 1.2) to forward requests towards my application's pods. I have a request which can take a long time (30 seconds) and timeout from my application (504). I observe that when doing so the response that…
Mark van Straten
  • 9,287
  • 3
  • 38
  • 57
33
votes
6 answers

Can we see transfer progress with kubectl cp?

Is it possible to know the progress of file transfer with kubectl cp for Google Cloud?
akshitsethi
  • 546
  • 1
  • 7
  • 12
33
votes
2 answers

Remove routing path from Kubernetes ingress

I deployed service called "test" in kubernetes. service name : test port : 80 There is endpoint called "/abc" ingress.yaml apiVersion: extensions/v1beta1 kind: Ingress metadata: name: load-balancer spec: rules: - http: paths: …
Nuwan Sameera
  • 739
  • 1
  • 8
  • 25
33
votes
4 answers

Why does Google Cloud show an error when using ClusterIP

In my gcloud console it shows the following error for my defined ingresses: Error during sync: error while evaluating the ingress spec: service "monitoring/kube-prometheus" is type "ClusterIP", expected "NodePort" or "LoadBalancer" I am using…
kentor
  • 16,553
  • 20
  • 86
  • 144
33
votes
10 answers

Kubernetes Ingress (GCE) keeps returning 502 error

I am trying to setup an Ingress in GCE Kubernetes. But when I visit the IP address and path combination defined in the Ingress, I keep getting the following 502 error: Here is what I get when I run: kubectl describe ing --namespace…
33
votes
5 answers

How do I set ulimit for containers in Kubernetes?

How do I set ulimit for containers in Kubernetes? (specifically ulimit -u)
shaylevi2
  • 644
  • 1
  • 6
  • 14
32
votes
8 answers

HTTPS load balancer in Google Container Engine

I'm trying to set up an HTTPS load balancer for GKE using HTTPS L7 load balancer but for some reason is not working. Even the HTTP load balancer in the HTTP Load Balancing walkthrough. The forwarding rule's IP address is created and I'm able to ping…
31
votes
4 answers

What is the difference between namespaces and contexts in Kubernetes?

I found specifying like kubectl --context dev --namespace default {other commands} before kubectl client in many examples. Can I get a clear difference between them in a k8's environment?
31
votes
13 answers

Google Managed SSL Certificate Stuck on FAILED_NOT_VISIBLE

I'm trying to configure an HTTPS/Layer 7 Load Balancer with GKE. I'm following SSL certificates overview and GKE Ingress for HTTP(S) Load Balancing. My config. has worked for some time. I wanted to test Google's managed service. This is how I've…
31
votes
4 answers

kubectl list / delete all completed jobs

I'm looking for a kubectl command to list / delete all completed jobs I've try: kubectl get job --field-selector status.succeeded=1 But I get: enfield selector "status.succeeded=1": field label "status.succeeded" not supported for batchv1.Jobter…
31
votes
3 answers

Dynamic wildcard subdomain ingress for Kubernetes

I'm currently using Kubernetes on GKE to serve the various parts of my product on different subdomains with the Ingress resource. For example: api.mydomain.com, console.mydomain.com, etc. ingress.yml (current): apiVersion: extensions/v1beta1 kind:…
29
votes
3 answers

Kubernetes pods failing on "Pod sandbox changed, it will be killed and re-created"

On a Google Container Engine cluster (GKE), I see sometimes a pod (or more) not starting and looking in its events, I can see the following Pod sandbox changed, it will be killed and re-created. If I wait - it just keeps re-trying. If I delete the…
Eldad Assis
  • 10,464
  • 11
  • 52
  • 78