Questions tagged [kubernetes-health-check]

215 questions
3
votes
1 answer

Are hitless rolling updates possible on GKE with externalTrafficPolicy: Local?

I have a GKE cluster (1.12.10-gke.17). I'm running the nginx-ingress-controller with type: LoadBalancer. I've set externalTrafficPolicy: Local to preserve the source ip. Everything works great, except during rolling updates. I have maxSurge: 1 and…
3
votes
2 answers

How to check the last time health check was run and the result for a Pod

Is there a way to check the last time the liveness & readyness checks are done and what are the results of the same. I check by doing kubectl get pod my-pod -o yaml The status section shows up like this but does not tell when the kubelet ran the…
randominstanceOfLivingThing
  • 16,873
  • 13
  • 49
  • 72
3
votes
4 answers

exec probe in GKE

I'm trying to use exec probes for readiness and liveness in GKE. This is because it is part of Kubernetes' recommended way to do health checks on gRPC back ends. However when I put the exec probe config into my deployment yaml and apply it, it…
3
votes
2 answers

What should the URL be for Readiness and Liveness Probe Endpoints?

Should I use URL's at the root of my application like so: /ready /live Should they both be grouped together like so: /status/ready /status/live Should I use RFC5785 and put them under the .well-known sub-directory like…
3
votes
2 answers

GKE gRPC Ingress Health Check with mTLS

I am trying to implement a gRPC service on GKE (v1.11.2-gke.18) with mutual TLS auth. When not enforcing client auth, the HTTP2 health check that GKE automatically creates responds, and everything connects issue. When I turn on mutual auth, the…
3
votes
1 answer

Can you tell kubernetes to start one pod before another?

Can I add some config so that my daemon pods start before other pods can be scheduled or nodes are designated as ready? Adding post edit: These are 2 different pods altogether, the daemonset is a downstream dependency to any pods that might get…
user2062360
  • 1,323
  • 5
  • 16
  • 29
3
votes
2 answers

kubernetes metrics server don't start

I try to connect in the dashboard of kubernetes. I have the latest version of kubernetes v1.12 with kubeadm , in a server. I download from github the metrics-server and run: Kubctl create -f deploy/1.8+ but i get this error kube-system …
pioupiou
  • 836
  • 2
  • 14
  • 29
3
votes
0 answers

GCP load balancer health checks are not configured according to readiness probe

In my deployment file, I created liveness probe and readiness probe in the following manner: livenessProbe: httpGet: path: /rest/assets/get port: 4000 httpHeaders: - name:…
kosta
  • 4,302
  • 10
  • 50
  • 104
3
votes
1 answer

RBAC Error in Kubernetes

I have deployed kubernetes v1.8 in my workplace. I have created roles for admin and view access to namespaces 3months ago. In the initial phase RBAC is working as per the access given to the users. Now RBAC is not happening every who has access to…
3
votes
1 answer

kubernetes health check job into google cloud platform

I'm using Kubernetes into google cloud platform and have defined some clusters with deployment controllers there. For each pod into deployment there is a health check which each 30sec check my route(www.example.com) and the response must be 200…
3
votes
1 answer

How to start (restart) kubernetes apiservice and adding username password authentication

I am really new on kubernetes. I created a kubernetes cluster with this guide using kubeadm. The cluster consists of one master node and two nodes. Since I want to access the kubernetes web UI via master apiserver (by browser on my laptop), I…
kz28
  • 781
  • 8
  • 23
3
votes
3 answers

Kubernetes deployment status in Jenkins

I am writing a Jenkins Global pipeline library where I have a stage to deploy my docker image to K8s cluster. So after building my docker image during CI process I am promoting(deploying) the image to multiple environments(sequentially lower to…
3
votes
3 answers

Why does Ingress fail when LoadBalancer works on GKE?

I can't get Ingress to work on GKE, owing to health check failures. I've tried all of the debugging steps I can think of, including: Verified I'm not running low on any quotas Verified that my service is accessible from within the cluster Verified…
Bosh
  • 8,138
  • 11
  • 51
  • 77
3
votes
1 answer

Should gRPC health checking be limited to gRPC services?

With regards to gRPC Health Checking, if a gRPC service is hosted on the same port as other HTTP services that also need health checking, should the responses to grpc.health.v1.Health.Check be only for gRPC services provided, or is it reasonable to…
Nathan Herring
  • 977
  • 8
  • 16
3
votes
1 answer

Exclude path from Google Cloud Endpoints

Main question: Can we exclude a path from the cloud endpoint statistics/monitoring while still allowing traffic to our actual backend? Explanation: We have a backend running on Kubernetes and are now trying out Google Cloud Endpoints. We added the…