diff options
Diffstat (limited to 'k8s/ui-deployment.yaml')
| -rw-r--r-- | k8s/ui-deployment.yaml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/k8s/ui-deployment.yaml b/k8s/ui-deployment.yaml index 363808ce..86912390 100644 --- a/k8s/ui-deployment.yaml +++ b/k8s/ui-deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: annotations: - kompose.cmd: kompose convert + kompose.cmd: kompose convert -f docker-compose-resolved.yaml kompose.version: 1.22.0 (955b78124) creationTimestamp: null labels: @@ -13,11 +13,12 @@ spec: selector: matchLabels: io.kompose.service: ui - strategy: {} + strategy: + type: Recreate template: metadata: annotations: - kompose.cmd: kompose convert + kompose.cmd: kompose convert -f docker-compose-resolved.yaml kompose.version: 1.22.0 (955b78124) creationTimestamp: null labels: @@ -26,11 +27,18 @@ spec: containers: - env: - name: NODE_ENV - value: production + value: development image: asoltys/coinos-ui name: ui ports: - containerPort: 8085 resources: {} + volumeMounts: + - mountPath: /coinos + name: ui-claim0 restartPolicy: Always + volumes: + - name: ui-claim0 + persistentVolumeClaim: + claimName: ui-claim0 status: {} |
