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
3
votes
1 answer

Kubernetes Nginx Ingress Controller Metrics

I've tried to find a documentation about the metrics exposed by the NGINX ingress controller in Kubernetes but so far I haven't found any reliable source about the metrics and what they mean. For example, there are three different request_size…
3
votes
1 answer

Forward real requestor IP in K3S NGINX ingress

I've set up a K3S Kubernetes Environment in my private Home-Lab on Raspberry PIs in order to teach myself some Kubernetes (Noob-Alert), using NGINX as Ingress Controller and I'm kind of stuck at passing the real IP of requests to the target Pods, in…
Brolantor
  • 31
  • 2
3
votes
1 answer

Malicious requests from private network (Kubernetes)

Recently I'm having many malicious requests to my nginx-ingress pod but I don't understand how's possible they're from a private network. Some examples: 10.114.0.3 - - [11/Oct/2021:09:07:09 +0000] "GET…
Darko Romanov
  • 135
  • 2
  • 10
3
votes
0 answers

Kubernetes setup with different networks for intra and inter-cluster communication

I have this use case: Setup multiple k8s clusters that can communicate with each other. I also have one network per cluster for intra-cluster communication and another network for inter-cluster communication and for external access in general. Like…
3
votes
1 answer

Kubernetes Nginx Ingress and cert-manager Waiting for HTTP-01 challenge propagation: wrong status code '401', expected '200'

I'm having issues with my rapberry pi kubernetes implementation Problem: I have cert-manager letsencrypt ACME challenge waiting due to a 401 error code on bare metal kubernetes install. Setup Platform: Raspberry Pi 4 OS: Ubuntu Server 20.04.3 LTS 64…
Llewyn S
  • 31
  • 5
3
votes
1 answer

In kubernetes HPA if the configuration has both targetCPUUtilizationPercentage and targetMemoryUtilizationPercentage which is given priority?

I am new to kubernetes and HPA. I did not find both the CPU and memory target thresholds configuration together in the official docs Is it possible to do something like below? My current sample hpa spec:- hpaSpec: maxReplicas: 10 …
sparkstar
  • 131
  • 1
  • 3
3
votes
1 answer

Ingress nginx-controller - failed for volume “webhook-cert”

I run: kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.48.1/deploy/static/provider/aws/deploy.yaml But it didn't work. Events: Type Reason Age From Message ---- …
박성일
  • 31
  • 2
3
votes
1 answer

Is there any possibility of making Kubevirt work on GKE to orchestrate VMs using Kubernetes?

Assuming that a solution requires a mix of about 70% components running in containers, and 30% (legacy, monoliths, many dependencies, too hard/too expensive to containerize) in VMs, is there a way to manage the VMs via kubevirt when everything is…
bdutta74
  • 163
  • 1
  • 7
3
votes
3 answers

containerd 1.4.9 Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService

I have installed containerd 1.4.9 on CentOS steam 8 server. based on this document https://containerd.io/docs/getting-started/. I have created default config file containerd config default > /etc/containerd/config.toml like this. after restarting…
sfgroups
  • 193
  • 3
  • 13
3
votes
1 answer

How to solve error 503 in Kubernetes NGINX Ingress

I'm trying to access Kubernetes Dashboard using NGINX INGRESS but for some reason I'm getting a 503 error. I'm running Kubernetes locally in my macbook with docker desktop. First thing I did was apply/install NGINX INGRESS CONTROLLER kubectl apply…
Carlos Sosa
  • 133
  • 1
  • 3
3
votes
2 answers

Can I have multiple threads running in parallel in a pod with a CPU limit set to 500 millicores?

I have a multi cores Kubernetes cluster, inside it I have multiple pods configured with a CPU limit of 500 millicores: resources: limits: cpu: "500m" It is possible to have, in a single pod, more than one threads…
Davide Icardi
  • 157
  • 2
  • 10
3
votes
1 answer

Nginx Ingress Rewrite Rule

I have a spring microservice running on k8s having 2 API URL's. First is /api/actuator for health check - running on port 9010 Second is /api for all other api calls - running on port 9000 I have created ClusterIP service to expose them on…
3
votes
1 answer

Zero downtime with Kubernetes on top of GlusterFs on top of a ZFS raid - Is this the best solution?

TL;DR A client requests me to make a robust system to run containerized microservices within their LAN. Restriction: They give me 2 machines and 6 data-disks. No more hardware. I have to build "the best I can" here. My worries are the storage and…
Xavi Montero
  • 295
  • 3
  • 16
3
votes
2 answers

Why does kubectl port-forward require the destination service to be bound to localhost?

I have noticed that kubectl port-forward only works when the process being forwarded to is listening on 127.0.0.1 or localhost. If the process is bound to another address, like the pod IP, then port forwarding doesn't work. For example, suppose I…
Dmitry Minkovsky
  • 547
  • 2
  • 9
  • 22
3
votes
2 answers

What is the proper way to modify kubelet and control-plane configuration with kubeadm?

I've installed a kubernetes (v1.20.0) cluster with 3 masters and 3 nodes using kubeadm init and kubeadm join, all on Ubuntu 20.04. Now I need to update the configuration and Add --cloud-provider=external kubelet startup flag on all nodes as I'm…