next-terminal/playground/deploy-k8s/guacd-deployment.yaml
wjluo bb65396df6
K8s yaml (#254)
* wjluo add k8s-yaml, 20220509

* Update README.md

Co-authored-by: ccoe <ccoe@wjluodeMacBook-Pro.local>
2022-05-08 14:20:59 +08:00

40 lines
910 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null
labels:
io.kompose.service: guacd
name: guacd
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: guacd
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null
labels:
io.kompose.service: guacd
spec:
containers:
- image: dushixiang/guacd:latest
name: guacd
resources: {}
volumeMounts:
- mountPath: /usr/local/next-terminal/data
name: guacd-claim0
restartPolicy: Always
volumes:
- name: guacd-claim0
persistentVolumeClaim:
claimName: guacd-claim0
status: {}