with
minikube
bit.ly/k8s-minidev
Install git
using the instructions here:
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
To verify git
availability, run:
git version
Verify that your local Kubernetes environment is ready by running:
kubectl version
The output should include your kubectl
version info, and the release version of the kubernetes API server (when accessible)
Kubernetes provides portable abstractions for working with distributed solitions:
As web development is increasingly being carried out using container-based microservices:
git clone https://github.com/ryanj/metrics-k8s
cd metrics-k8s
npm install
npm start
docker-env
is configured for minikubedocker build . -t yourname/metrics-k8s:v1
metrics-review.yaml
, setting the container image
to:
yourname/metrics-k8s:v1
kubectl apply -f metrics-review.yaml
minikube service metrics-review
Local Development with minikube
bit.ly/k8s-minidev
Continue learning with other k8s-workshops
: