Questions tagged [kubernetes-health-check]

215 questions
1
vote
2 answers

How to get kubernetes components metric data in kubernetes?

I am trying to get metric data like network in and out bytes, disk read and write speed, etc. On kubernetes dashboard, I am only getting memory and CPU data. I have even installed heapster, influx db and grafana in the kube-system namespace. When I…
1
vote
0 answers

Check availability of specified ports in each node

I have a Kubernetes cluster with a deployment which has a port range specified as an environment variable. The application that's running on top of the cluster will receive connections through the specified port range, and if none of the ports are…
bitscuit
  • 976
  • 1
  • 11
  • 26
1
vote
1 answer

Google Cloud Load Balancing health check reset

Setup Google Container Engine (kubernetes) Deployment / pod with my web server application (Torando/python) Ingress for web server service in kubernetes - which created load balancer in GCP Backend service in load balancer with a backend which is…
1
vote
1 answer

Does Kubernetes have webhook or similar functionality?

I'd like a webserver to be notified if Kubernetes kills a pod and for what reason e.g. DEADLINE_EXCEEDED or OOM. Does Kubernetes have webhook functionality for this or some other mechanism where I can be told when it does something.
nickponline
  • 25,354
  • 32
  • 99
  • 167
1
vote
1 answer

Why don't I see events relating to failed Kubernetes probes?

I have defined readiness and liveness probes for the container in a Kubernetes deployment. When these fail I expect to see their output included in an event for the pod. However I don't see such events. I do see other events for the same pod. I am…
Ben Butler-Cole
  • 2,011
  • 1
  • 17
  • 23
1
vote
1 answer

Application metrics monitoring of Kubernetes Pods

We are already using node-exporters to pull/collect docker/container metrics within our kubernetes environment. Next we would also like to be able to collect application metrics (provided by spring-actuator in our case, eg.…
Boeboe
  • 2,070
  • 1
  • 17
  • 21
1
vote
3 answers

How to trigger a Liveness Probe failure in kubernetes

I have the following liveness probe in my service deployment.yaml livenessProbe: failureThreshold: 3 httpGet: path: /health port: 9081 scheme: HTTP initialDelaySeconds: 180 …
carlomas
  • 1,032
  • 1
  • 11
  • 14
1
vote
4 answers

How to roll kubernetes updates in intervals

We have a case where we need to make sure that pods in k8s have the latest version possible. What is the best way to accomplish this? First idea was to kill the pod after some point, knowing that the new ones will come up pulling the latest image.…
anvarik
  • 6,417
  • 5
  • 39
  • 53
1
vote
0 answers

kube-dns and kubernetes-dashboard pods status are CrashLoopBackOff

I setup multi-node Kubernetes cluster (3 etcds, 2 masters and 2 nodes) in OpenStack following the https://coreos.com/kubernetes/docs/latest/getting-started.html All VM has CoreOS 1185.3.0 kubectl version Client Version: version.Info{Major:"1",…
Indika Sampath
  • 1,065
  • 2
  • 12
  • 21
1
vote
1 answer

kubernetes ingress and https redirect for apache not working

if i enable redirect in apache from http to https, the ingress health rule wouldn't be able to locate the apache services giving it a "UNHEALTHY" status, this on google cloud.
PaulMB
  • 457
  • 1
  • 4
  • 17
1
vote
2 answers

Openshift PaaS/Kubernetes Docker Container Monitoring and Orchestration

Kubernetes deployment and replication controller give the ability to self heal by ensuring a minimum number of replicas is/are present. Also the auto scaling features, allows to increase replicas given a specific cpu threshold. Are there tools…
1
vote
1 answer

Kubernetes/GCE Ingress controller fails

I'm new to Kubernetes and I'm trying to do HTTP Load Balancing on Google Container Engine with TLS (using the included GCE Ingress Controller). The error I have is repeatable even following Google's official tutorial. For readability I summarize the…
1
vote
1 answer

SkyDNS MissingClusterDNS in pods

I installed kubernetes 1.2.4 on 3 REHEL7 servers (no internet access, everything is pushed by ansible). EDIT: See the end of the question I've got everything working great excepting the kube-dns example given in documentation. I made several tests,…
Metal3d
  • 2,905
  • 1
  • 23
  • 29
0
votes
0 answers

Envoy routing traffic to unhealthy servers

I have a grpc server running in python. The flow of request is client => gce-ingress => envoy => grpc-server. The deployment yaml are listed below. apiVersion: apps/v1 kind: Deployment metadata: name: envoy-deployment labels: app:…
0
votes
0 answers

Tie Spring Liveness probe to custom HealthCheck

Having a SpringBoot application, where I try to tie my custom HealthCheck to the Spring Liveness probe. Although, it seems not to work. Please see my code below: @Component class CustomHealthIndicator() : HealthIndicator { override fun…