Here's how to set up a container to run in sidecar mode.
You can read about sidecar in doc
The main thing that needs to be done is:
- ask the value of the
REST_HOST_NAME
variable is equal to the localhost
⚠️ Attention!⚠️ This is an example to demonstrate how it works.
Do not do this in a production environment, this is just an example.First, customize the manifest to suit your environment.
kubectl apply -n kube-dump -f deploy/sidecar.yaml