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

Kubernetes - Nginx Frontend & Django Backend

I'm following along this doc: https://kubernetes.io/docs/tasks/access-application-cluster/connecting-frontend-backend/ the mainly difference is that my app is a Djago app running on port 8000. The frontend pod keeps crashing: 2021/03/15 00:15:52…
1
vote
1 answer

kubernetes pod always ContainerCreating but never ready

TL:DR ContainerCreating state of pod, Docker containers paused, /var/lib/kubelet/config.yaml is reported missing in the logs but does exist and present in systemctl status kublet. On an AWS EC2 details below. I have a home brewed Kubernetes…
1
vote
1 answer

How can I figure out / debug why a nodepool is stuck in "Updating" state?

I am trying to setup a simple GKE cluster. It is a GKE Zonal cluster. I resized the default pool which is not ephemeral from 1 to 2 nodes this morning, but now can no longer make any edits to the pool because it is stuck in the "updating" state,…
1
vote
0 answers

Network performance with Kubernetes

I am running a small real time bidder application in Docker Swarm using host mode for networking. I found that other networking modes were giving much higher latency. Soon I plan to switch from Docker Swarm to unmanaged Kubernetes on dedicated…
1
vote
1 answer

Kops cluster creates more nodes than expected on aws

I new to kubernetes and kobs and are starting to create a cluster using kops create cluster --zones eu-central-1a,eu-central-1b ${NAME} After I have created I can see that the following > kops get instancegroups --name=${NAME} NAME …
1
vote
1 answer

kube-apiserver exits while control plane joining the HA cluster

Ubuntu 16.04.5 All operation are done as root user software versions are as below: ii kubeadm 1.20.4-00 amd64 Kubernetes Cluster Bootstrapping Tool ii kubectl …
Owen Chen
  • 21
  • 3
1
vote
1 answer

IPC between multiple pods on same kubernetes node

I know that containers in a Pod can share data with each other via shared memory.   But, i have not found a way to use shared memory between Pods. Is it possible by enabling HostIPC in Pod Security…
1
vote
1 answer

VPN to a Kubernetes-cluster from a remote network

I need to build a VPN connection between a network and a Kubernetes-cluster, so the applications hosted in this in this network could address to K8S-services via a secured tunnel. So, I have a bunch of K8S-nodes in a self-hosted environment. I've…
Volodymyr Melnyk
  • 537
  • 5
  • 18
1
vote
1 answer

Kaniko (GitLab CI, K8s) can not push to Nexus Repository Manager: UNAUTHORIZED: access to the requested resource is not authorized

my GitLab CI job build a example container image with Kaniko with the GitLab runner on K8s. All services are in my LAN behind a static IP. The build process pulls an ArchLinux image from my first Nexus registry service under secure domain A. Then I…
1
vote
1 answer

Ingress Nginx SSL 503 Error

Service.yaml apiVersion: v1 kind: Service metadata: creationTimestamp: null labels: io.kompose.service: grafana name: grafana spec: ports: - name: "3000" port: 3000 targetPort: 3000 selector: io.kompose.service:…
csgeek
  • 167
  • 7
1
vote
1 answer

Can we run shell commands in between microservices

I have two tools communicating with each other via stdin and stdout. Now, I have to keep them in separate microservices. How can I run shell command from one microservice to another? The first one needs response of it's command from second…
sanketmlad
  • 183
  • 3
  • 9
1
vote
0 answers

custom error pages for nginx ingress controller

I was trying to get nice error pages, when my kubernetes service is not working (replicas: 0). So I found the following…
floek
  • 11
  • 2
1
vote
1 answer

coredns certificate authority error when starting up k8s over Singularity-CRI

I am only making my first steps into k8s land so please bare with me... I am trying to bring up a small k8s cluster with Singularity as the containers runtime. I am following this procedure. The problem is that the coredns pods fail to start,…
Oren Shani
  • 11
  • 3
1
vote
1 answer

Heketi - adding device with existing data

I have an OKD cluster with GlusterFS as a storage class and Heketi as a frontend. Everything works fine till destroy of the Heketi database. Now I can't make any changes to the storage, I can't add new persistent volume. GlusterFS still works fine…
QkiZ
  • 475
  • 2
  • 7
  • 18
1
vote
3 answers

Kubernetes OCI runtime exec failed - starting container process caused "exec: \"etcdctl\": executable file not found in $PATH": unknown

Background Created a fresh Kubernetes cluster using kubeadm init --config /home/kube/kubeadmn-config.yaml --upload-certs and then joining the 2nd control plane node by running the below. kubeadm join VIP:6443 --token \ …
PieDev
  • 71
  • 1
  • 5