To debug the chart with the release name submarine:
# lint helm lint ./helm-charts/submarine # dry-run command helm install --dry-run --debug submarine ./helm-charts/submarine -n submarine # or template command helm template --debug submarine ./helm-charts/submarine -n submarine
To install the chart with the release name submarine:
Submarine requires istio to provide the ingress, we assume you have istio installed on K8s.
If not, you can refer to https://istio.io/latest/docs/setup/install/
# Create namespace export NAMESPACE=submarine kubectl create namespace ${NAMESPACE} # Add istio injection kubectl label namespace ${NAMESPACE} istio-injection=enabled # If istio support `meshConfig.discoverySelectors`, you will need to add this label: kubectl label namespace ${NAMESPACE} istio-discovery=enabled # We have also integrated seldon-core install by helm, thus we need to update our dependency. helm dependency update ./helm-charts/submarine # Install submarine operator in namespace submarine helm install submarine ./helm-charts/submarine --set seldon-core-operator.istio.gateway=${NAMESPACE}/seldon-gateway -n ${NAMESPACE}
To upgrade the chart with the release name submarine:
helm upgrade submarine ./helm-charts/submarine -n submarine
To uninstall/delete the subamrine deployment:
helm uninstall submarine -n submarine
A major chart version change (like v0.8.0 -> v1.0.0) indicates that there is an incompatible breaking change needing manual actions.
This version requires Helm >= 3.1.0. This version is a major change, we migrated traefik to istio and upgraded the operator. You need to back up the database and redeploy.
The following table lists the configurable parameters of the MySQL chart and their default values.
| Parameter | Description | Default |
|---|---|---|
name | Submarine operator deployment name. | submarine-operator |
replicas | Number of operators | 1 |
image | Submarine operator deployment image | apache/submarine:operator-0.8.0-SNAPSHOT |
imagePullSecrets | Image pull secrets | [] |
dev | Tell helm to install submarine-operator or not in dev mode | false |
storageClass.reclaimPolicy | Determine the action after the persistent volume is released | Delete |
storageClass.volumeBindingMode | Control when volume binding and dynamically provisioning should occur | Immediate |
storageClass.provisioner | Determine what volume plugin is used for provisioning PVs | k8s.io/minikube-hostpath |
storageClass.parameters | Describe volumes belonging to the storage class | {} |
clusterType | k8s cluster type. can be: kubernetes or openshift | kubernetes |
podSecurityPolicy.create | Specifies whether a PodSecurityPolicy should be created, this configuration enables the database/minio/server to set securityContext.runAsUser | false |
istio.enabled | Use istio to expose the service | true |
istio.gatewaySelector | Gateway label selector | istio: ingressgateway |
training-operator.enabled | If we need to deploye a kubeflow training operator in this helm | true |
training-operator.image.pullPolicy | Training operator image pull policy | IfNotPresent |
training-operator.image.registry | Training operator image registry | public.ecr.aws |
training-operator.image.repository | Training operator image repository | j1r0q0g6/training/training-operator |
training-operator.image.tag | Training operator image tag | 760ac1171dd30039a7363ffa03c77454bd714da5 |
training-operator.image.imagePullSecrets | Training operator image pull Secrets | [] |
notebook-controller.enabled | If we need to deploye a kubeflow notebook controller in this helm | true |
notebook-controller.image.pullPolicy | Notebook controller image pull policy | IfNotPresent |
notebook-controller.image.registry | Notebook controller image registry | docker.io |
notebook-controller.image.repository | Notebook controller image repository | apache/submarine |
notebook-controller.image.tag | Notebook controller image tag | notebook-controller-v1.4 |
notebook-controller.image.imagePullSecrets | Notebook controller image pull Secrets | [] |
seldon-core-operator.enabled | If we need to deploye a seldon core operator in this helm | true |
seldon-core-operator.istio.gateway | Seldon istio gateway, if helm is deployed in another namespace, this will need to be modified as well ${namespace}/seldon-gateway | submarine/seldon-gateway |