mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 06:41:49 +00:00
22 lines
521 B
Plaintext
22 lines
521 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# kompose
|
|
|
|
> Convert docker-compose applications to Kubernetes.
|
|
> More information: <https://github.com/kubernetes/kompose>.
|
|
|
|
- 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}}`
|