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
0
votes
0 answers

failedmount for postgres statefulset kubernetes

Below is the code for postgres statefulset. The ebs volume is getting attached but getting failed during mounting. apiVersion: apps/v1 kind: StatefulSet metadata: name: postgres spec: selector: matchLabels: type: DB serviceName:…
0
votes
1 answer

How to re-trigger failed flannel to calico migration?

I have a 3 node kubernetes cluster with k8s 1.22 version with flannel setup and running fine. I did run live migration steps from flannel to calico as describes in here. Cluster migrated to calico successfully. However when I tried multiple times,…
Siddharood
  • 61
  • 5
0
votes
1 answer

Login to HashiCorp Vault with Kubernetes Auth from Pod with Vault CLI

TL;DR: What is the proper way to login from Vault CLI in a Kubernetes Pod using the Kubernetes Auth Method. I want to create regular snapshots from my HashiCorp Vault raft storage. So I created a Kubernetes CronJob running the same image as my Vault…
Max N.
  • 101
  • 1
0
votes
1 answer

Remove unused docker images

Recently we found out that our Kubenetes nodes are using high disk space,after checking the nodes we found that the high disk space was due to docker images. We know that if we run docker image prune -a command, it will remove all the unused images…
0
votes
1 answer

Kubernetes pull from image private network / fails to respect /etc/hosts of server

(Reposted from original post at: https://stackoverflow.com/questions/73012913/kubernetes-pull-from-image-private-network-fails-to-respect-etc-hosts-of-serv as this is a more appropriate place to ask the question) I am running a small 3 node test…
Aaron Murray
  • 139
  • 8
0
votes
0 answers

Struggling with TLS reverse proxy on Kubernetes

I have a slightly odd setup for educational purposes. I'm running a single-node Kubernetes cluster (no load balancer to save $). I have an ingress controller running as a clusterIP and an ingress pointing port 443 to a service running on 443 with…
Ryan
  • 115
  • 4
0
votes
1 answer

Azure fails to attach disk to VM

I have a VM in zone 1 and 2 and a disk in zone 1, but when I run my script it fails with the following message: AttachVolume.Attach failed for volume "disk-name" : rpc error: code = Unknown desc = Attach volume…
Domenico
  • 3
  • 2
0
votes
0 answers

SpringBoot , Horizontal Pod Autoscalor & readinessProbe

I have a spring-boot application running over Kubernetes, Now I am trying to set up a horizontal pod auto scaler. I have one doubt, without modifying any autoscalar thresholds, does auto scaler check pods only when they are ready(after the readiness…
Ankit Bansal
  • 111
  • 1
0
votes
1 answer

Can I connect to several Kubernetes clusters simultaneously - each in different terminal session?

I have 4 kubernetes clusters I need to switch between to check or monitor - sometimes I quickly need to switch back and forth between them. I see that the kubectl config context is 1 file for the user so if I have 10 terminal windows opened, they…
Borislav T
  • 178
  • 1
  • 1
  • 6
0
votes
1 answer

the cluster operator machine-config is degraded after fresh install of OKD 4.10

After installing a fresh OKD 4.10.0-0.okd-2022-03-07-131213 with bare metal on VMware, the operator machine-config is dead with the following error in the console. "Error while reconciling 4.10.0-0.okd-2022-03-07-131213: the cluster operator…
0
votes
0 answers

Incoming apiserver requests

is there any option to see what request is reaching apiserver? I'm struggling with error authentication.go:104] Unable to authenticate the request due to an error: x509: certificate has expired or is not yet valid Certs are valid. Master node is…
RedBluff
  • 1
  • 2
0
votes
0 answers

Restoring Kops master node without previous image

Have a kubernetes cluster running on AWS that was setup many years ago using Kops. Master node instance had an issue needing replacing, which resulted in a failure to bring up the replacement node due to a missing AMI. Original AMI was Kops 1.8 with…
Mark Walker
  • 133
  • 7
0
votes
2 answers

Kubernetes scales on same node

I installed traefik via Helm. Then I scaled it with kubectl scale --replicas=2 deployment traefik -n traefik Now I have two pods running on the same node, despite there is a second node that is up and running with no problems. How can I tell it to…
Peter
  • 123
  • 4
0
votes
1 answer

Why configure non-default cluster domain

I'm considering to deploy Kubernetes cluster to semi-production usage. So far I've got a good grasp, but there's one thing that I don't fully understand yet. By default Kubernetes uses cluster.local domain for its internal DNS. It is possible at…
vbezhenar
  • 261
  • 1
  • 3
  • 10
0
votes
2 answers

Nginx proxy large file download fails instantly sometimes

Problem Downloading a large file (400MB+) with "transfer-encoding: chunked" fails after about 3 seconds. Downloading smaller files works even though possible taking longer than 3 seconds. The connection is just aborted mid-transfer which results in…
Modobu
  • 1
  • 2