18 questions from the last 30 days
2
votes
1
answer
72
views
How to add a tty on pod?
I can exec a bash shell using this command
kubectl exec --stdin --tty ftp1-7686766766-8v5s2 -- /bin/bash
bash-4.2#
but I want to know why kubectl attach don't work
kubectl attach -it ftp1-7686766766-...
Advice
3
votes
0
replies
90
views
How can I control the shutdown order of Spring-managed beans that I don’t create myself?
I have a Spring Boot application running in Kubernetes. I’m trying to implement a graceful shutdown flow using a readiness probe:
App receives SIGTERM.
App should start returning 503 from /health so ...
1
vote
2
answers
85
views
How to handle database schema migrations in a Kubernetes rolling update without downtime?
I am designing a CI/CD pipeline for a Python FastAPI application using Kubernetes (EKS) and PostgreSQL.
We are using a Rolling Update strategy for deployment. However, I have an architectural ...
Advice
1
vote
2
replies
71
views
Turning off buffering in k8s nginx ingress greatly increases client side latency and streaming in downstream
I have the following architecture:
Browser App (React) -> Nginx K8S Ingress -> Streaming Service A (Kotlin, POD) -> Streaming Service B (Java,POD)
From the browser I upload a json array of ...
1
vote
0
answers
64
views
Evaluate Kubernetes CEL Condition locally using Golang
I am creating a Kubernetes controller that needs to modify resources when specific conditions are met. I would like to define my match conditions using CEL expressions in a configuration file similar ...
-7
votes
0
answers
59
views
Kubernetes pod using 10GB more memory than memory usage of programs inside the pod [closed]
I have a kubernetes pod running a C++ program that writes to a 11GB file on NFS.
For some reason, occasionally the memory usage of the pod goes up to 10.6GB. I entered the pod and checked the program ...
0
votes
0
answers
55
views
Google tag gateway in GKE Gateway API
I'm implementing server side tagging for Google Tag Manager through my GKE Gateway API.
I was successfully able to configure server side tag manager in same domain and GET https://www.example.com/...
1
vote
1
answer
44
views
Error reading file content in helm template
Hi I am trying to read below file content in helm template but getting below.
Folder:
charts
--Example
----pipelines
------a.conf
------b.conf
------c.conf
----templates
------example.yaml
{{ ....
0
votes
0
answers
52
views
nginx reverse proxy not re-resolving dns after servers restarting
we are having an issue with nginx reverse proxy, over k8s cluster
We have an angular app served by nginx, acts as reverse proxy and as a web server, all API requests are being executed via the nginx.
...
0
votes
0
answers
51
views
ArgoCD applicationset - path and .argocd-source.yaml issues
I have a test setup where I have a base folder structure. This is working and I create the application for staging with the values and the configmap from the staging folder.
However, I also need to be ...
-3
votes
0
answers
30
views
Communication between different Namespace in Kubernetes cluster [closed]
So I used helm chart in order to install KEDA to my kubernetes cluster. However, KEDA is installed in its own seperate Namespace (called "keda"). Now i have a bunch of other namespaces all ...
Advice
1
vote
1
replies
46
views
Why does a Kubernetes StatefulSet require a Headless Service
In Kubernetes, it is standard practice (and often a requirement) to associate a StatefulSet with a Headless Service to provide stable network identities. My current understanding of the mechanism is ...
3
votes
1
answer
50
views
Argo CD App of Apps – How to automatically sync a dependent application when syncing another app?
We are using Argo CD App of Apps pattern, our structure looks like this:
parent-app
├── app-a
├── app-b
└── app-c
When syncing app-a, we want app-c to be synced automatically as well.
We are ...
0
votes
0
answers
21
views
Env variable's value is not getting picked by the spring batch task running in local mode [closed]
I am running spring-cloud-dataflow-server-2.10.2 (scdf) inside a kubernetes cluster. The server is launched by the command java -jar spring-cloud-dataflow-server-2.10.2.jar. This command is executed ...
0
votes
0
answers
25
views
Why do read requests fail during collection load and alias switch after bulk insert in Milvus?
Read requests fail or experience latency spikes when loading a bulk-inserted collection and switching alias in Milvus
I’m running a Milvus cluster (v2.5.x) on Kubernetes (EKS) using milvus-operator, ...