retina
retina copied to clipboard
Flag not working: --namespace Flag doesn't work with Retina Capture Create
Describe the bug
Thanks in advance for taking a look at this. When providing the --namespace flag to retina capture create, it still uses the default namespace instead of the provided namespace.
To Reproduce Steps to reproduce the behavior:
- Install retina in any metric mode with capture support
- Download the v0.0.12 retina binary
- Start some capture passing the --namespace flag in the command
Sample command:
kubectl-retina-darwin-arm64 capture --namespace monitoring create --duration 15s --name capture-test --s3-bucket "xxx" --s3-region "xxx" --s3-access-key-id "xxx" --s3-secret-access-key "xxx" --node-selectors "kubernetes.io/os=linux"
Screenshots
Expected behavior
- Retina cli create the k8s jobs and capture records in the designated namespace.
Platform (please complete the following information):
- OS: macOS 13.3.1 (22E261) + Darwin 22.4.0
- Kubernetes Version: 1.29
- Host: AWS EKS
- Retina Version: v0.0.12
Additional context Add any other context about the problem here.