Questions tagged [sidecar]

107 questions
11
votes
1 answer

sidecar vs init container in kubernetes

I am having trouble distinguishing between a sidecar and an init container. So far, I understand that the real app containers wait for init container to do something. However, sidecar could do the same thing , could it not? And vice versa, init…
Mamun
  • 2,322
  • 4
  • 27
  • 41
5
votes
2 answers

Redis in kubernetes - sidecar or client-server model?

What is the advantage and disadvantage of using redis as a sidecar in kubernetes?Is it possible to have persistence cache when redis container is added in each app pod? Will that affect the availability and scalability of cache?
sachin
  • 1,220
  • 1
  • 14
  • 24
4
votes
2 answers

in k8s how to redirect docker‘s stdout to volume file?

I am working with logs in my system. I want to use a log sidecar to collect business container's log. And my business container's log will write to its STDOUT. So I want to redirect this STDOUT to pod's volume file, because in a pod all containers…
elon_musk
  • 41
  • 1
  • 3
4
votes
0 answers

Killing Sidecar container once main container is terminated in Jobs/Cron Jobs

We are facing an issue wrt sidecars in Jobs/Cron Jobs. We are using EFK stack for logging and using filebeat as a sidecar container for shipping logs from app to ElasticSearch. But while implementing this in Batch Jobs, the sidecar container is not…
ganga
  • 41
  • 2
4
votes
1 answer

Kubernetes: How to collect stdout/stderr logs using sidecar container

There is a container which print logs to stdout/stderr, and I have no access to host machines, so can not use node log collector to collect and send them to a central logging system(ElasticSearch here), is there a way to use a sidecar container to…
raja
  • 159
  • 2
  • 7
3
votes
2 answers

Git-sync sidecar container is not syncing GitHub repo DAGS into Airflow Kubernetes cluster properly

Im attempting to incorporate git-sync sidecar container into my Airflow deployment yaml so my private Github repo gets synced to my Airflow Kubernetes env every time I make a change in the repo. So far, it successfully creates a git-sync container…
jorgeavelar98
  • 75
  • 1
  • 9
3
votes
0 answers

Kubernetes sidecar with debug tools

I'm trying to introduce a sidecar with dotnet debug tools According to this https://thecloudblog.net/post/tracing-and-profiling-a-net-core-application-on-azure-kubernetes-service-with-a-sidecar-container/ Doing the below command should work kubectl…
TheWommies
  • 4,922
  • 11
  • 61
  • 79
3
votes
1 answer

Open Screen Mirroring in Control Center for Sidecar?

OS & Program Details macOS Monterey (12.3+): This is only applicable to 12.3 or above since the method of activating/deactivating Sidecar changed a bit with the introduction of Universal Control (rather than being in the CC Display module, the…
hnlkaitan
  • 31
  • 3
3
votes
2 answers

Vault sidecar injector permission denied only for vault enterprise

I am trying to explore vault enterprise but getting permission denied for sidecar when I use the vault enterprise but seems to work fine when I tried to use local vault server. Here is the repository that contains a working example with the local…
Adiii
  • 54,482
  • 7
  • 145
  • 148
3
votes
2 answers

Kubernetes Pod to run with OpenVPN client sidecar and have functional DNS through the tunnel and in cluster

I attempt to build a Pod that runs a service that requires: cluster-internal services to be resolved and accessed by their FQDN (*.cluster.local), while also have an active OpenVPN connection to a remote cluster and have services from this remote…
Dyin
  • 5,815
  • 8
  • 44
  • 69
2
votes
0 answers

Write into stdin of other container in pod using sidecar

For a current project I'd like to write into a process inside my game server container from a sidecar container in the same pod. I already found a solution to serve logs via http using my sidecar application, but writing a process itself is another…
2
votes
3 answers

Kubernetes CronJob with a sidecar container

I am having some issues with a Kubernetes CronJob running two containers inside of a GKE cluster. One of the two containers is actually executing the job that must be done by the CronJob. This works perfectly fine. It is started when it is supposed…
Attila
  • 3,206
  • 2
  • 31
  • 44
2
votes
0 answers

Calling Rust from Python: Shall I use shared library or sidecar pattern?

I maintain a big repo written in Rust, which involves certain functionalities such as I/O with databases, and communications with other nodes using Websocket. Now I need to allow other people to write Python scripts which can use DB I/O and…
Xiaoya Wei
  • 21
  • 1
  • 2
2
votes
3 answers

Mockito shipped within Spring Boot fails to attach to JVM (OpenJDK 11)

I have a bunch of Spring Boot 2.5.6 applications that use Mockito for unit testing. The version of Mockito that is used is the one that comes shipped within SB itself (3.9.0). The JDK is OpenJDK 11.0.12+0. Everything was working fine until…
quiram
  • 746
  • 1
  • 7
  • 18
2
votes
2 answers

Dapr .Net SDK Problem with InvokeMethodGrpcAsync() gRPC Invocation

I have an app started in Dapr that has a gRPC service. Starting Dapr with id MyGrpcApi001. HTTP Port: 55319. gRPC Port: 55320 I have started it with the following command: dapr run --app-id MyGrpcApi001 --app-protocol grpc --app-port 5000 -- dotnet…
tridy
  • 1,166
  • 1
  • 12
  • 21
1
2 3 4 5 6 7 8