I have a replica set with several with two pods. No matter what I try I cannot make ksync only select a specific pod.
Following the readme I tried:
ksync create --name test --pod api-server-7d48bfc846-2zdg8 /local/scripts/ /pod/scripts
- This seems to completely ignore the --pod parameter and try to connect to all pods in the namespace.
ksync create --name test --pod api-server-7d48bfc846-2zdg8 -c api-server /local/scripts/ /pod/scripts
- This selects all the pods using the
api-server container which is better because it selects only the two identical pods but ideally I would only want to sync with one.
I have also tried adding "quotes" around the name and setting up the key/value pair like --pod=api-server with identical results