1.0.1 • Published 10 months ago

lighthouse-get v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

To deploy lighthouse in minikube

Step 1 : Build docker image and push image to docker hub

docker build -t rohanmaharjan100/lighthouse .
docker image push rohanmaharjan100/lighthouse:latest
docker run -dit  rohanmaharjan100/lighthouse
docker exec f66bde16b4841d66310ea24b60bd5355163a4559554c59d33828881a2cc5e3e5 npx get --url https://facebook.com

Step 2: Start minikube with command :

minikube start

Step 3: Create deployment using deployment command :

kubectl apply -f Deployment.yaml

check deployments using commands

kubectl get deployments
minikube dashboard

Step 4:Expose the pods running within the cluster to the outside world to be accessible:

kubectl expose deployment lighthouse-deployment --port=4000
kubectl port-forward service/lighthouse-deployment   4000:4000
1.0.1

10 months ago

1.0.0

10 months ago