Category "kubernetes"

Kubernetes Istio Gateway & VirtualService Config Flask Example

I try to get some hands on experience with K8s & istio. I am using minikube and I try to deploy a dummy flask web-app. However, for some reason I do not man

Decoupling K3S and containerd

I am trying to run k3s on a pre-installed cointainerd on the node. My goal in general is that when k3s is stopped, containerd will keep running. It is also pref

How to change log level in quarkus application deployed on kubernetes

I have a quarkus application with a standard configuration. The application works as expected, in my local develop environment i'm able to set the log level by

Why the k8s rollback (rollout undo) is not working?

After a successful kubectl rollout restart deployment/foo the kubectl rollout undo deployment/foo or kubectl rollout undo deployment/foo --to-revision=x are not

Setting up ingress to handle forwarding part of path to service

Long story short - i do not even know how to google it so here i am asking question here: I want ingress to pass to pod only part of a path it recieves from end

SQL scripts in Dockerfile is skipped to run if I attach the deployment to a persistent volume

I create a new image base on the "mcr.microsoft.com/mssql/server" image. Then I have a script to create a new database with some tables with seeded data within

Kubernetes Change-Cause

I don't know why the change cause below is always kubectl create although I run different kubectl commands. The second revision should be 'kubectl apply' not 'k

Helm charts and Ingress resources

I'm pretty new to K8s. I'm trying to make my app visible to the outside world. I have deployed this Nginx Ingress Controller with my apps, using Helm and helmfi

kong-ingress-controller's EXTERNAL_IP is pending

I've installed kong-ingress-controller using yaml file on a 3-nodes k8s cluster( bare metal ) (you can see the file at the bottom of question) and every thing i

Nginx Kubernetes Ingress returns 502

I am trying to deploy simple REST API app in Kubernetes cluster in AWS EKS. Everything else is reverse proxying just fine. I use following config for deployment

How can I install kubectx on Ubuntu Linux 20.04?

I would like to install kubectx on Ubuntu 20.04. I couldn't find any info on how to do it. Any comment is much appreciated. Thanks!

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