Kubernetes PluginsΒΆ
KomposeΒΆ
Kompose is a conversion tool for Docker Compose to container orchestrators such as Kubernetes (or OpenShift).
InstallationΒΆ
curl -L https://github.com/kubernetes/kompose/releases/download/v1.34.0/kompose-linux-amd64 -o kompose
If you want to install Kompose on the other platform visit this link
UsageΒΆ
Convert docker-compose yaml file into the K8S resource manifest
Apply resource
Get the list of pods that created by Kompose
KrewΒΆ
Krew is the plugin manager for kubectl command-line tool.
InstallationΒΆ
Copy and execute this code into your shell
macOS/Linux Bash/ZSHΒΆ
(
set -x; cd "$(mktemp -d)" &&
OS="$(uname | tr '[:upper:]' '[:lower:]')" &&
ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&
KREW="krew-${OS}_${ARCH}" &&
curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" &&
tar zxvf "${KREW}.tar.gz" &&
./"${KREW}" install krew
)
DocumentationΒΆ
Krew full documentation here
GraphΒΆ
Install with Krew
InstallationΒΆ
UsageΒΆ
Draw SVG of your cluster resource based on 'namespace' name
Change your namespace name and try it again.