Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 629 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 629 Bytes

Deploy chat on Kubernetes cluster

Docker for Mac with a local kubernetes cluster can be used for deploying the container

Prerequisites

Generate deployment manifest

kubectl create deployment chat --image=pythonrocks/chat-carbon:1.0.0 -o yaml --dry-run > deployment.yaml

Create a deployment object

kubectl create -f deployment.yaml

Expose the traffic to localhost

kubectl port-forward deployment/chat 3000:3000

Then going to http://localhost:3000/ in any browser