Converting compose labels to k8s annotations

This commit is contained in:
Janet Kuo
2016-08-04 09:57:04 -07:00
parent c618bc7c64
commit b71b70e0d9
3 changed files with 17 additions and 13 deletions
+4
View File
@@ -4,6 +4,8 @@ services:
vote:
build: ./vote
command: python app.py
labels:
- "com.example.description=Vote"
volumes:
- ./vote:/app
ports:
@@ -18,6 +20,8 @@ services:
db:
image: postgres:9.4
labels:
- "com.example.description=Postgres Database"
result:
build: ./result