tldr/pages/common/kompose.md

17 lines
428 B
Markdown
Raw Normal View History

2018-12-01 11:33:03 +00:00
# kompose
> Convert docker-compose applications to Kubernetes.
2019-06-05 08:55:47 +01:00
> More information: <https://github.com/kubernetes/kompose>.
2018-12-01 11:33:03 +00:00
- Deploy a dockerized application to Kubernetes:
`kompose up -f {{docker-compose.yml}}`
- Delete instantiated services/deployments from Kubernetes:
`kompose down -f {{docker-compose.yml}}`
- Convert a docker-compose file into Kubernetes resources file:
`kompose convert -f {{docker-compose.yml}}`