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

Disable CORS using kubernetes ingress

Is it possible to forcefully disable CORS using kubernetes nginx ingress when the application is allowing CORS? I have an application that I believe is sending Access-Control-Allow-Credentials:true header. I tried the following but its not…
Dushyant Bangal
  • 123
  • 1
  • 7
1
vote
1 answer

Error: failed to parse kubelet flag: unknown flag: --network-plugin

I have a running cluster with version as below GitVersion:"v1.24.2", what is the solution for the CNI changes in this version for running clusters that are throwing errors for --network-plugin flags? i cant seem to find any way to fix the running…
ramakrpr
  • 11
  • 3
1
vote
1 answer

Security context in Kubernetes

Under the K8s component Statefulset as shown below, the security context works fine for Kubernetes 1.21 version, but when I tried with new versions it did not work fine. I understand this is due to the fact that there is 'PodSecurityPolicy…
RockyCool
  • 11
  • 3
1
vote
1 answer

Why are system:nodes, system:masters, etc. not listed under "kubectl get roles -A" or "kubectl get clusterroles"?

I'm really struggling to follow the AWS documentation for "Enabling IAM user and role access to your cluster". When I run kubectl edit -n kube-system configmap/aws-auth, I see this: mapRoles: | - groups: - system:bootstrappers -…
ndbroadbent
  • 276
  • 2
  • 11
1
vote
0 answers

which K3S ports should (not) be exposed on a public interface

The K3S documentation explains which ports are required for this kubernetes distribution to work. What it does NOT explain is, which of these ports are OK to be open on a public interface. K3S seem to deal with the following ports Master 6443/tcp…
tcurdt
  • 363
  • 3
  • 9
1
vote
0 answers

Pod coredns stuck in ContainerCreating state with Weave on k8s

First of all, let me thank you for this amazing guide. I'm very new to kubernetes and having a guide like this to follow helps a lot when trying to setup my first cluster! That said, I'm having some issues with creating deploytments, as there are…
Clebson
  • 113
  • 1
  • 6
1
vote
0 answers

Share a dependency across helm charts

I am trying to launch two different Helm charts that share a common dependency (a MySQL database in this case). Let's consider two different helm charts with the following setup in Chart.yaml: Service A: dependencies: - name: mysql version:…
1
vote
1 answer

Kubernetes Cert-Manager Expired Certificates

I inherited a GKE Kubernetes environment and have been trying to figure this out for days but unfortunately just don't know what to try next. The cluster is setup to use cert-manager (installed via helm) to apply Let's Encrypt certificates to the…
1
vote
0 answers

Set up Kubernetes Ingress Nginx in AWS

set up a kubernetes cluster locally and make kubernetes-ingress-nginx works correctly. Now I would like to deploy it on AWS. I set up the kubernetes cluster using kubeadm and it's working correctly. The issue now is that I can't make the ingress…
Mael Fosso
  • 121
  • 2
1
vote
0 answers

GKE Node auto-provisioning not scaling up with limits defined

I want to use GKE node auto-provisioning to create a node-pool with GPU on demand (that is when I start a Job that needs GPU resources). Going with the GCP tutorial I've set up a cluster with enabled cluster autoscaling and node auto-provisioning.…
przemys
  • 11
  • 1
1
vote
0 answers

How to add custom SSL certificates to cluster Kubernetes

I have a Kubernetes cluster with 2 master and 3 worker nodes also I have a separate Haproxy server with public IP. By default, kubeadm generates all the certificates required for the cluster and stores the certificates in /etc/kubernetes/pki As per…
AkilaMK
  • 11
  • 1
1
vote
0 answers

Find out specific Rancher RKE K8s image versions

I am wondering where I can find which containers versions will be deployed when I install a K8s Cluster with the following version…
Shurkan2
  • 11
  • 1
1
vote
1 answer

How to cleanup namespace in kubernetes?

We have one cluster in aks. Where we deployed consul helm chart in consul namespace. It created many CRDs. The using these CRDs internally created one more namespace applicationns When we deleted consul, it deleted. Then, when we trying to delete…
1
vote
0 answers

iptables REDIRECT to Kubernetes NodePort causes request to hang

I am attempting to direct client traffic to a kubernetes cluster NodePort listening on 192.168.1.100.30000 (https port). Client's needs to make a request to 192.168.1.100.8000 so I added the following REDIRECT rule in iptables: iptables -t nat -I…
tiger_groove
  • 143
  • 4
1
vote
1 answer

Pgadmin4 cannot start in Kubernetes

I have set up Postgres in Kubernetes (k3s administered with Rancher) which seems to be working fine but in order to take a look at the databases I tried to add a pgadmin4 pod. I first tried adding the image dpage/pgadmin4 without any additional…
Taxel
  • 111
  • 2