Questions tagged [kubernetes]

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

For more details, visit the official Kubernetes page.

2075 questions
1
vote
1 answer

Fail to create kubernetes cluster in Google Cloud

Ran following command to create a cluster on Google Kubernetes Engine. Then I got below error. Google Cloud Status Dashboard is green for GKE as of 10 AM July 22, 2020 (Eastern Daylight Savings Time). Does anyone know what's going on? gcloud…
1
vote
0 answers

Unable to access datadog trace-agent port

I'm currently running a Ruby on Rails app on Google Kubernetes Engine and have deployed datadog but am having issues connecting to the trace agent. Any ideas? E, [2020-07-22T01:13:54.773686 #6] ERROR -- ddtrace: [ddtrace]…
James
  • 171
  • 1
  • 3
  • 15
1
vote
0 answers

Kubernetes 1.18.6 : inter pod communication on google cloud custom vm nodes not working

[Problem statement] Ping from pod {busybox-minion1} running on worker1 {named as : minion1} to the pod {busybox-minion2} on worker2 {named as : minion2} is not working. It is a three-node cluster created on google cloud using the below commands…
Umesh
  • 11
  • 1
1
vote
1 answer

GKE can't schedule newly created pods that demand GPU on newly added nodes with GPUs

When adding new pool nodes with GPU Google Kubernetes Engine can't schedule newly created pods that demand GPU on these new nodes, should be automatic but not for GPU resources I guess, new pods stays in 'pending' state forever, how to fix…
1
vote
0 answers

Virtual-kubelet install fail, missing file?

I have install kubernetes cluster with 2 worker using kubeadm The kubernetes work fine but when I come to learn about virtual-kubelet, the docs only said that simple: mkdir -p ${GOPATH}/src/github.com/virtual-kubelet cd…
1
vote
1 answer

Can a liveness probe prevent a cluster from scaling down?

I have a liveness probe which is configured to check an endpoint's availability: livenessProbe: httpGet: path: /path_example/ port: 8000 initialDelaySeconds: 10 periodSeconds: 60 The cluster has autoscaling enabled as per…
nrob
  • 11
  • 2
1
vote
1 answer

Free up space on K3s cluster

I have a K3s single-node cluster running with Containerd and where I'm reaching the space disk limit. It seems I have some old unused docker images on the machine. How can I cleanup those in order to free up the disk ? Thanks EDIT After further…
iAmoric
  • 121
  • 4
1
vote
0 answers

Ingress not working with cloudflare proxy option

I have cloudflare on it added A record of haproxy loadbalancer, behind loadbalancer are worker nodes of kubernetes cluster and ingress controller. Ingress routing traffic good when proxy option on CloudFlare on A record is disable as soon I enable…
1
vote
1 answer

Cannot mount CIFS storage on k8s cluster

I have to mount CIFS storage, trying to use flexvolume, fstab/cifs, but I have no idea what i'm doing wrong. Using microk8s v1.18 root@master:~/yamls# cat pod.yaml apiVersion: v1 kind: Secret metadata: name: cifs-secret namespace: default type:…
Deerenaros
  • 13
  • 3
1
vote
1 answer

How to set PID limit for containers in kubernetes

I have used docker-bench-security on one of the kube-node to check best practices, I found one warning that PID limit is not set on containers. So Please provide a solution that how do I set PID limit for container in Kubernetes.
1
vote
1 answer

What value should I use for host in a kubernetes ingress manifest?

I have this yaml for an Ingress: kind: Ingress apiVersion: extensions/v1beta1 metadata: name: app namespace: ingress-controller ... omitted for brevity ... spec: rules: - host: ifs-alpha-kube-001.example.com http: paths: …
Red Cricket
  • 462
  • 2
  • 7
  • 20
1
vote
1 answer

ActiveMQ Artemis: Cannot join more than two brokers with JGroups and KUBE_PING

While testing Apache ActiveMQ Artemis 2.13.0 with JGroups and the KUBE_PING plugin on Kubernetes I have noticed that no more than two brokers form a cluster. Any other brokers are simply ignored, whether they are started at the same time or…
Stephan
  • 245
  • 1
  • 7
1
vote
2 answers

Random MySQL connectivity issues?

I can run the exact same command over and over again and sometimes it works, sometimes it doesn't: root@bak-rrk9m:/# mysql -Bsuroot -p"$MYSQL_ROOT_PASSWORD" -h"$KMB_MARIADB_SERVICE_SERVICE_HOST" -e "show databases" ERROR 2002 (HY000): Can't connect…
mpen
  • 313
  • 5
  • 14
1
vote
2 answers

How to solve "Bad Certificate" error on kubernetes pod?

I am trying to set up a kubernetes pod in order for it to connect to a device, specifically a F5 BIG-IP appliance. The deployment appears to be OK, in fact i had to modify a code snippet I found online. When the pods is trying to start up, i got an…
Alessandro
  • 55
  • 5
1
vote
2 answers

Why doesn't everyone just use the cheapest servers when using kubernetes?

Recently, I have been learning a lot about Kubernetes and learned that Kubernetes can horizontally auto-scale your containers and add servers to your node pool when needed (the cloud provider should support this feature for this to work, of course).…