Skip to content

Commit

Permalink
Revert "Add initial helm charts for k8s deployments (#1080)"
Browse files Browse the repository at this point in the history
This reverts commit 4f488dd.
  • Loading branch information
lbeckman314 authored Oct 17, 2024
1 parent 4f488dd commit b276422
Show file tree
Hide file tree
Showing 19 changed files with 168 additions and 401 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compliance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
matrix:
version: [1.0.0, 1.1.0]
db: ["boltdb", "mongodb"]
compute: ["local"]
compute: ["local", "kubernetes"]
storage: ["local", "s3"]
needs: build
runs-on: ubuntu-latest
Expand Down
19 changes: 12 additions & 7 deletions deployments/kubernetes/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
> [!WARNING]
> Funnel's Kubernetes support is in active development and may involve frequent updates 🚧
# Overview
Expand All @@ -21,19 +22,23 @@ Kuberenetes Resources:
kubectl apply -f funnel-service.yml
```

Get the clusterIP:

```sh
kubectl get services funnel --output=yaml | grep "clusterIP:"
```

Use this value to configure the server hostname of the worker config.

## 2. Create Funnel config files

> *[funnel-server-config.yml](https://github.com/ohsu-comp-bio/funnel/blob/develop/deployments/kubernetes/funnel-server-config.yml)*
> *[funnel-worker-config.yml](https://github.com/ohsu-comp-bio/funnel/blob/develop/deployments/kubernetes/funnel-worker-config.yml)*
Get the clusterIP:
We recommend setting `DisableJobCleanup` to `true` for debugging - otherwise failed jobs will be cleanup up.

```sh
export HOSTNAME=$(kubectl get services funnel --output=jsonpath='{.spec.clusterIP}')
> *[funnel-worker-config.yml](https://github.com/ohsu-comp-bio/funnel/blob/develop/deployments/kubernetes/funnel-worker-config.yml)*
sed -i "s|\${HOSTNAME}|${HOSTNAME}|g" funnel-worker-config.yml
```
***Remember to modify the file to have the actual server hostname.***

## 3. Create a ConfigMap

Expand Down
2 changes: 1 addition & 1 deletion deployments/kubernetes/funnel-worker-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ EventWriters:
- log

Server:
HostName: "${HOSTNAME}"
HostName: < funnel service clusterIP >
RPCPort: 9090
23 changes: 0 additions & 23 deletions deployments/kubernetes/helm/.helmignore

This file was deleted.

24 changes: 0 additions & 24 deletions deployments/kubernetes/helm/Chart.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions deployments/kubernetes/helm/templates/NOTES.txt

This file was deleted.

62 changes: 0 additions & 62 deletions deployments/kubernetes/helm/templates/_helpers.tpl

This file was deleted.

84 changes: 0 additions & 84 deletions deployments/kubernetes/helm/templates/configmap.yaml

This file was deleted.

51 changes: 0 additions & 51 deletions deployments/kubernetes/helm/templates/deployment.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions deployments/kubernetes/helm/templates/role.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions deployments/kubernetes/helm/templates/rolebinding.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions deployments/kubernetes/helm/templates/service.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions deployments/kubernetes/helm/templates/serviceaccount.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions deployments/kubernetes/helm/templates/tests/test-connection.yaml

This file was deleted.

Loading

0 comments on commit b276422

Please sign in to comment.