Skip to content

Instantly share code, notes, and snippets.

@codecraf8
Created May 2, 2017 09:55
Show Gist options
  • Save codecraf8/5d41c752658ac6c2ec348befa3b89356 to your computer and use it in GitHub Desktop.
Save codecraf8/5d41c752658ac6c2ec348befa3b89356 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
name: web
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: web
spec:
containers:
- args:
- python
- app.py
image: flask_web
name: web
ports:
- containerPort: 5000
resources: {}
volumeMounts:
- mountPath: /code
name: .
restartPolicy: Always
volumes:
- name: .
persistentVolumeClaim:
claimName: .
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment