Created
February 24, 2016 11:42
-
-
Save armandgrillet/8da6cfd556971984db22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
name: app | |
labels: | |
name: app | |
spec: | |
replicas: 1 | |
selector: | |
name: app | |
template: | |
metadata: | |
labels: | |
name: app | |
spec: | |
containers: | |
- name: es | |
image: elasticsearch | |
ports: | |
- containerPort: 6379 | |
- name: web | |
image: prakhar1989/foodtrucks-web | |
command: | |
- python app.py | |
volumeMounts: | |
- mountPath: /code | |
name: code | |
ports: | |
- containerPort: 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment