Kompose - Translate a Docker Compose File to Kubernetes Resources

  What's Kompose? It's a conversion tool for all things compose (namely Docker Compose) to container orchestrators (Kubernetes or OpenShift).


1. curl -L https://github.com/kubernetes/kompose/releases/download/v1.21.0/kompose-linux-amd64 -o kompose

2.   mv kompose /usr/local/bin/

3.  chmod 777 /usr/local/bin/kompose

4. Create a docker-compose.yaml file

version: '3.3'

services:
   db:
      image: nginx

5.   kompose convert

6.   A deployment file should be created.

Comments

Popular posts from this blog

Terraform

Different Types of Reports in Scrum - Agile

Scrum Master Interview help - Bootcamp