Questions tagged [sidecar]
107 questions
1
vote
1 answer
OpenShift container to container localhost communication not working in a pod
I am trying to implement a SideCar pattern in OpenShift. My example has two Project API's.
I am running the two Projects in different containers and in a single pod. Below is my deployment config specifying 2 images.
containers:
- env:
…

user804401
- 1,990
- 9
- 38
- 71
1
vote
0 answers
ASP.Net Core sidecar logging in Kubernetes with Fluentd problem
I have a K8s deployment that deploys an app's container (an ASP.Net Core application) along its sidecar for logging. I use Serilog's Console sink in order to log in the stdout. I also have a Config Map in order to store the fluentd's configuration.…

Fotis Spatharakis
- 36
- 1
- 7
1
vote
1 answer
How to gracefully shutdown sidecar container when main container is completed
I have a kubernetes manifest file which has 2 containers. Main container is collecting data at a certain time period and other (logstash) container reading logs for the main container and shipping it to the ELK stack.
Once the main container…

Leinz
- 151
- 3
- 15
1
vote
1 answer
How to sandbox untrusted code in Kubernetes
Is it possible to block egress network access from a sidecar container?
I'm trying to implement capability to run some untrusted code in a sidecar container exposed via another trusted container in same pod having full network access.
It seems 2…

Sumit
- 706
- 1
- 8
- 16
1
vote
0 answers
consul connect sidecar with spring boot microservices
I'm very new to Consul connect sidecars.
Below is my setup
I have a consul server with is running at 8500 port.
I have 2 spring based microservices A & B with dynamic ports server.port=0. Both the services are got discovered by…

Kiran Kumar
- 27
- 3
1
vote
1 answer
How to create mult-container pods using --dry-run=client?
I am working on practicing for the CKAD exam and ran into an interesting problem with a multi-container pod that I can't seem to find an answer to. Lets say I run this imperative command to create a pod.yaml:
kubectl run busybox --image=busybox…

humiliatedpenguin
- 235
- 1
- 2
- 7
1
vote
2 answers
why is needed ssl between kubernetes pods?
When I have a kubertenes cluster deployed in the same network, inside my org, with firewall rules and control access in place, what would be de reason for encrypting comunications between pods?
I having a discusion for implementing TLS Side car…

Regni
- 11
- 3
1
vote
2 answers
Azure Kubernetes - Azure Monitor & Sidecar Logshipping?
As Azure Monitor for containers will gather basic logs from the console i.e. stdout / stderr. Is there any reason to implement sidecar for log shipping especially for production workloads? Currently I am using the below pattern
apiVersion:…

One Developer
- 99
- 5
- 43
- 103
1
vote
1 answer
Logging solutions for Kubernetes (GKE)
I'm looking to capture logs from a pod in kubernetes for two use cases:
Realtime -> for which I'm using kubectl logs --- right now
Not realtime -> using stackdriver to pipe to bigquery
For both use cases, everything is working, however, when a…

Jay K.
- 546
- 2
- 10
- 17
1
vote
1 answer
How do I properly use shared memory (dev/shm) using Docker?
I have created a Kerberos sidecar by using this blog post:
The sidecar can be spun up in Docker and it writes to the Ticket Cache in /dev/shm (shared memory).
Next, I have another application container that I want to read the Ticket Cache so I am…

KSS
- 821
- 3
- 10
- 26
1
vote
0 answers
Integration Jhipster with Spring Sidecar to support other language
integration Jhipster with Spring Sidecar to support other language Service,when i start sidecar service,it can't registry successfully . i have start the integration service(Python Serivce, and it has service http://localhost:8000/health ,and return…

william
- 11
- 3
1
vote
1 answer
Aws x-ray doesn't work for a sidecar container on fargate
I tried to set up aws x-ray on fargatge. But there is no errors and metrics do not appear in x-ray. Here is part of my task definition for fargate. I tried to debug potential issue, but on local machine using docker compose and x-ray daemon it…

nimate
- 165
- 2
- 7
1
vote
1 answer
How to configure Spring Sidecar with an internal RestController, and a FeignClient
I have a microservices scenario where a Sidecar (spring boot app) maps the endpoints of a python webserver.
The python server listens on 5000 and executes a calculation, so we decided to map its homepage with "calc" prefix in the URI, so we have the…

Sergio Della Cioppa
- 51
- 1
- 8
0
votes
0 answers
Pros and Cons: Application level cache (Redis) vs Sidecar type cache (Polyscale.ai)
Application level cache like Redis are very popular but does require developer to add and maintain the logic for caching (what to cache, when to invalidate etc) which might change over time.
Recently, came across Polyscale cache, which adds a…

roy
- 11
- 1
0
votes
1 answer
Fluentd conf to filter on key_name of log message
I am trying to send the stdout logs of my application running in k8s pods to a remote syslog server. I have the fluentd container running as a sidecar to my main application container and it works to send the log to the remote syslog server. But…

user1452759
- 8,810
- 15
- 42
- 58