Difference between revisions of "Install Minio on OKD4x"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
oc delete route minio | oc delete route minio | ||
oc create route edge --service=minio --hostname=s3.apps.domain.com | oc create route edge --service=minio --hostname=s3.apps.domain.com | ||
+ | |||
+ | kubectl get secret minio-keys -o jsonpath='{.data.access-key}' | base64 --decode | ||
+ | kubectl get secret minio-keys -o jsonpath='{.data.secret-key}' | base64 --decode | ||
[[Category:4x]] | [[Category:4x]] | ||
[[Category:OpenShift & K8S]] | [[Category:OpenShift & K8S]] |
Revision as of 17:41, 26 April 2021
1 Tested with
- Server Version: 4.7.0
- Kubernetes Version: v1.20.0
1.1 Minio
PROJECT=minio-dev oc new-project $PROJECT
oc process --parameters -n openshift minio oc process -n openshift minio | oc create -f -
oc create serviceaccount anyuid oc adm policy add-scc-to-user anyuid -z anyuid
oc patch statefulset.apps/minio --patch '{"spec":{"template":{"spec":{"serviceAccountName": "anyuid"}}}}'
oc get pods oc delete pod/minio-0
oc delete route minio oc create route edge --service=minio --hostname=s3.apps.domain.com
kubectl get secret minio-keys -o jsonpath='{.data.access-key}' | base64 --decode kubectl get secret minio-keys -o jsonpath='{.data.secret-key}' | base64 --decode