一堆更新
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ironclaw
|
||||
spec:
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: ironclaw
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: ironclaw
|
||||
spec:
|
||||
volumes:
|
||||
- name: data
|
||||
hostPath:
|
||||
path: /data/ironclaw
|
||||
type: ""
|
||||
- name: projects
|
||||
hostPath:
|
||||
path: /data/code-server/coder
|
||||
type: DirectoryOrCreate
|
||||
- name: tmp
|
||||
emptyDir: {}
|
||||
containers:
|
||||
- name: ironclaw
|
||||
image: image
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
cpu: "1"
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /home/ironclaw
|
||||
- name: projects
|
||||
mountPath: /home/ironclaw/.ironclaw/workspace/Projects
|
||||
- name: tmp
|
||||
mountPath: /tmp
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: ironclaw
|
||||
- secretRef:
|
||||
name: ironclaw
|
||||
Reference in New Issue
Block a user