Some How-Tos i found helpful - #109
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| kubectl -n minio apply -f pvc.yaml | ||
| ``` | ||
|
|
||
| ## Start debug container on cluster |
There was a problem hiding this comment.
you could use directly the minio image as well, I using locally ofte
docker run --rm -it --network host -v "`PWD`":/data -e MC_HOST_minio=https://___ACCESS__KEX___:___SECRET_ACCESS_KEY____@minio.run-2.lab.kubermatic.io --name run-2-mc --entrypoint bash minio/mc
There was a problem hiding this comment.
hm, i tried it but struggled to get into a shell, which is actually more convenient to do all the steps. Would be much better than needing to install something
| ## Setup alias | ||
|
|
||
| ```bash | ||
| mc alias set ALIAS http://minio:9000 <access-key> <access-secret> |
There was a problem hiding this comment.
se above example could also get injected via env var ... just FYI
|
@hc2p I would suggest we directly move this to our docs under https://docs.kubermatic.com/kubermatic/main/cheat-sheets/ |
Signed-off-by: Hannes Probst <hannes@kubermatic.com>
What this PR does / why we need it:
I had to do some chores which were quite cumbersome. I hope these will help future me and others.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: