Architecture
Kubernetes Volumes
· β˜• 3 min read
1. Docker Storage Volumes 1.2 Volumes in Docker A Docker volume mounts a host directory into a container. Files modified inside the container are persisted to the host. Even if the container is deleted, the files on the host are retained. Docker uses /var/lib/docker/volumes/ to store container volumes. List local volumes:

Kubernetes Networking
· β˜• 4 min read
1. Docker’s Network Model 1.1 bridge Mode bridge mode is used by default, and you can also specify it with --net=bridge. In bridge mode, containers connect to the same virtual bridge, docker0. docker0 usually occupies the 172.17.0.1/16 subnet. Containers on the same bridge can communicate directly over IP. 1.2 host Mode Use --net=host to specify host mode.

The Kubernetes API
· β˜• 4 min read
1. Objects in Kubernetes Kubernetes objects are persistent entities in the system, used to represent the state of the cluster. Users interact with Kubernetes by operating on objects, telling the system the workload they expect. Objects are manipulated through the Kubernetes API. Every Kubernetes object contains two nested object fields, Spec and Status.

Building Microservices
· β˜• 1 min read
Author: [UK] Sam Newman Publication year: 2016-5 ISBN: 9787115420268 Notes: It mainly answers a series of questions about microservices. What microservices are, what characteristics they have, how systems evolve, how to divide services, and integration, deployment, and testing strategies. It gives a fairly comprehensive introduction to microservices, and many of its views resonate with me.

Django Development Conventions (Part 1)
· β˜• 3 min read
This article mainly lays out a few things to watch out for during Django development. A consistent coding style and sound design principles help a project’s development and maintenance, and are worth developers studying and discussing continuously. 1. Encoding Declaration When the Python interpreter executes code, it needs to be