Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

--pod and -p don't select a single pod  #297

@robert-burden

Description

@robert-burden

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions