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

Feature Request: Support for tridentctl on macOS #167

Closed
kaparora opened this issue Aug 29, 2018 · 5 comments
Closed

Feature Request: Support for tridentctl on macOS #167

kaparora opened this issue Aug 29, 2018 · 5 comments

Comments

@kaparora
Copy link

It will be great to use tridentctl directly from my macbook where i run all my kubectl commands

@okrause
Copy link
Contributor

okrause commented Apr 4, 2019

To work around this, I am using the following alias on my macOS device:
tridentctl='kubectl exec -t -n trident $(kubectl get pods -n trident -l app=trident.netapp.io -o jsonpath="{.items[].metadata.name}") -c trident-main -- tridentctl -s 127.0.0.1:8000'
It uses the tridentctl running within the Trident deployment on the K8S cluster. This worked well for me. The only caveat is, that any command where you specify a yaml file with the -f option would look in the pods file system and not you local disk. So you have to work with stdin/stdout or copy the yaml file to the pods filesystem first.

@sightseeker
Copy link

I solve tridentctl (NetApp Trident CLI) use on macOS with Docker.

https://hub.docker.com/r/sightseeker/tridentctl

@stobias123
Copy link

no real resolution? why not release tridentctl with goreleaser? this makes the install clunky.

@ebartz
Copy link

ebartz commented Aug 7, 2020

@netapp-ci, can we please reopen this? The Docker Image does not really solve this as it just uses a virtual machine on mac os when running Docker there.

@innergy
Copy link
Contributor

innergy commented Aug 7, 2020

The close message didn’t make it clear, but in the extras directory in the release tarball there’s an alternative build of the tridentctl binary for MacOS.

extras/macos/bin/tridentctl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants