Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
heyarb00 opened this issue Jun 17, 2024 · 0 comments · May be fixed by #568
Open

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

heyarb00 opened this issue Jun 17, 2024 · 0 comments · May be fixed by #568
Assignees
Labels
area/captures scope/S Change is Small type/bug Something isn't working
Milestone

Comments

@heyarb00
Copy link

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.

@rbtr rbtr self-assigned this Jun 17, 2024
@rbtr rbtr added type/bug Something isn't working area/captures scope/S Change is Small labels Jun 17, 2024
@rbtr rbtr added this to the 1.0 milestone Jun 28, 2024
@rbtr rbtr linked a pull request Jul 26, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/captures scope/S Change is Small type/bug Something isn't working
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

2 participants