siyuan
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: siyuan-note
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: siyuan-note
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: siyuan-note
|
||||
spec:
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: siyuan-note
|
||||
containers:
|
||||
- name: siyuan-note
|
||||
image: siyuan-note
|
||||
resources:
|
||||
limits:
|
||||
memory: "256Mi"
|
||||
cpu: "200m"
|
||||
ports:
|
||||
- containerPort: 6806
|
||||
name: web
|
||||
args:
|
||||
- --workspace=/siyuan/workspace
|
||||
- --lang=zh_CN
|
||||
volumeMounts:
|
||||
- mountPath: /siyuan/workspace
|
||||
name: data
|
||||
Reference in New Issue
Block a user