Category "kubernetes"

Kubernetes - How do I prevent duplication of work when there are multiple replicas of a service with a watcher?

I'm trying to build an event exporter as a toy project. It has a watcher that gets informed by the Kubernetes API every time an event, and as a simple case, let

Spawning pods dynamically at runtime from another pod

Is it possible for a pod to act like a spawner? When someone calls the api service in the first pod, it should spawn a new pod. This seems like a very simple th

Is it possible to retrieve pod name from values.yaml file of helm chart?

Quite new to Helm. Currently, I create an env variable in a way that when I deploy my pod, I am able to see the pod name in the environment variables list. This

GKE BackendConfig not working with customRequestHeaders

I have a nodejs application running on Google Kubernetes Engine (v1.20.8-gke.900) I want to add custom header to get client's Region and lat long so I refer to

Cannot connect to cassandra from within the same k3s cluster

I have deployed cassandra in my local k3s cluster with the below command: helm install monitoring-cassandra bitnami/cassandra --set dbUser.password="cassandra"

How to setup basic auth for Prometheus deployed on K8s cluster using yamls?

How to setup basic auth for Prometheus deployed on K8s cluster using yamls?? I was able to achieve this easily when Prometheus was deployed on a host locally us

Is there an option to copy image between nodes in kubernetes cluster?

I have a case where we have to patch the docker image in k8s node and retag it to start over the old one. This process ain't so easy and obvious, because I have

k3s redirect http to https

I'm trying to deploy AWX on k3s and everything works just fine, however I'd like to enforce SSL - so, redirect HTTP to HTTPS. I've been trying to test the SSL e

aws codedeploy can not kubectl into aws eks

i am trying to connect to eks cluster via aws codebuild. when: kubectl get svc output: [Container] 2022/05/13 11:27:03 Running command kubectl get svc error: Yo

Nginx Ingress Controller - Failed Calling Webhook

I set up a k8s cluster using kubeadm (v1.18) on an Ubuntu virtual machine. Now I need to add an Ingress Controller. I decided for nginx (but I'm open for other

Kubernetes persistent volume claim - "Cannot bind to requested volume "": storageClassName does not match

I'm currently trying to create a Persistent Volume Claim but is throwing the error: "Cannot bind to requested volume "pv": storageClassName does not match" reso

AWS EKS "0/3 nodes are available: 3 Too many pods" Error

I have 3 node group t3a.micro and I installed ebs csi provider and storage-class. I want deploy statefulset on mysql this is my manifest apiVersion: apps/v1 kin

JDBC driver Exception issue is coming in keycloak service

I'm trying to configure my keycloak-18 running on helm-chart with external mysql database-8 version. here is my helm chart file values.yaml file image: reposi

Unable to connect to AWS EKS cluster

I am configuring an EKS cluster using terraform in a private subnet and trying to access it using a VPN in a public subnet. When I configured it, it works fine

redirect from old sub domain to new sub domain using AWS ING controller

I am trying to migrate from one sub-domain to another sub-domain and have the following ing resource deployed to the sever apiVersion: extensions/v1beta1 kind:

how to resolve minikube start error : This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory

minikube v1.25.1 on Microsoft Windows 10 Home Single Language 10.0.19043 Build 19043 MINIKUBE_HOME=C:\os\minikube\Minikube Automatically selected the virtualbo

The external IP of istio ingress gateway stay pending

I deployed a istio to k8s and it works well at first, but after one day, I can't access the app via ingress gateway. Then checked the istio svc status. It shows

GKE Ingress configuration for HTTPS-enabled Applications leads to failed_to_connect_to_backend

I have serious problems with the configuration of Ingress on a Google Kubernetes Engine cluster for an application which expects traffic over TLS. I have config

How can I grant eks cluster permission to aws sso user?

I deployed a EKS cluster via a IAM user and need to give full cluster permission to other aws sso users. I followed this instruction https://docs.aws.amazon.com

ALB Ingress - Redirect Traffic from HTTP to HTTPS not working

I am trying to route all HTTP traffic to HTTPS. I have a ALB ingress resource and following the guide here https://kubernetes-sigs.github.io/aws-alb-ingress-con