mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 21:56:58 +00:00
Update cheatsheets
This commit is contained in:
21
kompose
Normal file
21
kompose
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user