Kubernetes Raspberry Pi Cluster or Beginner's Guide to Kubernetes Container Deployment

Artur Spirin
Artur Spirin
100.3 هزار بار بازدید - 6 سال پیش - I created a video to
I created a video to kick start any beginner with Kubernetes that I wish I could watch when I started doing my research on Kubernetes and Docker.

This video will cover:
Building a simple Python application
Dockerfile
docker images (to list all images)
docker build (to build an image from a Dockerfile)
docker rmi (to remove a Docker images from local)
docker push (to push a local Docker image to Dockerhub)
docker run (to run a Docker image on the local machine as a container)
kubectl create -f (to create a Kubernetes deployment)
kubectl get nodes (to get all the machines that are attached to the Kubernetes cluster)
kubectl get pods (to get all the pods running your containers on the Kubernetes cluster)
kubectl scale --replicas (to scale number of pods to run your application)
kubectl delete -f (to delete the deployment)

== Hardware Required for a 4 Node Pi Cluster ==
1. 4x Raspberry Pi 3 B+ https://ebay.us/m7bc5q
2. 4x SD Cards https://ebay.us/4HSoIl
3. Cat 6 cables https://ebay.us/gObZjC
4. Charging station https://ebay.us/guPZgt
5. Switch https://ebay.us/RmCyoy
6. (Optional) Raspberry Pi Case https://ebay.us/wJcMNS
7. SD card reader https://ebay.us/VWUXe9

Tutorial by Kasper Nissen on how to configure the Raspberry Pi cluster is available @ https://kubecloud.io/setup-a-kubernet...

The Dockerfile & the deployment YAML file for Kubernetes as well as the Python app is available for download on GitHub @ https://github.com/ArturSpirin/k8stest

Back me on Patrion: https://goo.gl/Wsf1jZ
Support through PayPal: https://goo.gl/jYc1Mu
6 سال پیش در تاریخ 1398/01/04 منتشر شده است.
100,349 بـار بازدید شده
... بیشتر