-
Notifications
You must be signed in to change notification settings - Fork 0
debugger pod for minio
Cesar Celis Hernandez edited this page Aug 18, 2023
·
1 revision
To show how to use a debugger pod for minio
- Create the pod:
- File name:
debugger-pod.yaml
apiVersion: v1
kind: Pod
metadata:
name: mc
labels:
app: mc
spec:
containers:
- image: minio/mc:latest
command:
- "sleep"
- "604800"
imagePullPolicy: IfNotPresent
name: mc
restartPolicy: Always
Apply it:
k apply -f debugger-pod.yaml
- Access the pod once is ready:
$ kubectl exec -i -t -n default mc -c mc -- sh -c "(bash || ash || sh)"
[root@mc /]#
- Then with
mc
you can access your tenant:
[root@mc /]# mc alias set myminio <URL> <USER> <PASSWORD> --insecure
Added `myminio` successfully.