Skip to content

Instantly share code, notes, and snippets.

@thoraxe
Created September 14, 2023 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thoraxe/76e4ef1240332b9bbfcde21f85cfbd3e to your computer and use it in GitHub Desktop.
Save thoraxe/76e4ef1240332b9bbfcde21f85cfbd3e to your computer and use it in GitHub Desktop.
ClearML on OpenShift Container Platform
#!/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
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