File tree Expand file tree Collapse file tree 1 file changed +66
-0
lines changed
Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : PersistentVolumeClaim
3+ metadata :
4+ labels :
5+ pvc : doccano
6+ name : doccano
7+ spec :
8+ storageClassName : standard-nfs-production
9+ accessModes :
10+ - ReadWriteMany
11+ resources :
12+ requests :
13+ storage : 5Gi
14+ ---
15+ apiVersion : v1
16+ kind : Service
17+ metadata :
18+ name : doccano
19+ labels :
20+ app : doccano
21+ spec :
22+ type : NodePort
23+ ports :
24+ - port : 80
25+ targetPort : 8000
26+ protocol : TCP
27+ selector :
28+ app : doccano
29+ ---
30+ apiVersion : apps/v1
31+ kind : Deployment
32+ metadata :
33+ name : doccano
34+ spec :
35+ replicas : 1
36+ selector :
37+ matchLabels :
38+ app : doccano
39+ template :
40+ metadata :
41+ labels :
42+ app : doccano
43+ spec :
44+ containers :
45+ - image : doccano/doccano:latest
46+ name : doccano
47+ imagePullPolicy : Always
48+ ports :
49+ - containerPort : 8000
50+ resources :
51+ requests :
52+ memory : " 2000Mi"
53+ cpu : " 1000m"
54+ limits :
55+ memory : " 2000Mi"
56+ volumeMounts :
57+ - mountPath : /data
58+ name : doccano
59+ envFrom :
60+ - secretRef :
61+ name : credentials
62+ restartPolicy : Always
63+ volumes :
64+ - name : doccano
65+ persistentVolumeClaim :
66+ claimName : doccano
You can’t perform that action at this time.
0 commit comments