retina icon indicating copy to clipboard operation
retina copied to clipboard

Flag not working: --namespace Flag doesn't work with Retina Capture Create

Open heyarb00 opened this issue 1 year ago • 0 comments

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:

  1. Install retina in any metric mode with capture support
  2. Download the v0.0.12 retina binary
  3. 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 Screenshot 2024-06-17 at 15 05 31 Screenshot 2024-06-17 at 15 06 22 Screenshot 2024-06-17 at 15 06 40

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.

heyarb00 avatar Jun 17 '24 18:06 heyarb00