STARTING

kubectl apply -f ./infra/k8s && kubectl apply -f ./infra/k8s-dev

Delete

kubectl delete -f ./infra/k8s && kubectl delete -f ./infra/k8s-dev

How to Use Local Docker Images in Kubernetes

1

docker build -t samayunmc/client ./client && docker run samayunmc/client

eval $(minikube docker-env)


minikube image ls

2

docker build -t samayunmc/client ./client && docker run samayunmc/client

minikube image load samayunmc/client

minikube image ls

samayun.com

echo "$(minikube ip) ticket-koi.com" | sudo tee -a /etc/hosts

cat /etc/hosts | tail -n 1

Create a Kubernetes TLS Ingress from scratch in Minikube

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.crt -subj "/CN=ticket-koi.com"
base64 -w 0 ./tls.crt
base64 -w 0 ./tls.key