Questions tagged [kubernetes-health-check]

215 questions
0
votes
2 answers

Cannot start api server after doing modifications

I was able to successfully configure K8S cluster. But later I wanted allow annolymous access to kub apiserver so I added following parameters to /kube-apiserver.yaml - --insecure-bind-address=0.0.0.0 - --insecure-port=8080 But when I restarted the…
ycr
  • 12,828
  • 2
  • 25
  • 45
0
votes
1 answer

Error: container "dnsmasq" is unhealthy, it will be killed and re-created while running local cluster in kubernetes

I am running Kubernetes local cluster with using ./hack/local-up-cluster.sh script. Now, when my firewall is off, all the containers in kube-dns are running: ``` # cluster/kubectl.sh get pods --all-namespaces NAMESPACE NAME …
Pensu
  • 3,263
  • 10
  • 46
  • 71
0
votes
1 answer

Kubernetes Replication controller deletion

I have Kunernetes pods and replication controller running on AWS EC2 instances. If the status of pods are fail or crash then the replication controller that creates that pods has to deleted after after 5 minutes. Basically what I want is when I run…
Vaibhav Jain
  • 2,155
  • 5
  • 27
  • 41
0
votes
1 answer

livenessprobe exec check probe for mongodb is killing pod under k8s 1.2.4

I'm trying to implement livenessProbes on pods running under K8s. Only very simple probe is working, see example: livenessProbe: exec: command: - cat - /etc/services initialDelaySeconds: 45 …
nikaudio
  • 1
  • 1
  • 2
0
votes
1 answer

Liveness probe failure output not in kubelet logs

The output from a liveness probe failure when using exec does not show up in the kubelet event logs (kubernetes version 1.3.2). For example, I created a pod from the liveness probe example here: http://kubernetes.io/docs/user-guide/liveness/ Using…
MRR
  • 397
  • 4
  • 11
0
votes
1 answer

Any automated tests available which can validate health of kubernetes cluster after the new deployment?

Basically to verify all the components of kube master and nodes up and running properly) .. We follow delivery pipeline model to deploy on dev->devOps->staging->production ...manually verifying the clusters deployment in multiple of datacenter is…
0
votes
3 answers

Kubernetes replication controller / container regenerate

Is it currently possible to "repave" or regenerate pods or containers from a replication controller in Kubernetes based on time or condition for security reasons? Would like to recreate container based on schedule every x min/hours or due to…
0
votes
2 answers

Kubernetes creation in AWS - ap-northeast-2 region throws error "Please specify AWS_IMAGE directly (region not recognized)"

Creating Kubernetes cluster in AWS cloud ap-northeast-2 region is throwing "Please specify AWS_IMAGE directly (region not recognized)" message. Tried by setting the zone "export KUBE_AWS_ZONE="ap-northeast-2a"". But still fails to…
0
votes
2 answers

What is the source range of the GCE L7?

In the K8s documentation the following source range is hardcoded: 130.211.0.0/22. Is this a fixed one or can I get it using some command (e.g. gcloud, kubectl)? I have tried to inspect the K8s objects but I don't find a this source range in order to…
0
votes
2 answers

Inconsistent behaviour of Kubernetes slaves, few slaves don't show up

I have a kubernetes master setup in AWS, balanced by a ELB. I create 5-6 instances using terraform and provision it to be kube slaves and point kubelets to the ELB. When I run kubectl get nodes, only 3 or 4 instances show up. Looks like slaves…
0
votes
2 answers

Are there any scripts to monitor k8s‘ status?

If used on the production system, k8s related services might be down at sometime. Are there any scripts provided that can monitor and restart the services, or i need to develop my scripts and add them to crontab.
0
votes
1 answer

Kubernetes deployment incurs downtime

When running a deployment I get downtime. Requests failing after a variable amount of time (20-40 seconds). The readiness check for the entry container fails when the preStop sends SIGUSR1, waits for 31 seconds, then sends SIGTERM. In that timeframe…
Jorrit Salverda
  • 715
  • 1
  • 7
  • 17
0
votes
3 answers

Kubernetes replication controller in CrashLoopBackOff state

I performed the following steps. Created the replication controller with the following config file: { "kind":"ReplicationController", "apiVersion":"v1", "metadata":{ "name":"fsharp-service", "labels":{ …
0
votes
1 answer

Why I cant see all my kubernetes services using "kubectl get services"

I have a repository with all my kubernetes pods folders, in each folder I have 2 files, let's say I have one folder name "MyApp", so in this folder I have: controller.yaml that looks like this: (this is my rc) apiVersion: v1 kind:…
0
votes
1 answer

Getting error status trying to upload my kubernetes pod

I have my controller.yaml that looks like this: apiVersion: v1 kind: ReplicationController metadata: name: hmrcaction labels: name: hmrcaction spec: replicas: 1 selector: name: hmrcaction template: metadata: labels: …
Joe
  • 2,543
  • 3
  • 25
  • 49
1 2 3
14
15