Skip to content

Commit

Permalink
Fix scheduler PVC volume not writable on GKE (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
majolo committed Aug 4, 2022
1 parent 3f21503 commit 363ccfa
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 13 deletions.
1 change: 0 additions & 1 deletion ansible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Once installed you can use the following Playbooks.
ansible-playbook playbooks/kind-cluster.yaml
```


### Setup Ecosystem

Run the following from the ansible folder:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ansible install
# Ansible Install

```{include} ../../../../../ansible/README.md
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ We provide two Helm charts.
* `seldon-core-v2-crds` : cluster wide install of custom resources
* `seldon-core-v2-setup` : installation of core components


The Helm charts can be found within the `k8s/helm-charts` folder.

Assuming you have installed any ecosystem components: Jaeger, Prometheus, Kafka as discussed [here](./index.md) you can follow the
Expand All @@ -17,17 +16,18 @@ following steps.
helm install seldon-core-v2-crds k8s/helm-charts/seldon-core-v2-crds
```


## Install the Seldon Core V2 Components

```bash
kubectl create namespace seldon-mesh
```

```bash
helm install seldon-core-v2 k8s/helm-charts/seldon-core-v2-setup --namespace seldon-mesh
```

## Uninstall


Remove any models, pipelines that are running. Remove the Server components manually: e.g. mlserver and triton Server custom resources.

Remove the components:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ To install Seldon Core V2 itself you can choose:
* [Ansible](ansible.md)
* [Raw yaml](raw.md)


```{toctree}
:maxdepth: 1
:hidden:
Expand Down
4 changes: 2 additions & 2 deletions k8s/helm-charts/seldon-core-v2-crds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
appVersion: 0.1.0
appVersion: 0.1.1
description: Seldon Core V2 CRDs
keywords:
- kubernetes
- machine-learning
- mlops
name: seldon-core-v2-crds
version: 0.1.0
version: 0.1.1
4 changes: 2 additions & 2 deletions k8s/helm-charts/seldon-core-v2-setup/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
appVersion: 0.1.0
appVersion: 0.1.1
description: Seldon Core V2 Setup
keywords:
- kubernetes
- machine-learning
- mlops
name: seldon-core-v2-setup
version: 0.1.0
version: 0.1.1
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,9 @@ spec:
- mountPath: /mnt/scheduler
name: scheduler-state
securityContext:
runAsUser: 8888
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
serviceAccountName: seldon-scheduler
terminationGracePeriodSeconds: 5
volumes:
Expand Down
4 changes: 3 additions & 1 deletion k8s/yaml/seldon-v2-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,9 @@ spec:
- mountPath: /mnt/scheduler
name: scheduler-state
securityContext:
runAsUser: 8888
fsGroup: 1000
runAsGroup: 1000
runAsUser: 1000
serviceAccountName: seldon-scheduler
terminationGracePeriodSeconds: 5
volumes:
Expand Down
4 changes: 3 additions & 1 deletion scheduler/k8s/scheduler/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ spec:
spec:
serviceAccountName: scheduler
securityContext:
runAsUser: 8888
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
containers:
- command:
- /bin/scheduler
Expand Down

0 comments on commit 363ccfa

Please sign in to comment.