Containerization | Manual Deployment - muhamed-hassan/safe_planet GitHub Wiki
bare metal strong 💪 hardware:
Tools to start over lovely-
Master Brain: Kubernetes
-
Containerization Runtime (Wrapper around deployable package): Docker
- Mini-vm for saving costs no more. Don't over-think it. To construct an up and running a container
-
- Which will contain the deployable package that will be an executable later and will be able to serve requests upon being healthy available
-
Deployable package:
This part is variable over time
- the Senior System admin [Linux Based] will need to move this one from his/her local laptop after building the latest package locally from the SCM server using specific commands and the final outcome will be a
docker image
, then - he/she has to move this image to the
testing environment
whereKubernetes
resides 😜 then - run the container from this image in a healthy available state
- the Senior System admin [Linux Based] will need to move this one from his/her local laptop after building the latest package locally from the SCM server using specific commands and the final outcome will be a
Runtime of developed applications:
Hints upon Docker usage in different environments:
-
Use base image wisely when writing
Dockerfile
, because it affects on the image building time AKA transmitting fucken bloody hell a lot of packets over the network- Base image selection is based on less size and effectiveness like reviews and its robustness in different environments using a registry called Docker Hub.
-
Read a bit in image layers to optimize the image as much as you can (less layers is better)