git clone https://github.com/callezenwaka/motion_demo.git
Point domains (motion.com; doc.motion.com; pay.motion.com) to localhost or 127.0.0.1 (macOS & linux)
sudo nano /etc/hosts
127.0.0.1 motion.com
127.0.0.1 pay.motion.com
127.0.0.1 doc.motion.com
cd k8s
kubectl apply -f motion-namespace
kubectl apply -f motion-api.yaml -f motion-doc.yaml -f motion-pay.yaml -f motion-web.yaml -f motion-ingress-dev.yaml
kubectl get all -n motion
kubectl get all -n ingress-nginx
Test various domains on browser (motion.com; doc.motion.com; pay.motion.com)