Friday Night with DevOps
I attended "Friday Night with DevOps" on Friday evening at MappleLabs Solution Pvt Ltd, Bangalore. All details are here: https://www.meetup.com/bangalore-devops-community-powered-by-snappyflow/events/292655378/
Here are few key takeaway points
- We can use service mesh for monolith application also.
- To reduce size of Docker image
- Use "Docker ignore"
- Choose right base OS
- Use Microcontainers
- https://blog.iron.io/microcontainers-tiny-portable-containers/
- https://github.com/iron-io/dockers
- https://github.com/iron-io/dockerworker
- Goole distroless image https://github.com/GoogleContainerTools/distroless
- Multi Stage build is key.
- Use Squash command
- https://stackoverflow.com/questions/41764336/how-does-the-new-docker-squash-work
- https://github.com/jwilder/docker-squash
- https://blog.geralexgr.com/docker/create-single-image-layers-with-docker-squash
- https://sleeplessbeastie.eu/2021/09/17/how-to-squash-docker-image/
- https://mresetar.github.io/2020-03-20-squashing-docker-images-for-smaller-size/
- Use Docker History command https://docs.docker.com/engine/reference/commandline/history/
- Layers and order of layers
- Karpenter can autoscale K8s cluster https://karpenter.sh/
- Kubecost https://www.kubecost.com/
- Istio can be used for blue-green testing, with two cluster. One cluster with Blue deployment and another with green cluster.
- https://velero.io/ Velero is for K8s backup and restore.
0 comments:
Post a Comment