-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkrit.yaml
More file actions
44 lines (44 loc) · 895 Bytes
/
krit.yaml
File metadata and controls
44 lines (44 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: npm-cache
spec:
storageClassName: local-path-large
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
apiVersion: v1
kind: Pod
metadata:
name: ${PODNAME}
spec:
securityContext:
runAsUser: 1000
runAsGroup: 1000
containers:
- name: console
image: node:19
command: [ /bin/bash ]
workingDir: /code/web/brain
stdin: true
tty: true
volumeMounts:
- name: code
mountPath: /code
- name: data
mountPath: /data
- name: npmcache
mountPath: /home/node/.npm
volumes:
- name: code
persistentVolumeClaim:
claimName: homedir-code
- name: data
persistentVolumeClaim:
claimName: homedir-data
- name: npmcache
persistentVolumeClaim:
claimName: npm-cache