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

(feat) Add documentation for using CLI in docker/k8s with Distroless tools #180

Closed
1 task done
shadowbq opened this issue Jan 16, 2024 · 1 comment
Closed
1 task done
Labels
enhancement New feature or request

Comments

@shadowbq
Copy link

Does it fit the projects scope?

  • This is relevant

Why?

When you chose distro-less docker images gcr.io/distroless/static-debian11, please document how to use the CLI tools. There is no common way to access the shell via exec -it <shell>

Solution?

Document that you will need to exec directly to the init commands such as:
kubectl exec -it --namespace= -- /note-mark

kubectl exec -it notemark-675c5fb966-tfk8c --namespace=notes -- /note-mark user -h

Alternatives?

No response

Extra Context

No response

@shadowbq shadowbq added the enhancement New feature or request label Jan 16, 2024
@shadowbq shadowbq changed the title (feat) Add documentation for using CLI in docker with Distroless tools (feat) Add documentation for using CLI in docker/k8s with Distroless tools Jan 16, 2024
@enchant97
Copy link
Owner

Good idea, the recent demo video I made does show how to do this: https://youtu.be/rwL99Ac5g98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants