Created
September 14, 2023 12:22
-
-
Save thoraxe/76e4ef1240332b9bbfcde21f85cfbd3e to your computer and use it in GitHub Desktop.
ClearML on OpenShift Container Platform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# create a project for the clearml solution | |
oc new-project clearml | |
# set the policies for the various service accounts | |
oc adm policy add-scc-to-user anyuid -z clearml-mongodb | |
oc adm policy add-scc-to-user anyuid -z clearml-redis | |
oc adm policy add-scc-to-user anyuid -z clearml-core | |
oc adm policy add-scc-to-user privileged -z clearml-elastic | |
# install the helm chart in a way that is happier for openshift | |
helm install -f values.yaml clearml allegroai/clearml | |
# create routes for the clearml services | |
oc expose svc clearml-apiserver | |
oc expose svc clearml-webserver | |
oc expose svc clearml-fileserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elasticsearch: | |
rbac: | |
create: true | |
serviceAccountName: "clearml-elastic" | |
apiserver: | |
podSecurityContext: | |
runAsUser: 0 | |
service: | |
type: ClusterIP | |
fileserver: | |
service: | |
type: ClusterIP | |
webserver: | |
service: | |
type: ClusterIP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment