Skip to content

Commit

Permalink
NLP deployment on dallas-stage
Browse files Browse the repository at this point in the history
  • Loading branch information
johnml1135 committed Oct 30, 2024
1 parent 2c0dd11 commit 5c19705
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 104 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,13 @@ There are 3 different environments that Serval is deployed to:
- Run `kubectl config use-context dallas-rke`
- First, startup the storage (using internal qa for example)
- `helm install serval-pvc deploy/serval-pvc -n nlp -f deploy/qa-int-values.yaml`
- Then, startup the database (give it 60 seconds)
- `helm install mongo deploy/mongo -n nlp -f deploy/qa-int-values.yaml`
- Now you can turn on Serval
- `helm install serval deploy/serval -n nlp -f deploy/qa-int-values.yaml`

### To update the cluster
- To upgrade Serval:
- For QA internal Run:
- `kubectl config use-context dallas-rke`
- `kubectl config use-context dallas-stage`
- `helm upgrade serval deploy/serval -n nlp -f deploy/qa-int-values.yaml`
- For QA external Run:
- `kubectl config use-context dallas-rke`
Expand Down
8 changes: 0 additions & 8 deletions deploy/mongo/Chart.yaml

This file was deleted.

44 changes: 0 additions & 44 deletions deploy/mongo/templates/mongo-deployment.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions deploy/mongo/templates/mongo-service.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions deploy/qa-int-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ ClearMLDockerImage: ghcr.io/sillsdev/machine.py:1.6.3
ClearMLQueue: lambert_24gb
MongoConnectionPrefix: qa_int_
SharedFileLocation: s3://silnlp/int-qa/
servalClaimSize: 1Gi
machineClaimSize: 2Gi
servalClaimSize: 5Gi
machineClaimSize: 20Gi
enableEcho: true
15 changes: 1 addition & 14 deletions deploy/serval-pvc/templates/persistent-volume-claims.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,4 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 50M
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: serval-mongo-claim
namespace: {{ .Values.namespace}}
spec:
storageClassName: "longhorn"
accessModes:
- ReadWriteMany
resources:
requests:
storage: 10Gi
storage: 55M
18 changes: 0 additions & 18 deletions deploy/serval/templates/fluentd-flows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,3 @@ spec:
- echo
hosts: []
labels: {}
---
apiVersion: logging.banzaicloud.io/v1beta1
kind: Flow
metadata:
name: mongo-flow
namespace: {{ .Values.namespace }}
spec:
globalOutputRefs: []
localOutputRefs:
- {{ .Values.namespace }}-loki-output
match:
- select:
container_names:
- mongo
hosts: []
labels: {}
status:
active: true

0 comments on commit 5c19705

Please sign in to comment.