Closed grzn closed 2 months ago
I plan to add a flag, say --custom
, so that users are able to specify the path to a JSON or YAML file containing a partial pod object to customize the relay agent pod.
Let's take your use case as an example, you can do something like this:
$ cat custom-pod.json
{"metadata": {"namePrefix": "your-name-prefix"} }
$ kubectl relay --custom custom-pod.json ...
@grzn Hi, with krelay 0.1.1, you could customize the krelay-server pod by the --patch/--patch-file
flag. For instance:
$ kubectl relay --patch-file custom-pod.json ...
would be helpful to provide a name prefix for the pod from the commandline, it'll be helpful to identify which pod is used for what purpose when running multiple pods.