46
loading...
This website collects cookies to deliver better user experience
git clone https://github.com/mrinasugosh/random-cat-facts-nodejs.git
kubectl
CLIkubectl
in your terminal. The quickest way to do this for your local machine is by referring to the Kubectl CLI Docs. Here's the command for a MacOS installation:curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl"
deployment.yaml
file that we will use to run the image as a Deployment. I would recommend referring to the Kubernetes docs for a detailed explanation onkubectl apply -f deployment.yaml
kubectl get pods
kubectl expose deployment/random-cat-facts
kubectl proxy
curl -L localhost:8000/api/v1/namespaces/mrinasugosh/services/random-cat-facts/proxy
@mrinasugosh
) ====46