- Build multi-containers application on local
Docker Compose File: docker-compose.yml Exec: docker-compose up
- Translate a Docker Compose to Kubernetes resources
Exec: kompose convert Generate kubernetes services, deployments files
- Deploy multi-containers on Kubernetes
Exec: kubectl create -f db-deployment.yaml,web-deployment.yaml,db-service.yaml,web-service.yaml
- Access Application Exec: kubectl get service web --watch
Note: Installed docker-compose CLI, kubectl CLI and kompose CLI before run these commands