Skip to content

Commit

Permalink
fix: nim
Browse files Browse the repository at this point in the history
  • Loading branch information
codekow committed Nov 18, 2024
1 parent d61889f commit 88b527d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions components/app-configs/nim/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: llama3
name: nim
spec:
replicas: 1
strategy:
Expand Down Expand Up @@ -53,17 +53,22 @@ spec:
# periodSeconds: 5
# successThreshold: 1
# failureThreshold: 10
securityContext:
runAsNonRoot: true
allowPrivilegeEscalation: false
volumeMounts:
- name: shm
mountPath: /dev/shm
- name: nim-cache
- name: empty
mountPath: /opt/nim/.cache
subPath: data
volumes:
- name: empty
emptyDir: {}
- name: shm
emptyDir:
medium: Memory
sizeLimit: 512Mi
# sizeLimit: 512Mi
- name: nim-cache
persistentVolumeClaim:
claimName: nim

0 comments on commit 88b527d

Please sign in to comment.