Difference between revisions of "Install Minio on OKD4x"

From Bitbull Wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
  oc create route edge --service=minio --hostname=s3.apps.domain.com
 
  oc create route edge --service=minio --hostname=s3.apps.domain.com
  
 +
[[Category:4x]]
 
[[Category:OpenShift & K8S]]
 
[[Category:OpenShift & K8S]]
[[Category:4x]]
 

Revision as of 21:07, 22 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