Today let’s talk about
Service Discovery in k8s. In my previous articles, I already mentioned
Service concept in k8s a few times, let’s do a deep dive this time.
In k8s, a
Service is an abstraction that defines a logical set of
Pods and a policy…
In my previous article, “Container Network”, I mentioned that a Linux container has a “network stack” and it is isolated in its own
Network Namespace .
This “network stack” includes the following: Network Interface, Loopback Device, Routing Table, and iptables rules. …
In this article, I will dive into the k8s storage system and how does it achieve persistent storage.
PV describes the persistent storage data volume. This API object mainly defines a directory persistently stored on the host, such as an NFS mount directory. In most cases, the k8s DevOps team…
We know that all API objects in k8s are stored in
Etcd , a distributed database. However, the operations on these API objects must be achieved by accessing
kube-apiserver. One of the very important reasons is that you need APIServer to help you with the authorization.
This is what I…
In my previous articles, I shared a lot of k8s API objects and concepts with you. Some of these API objects are used to describe applications, and some are to provide various services for applications. …
In my last article, I introduced
Job in k8s, a
Job in k8s creates one or more
Pods and will continue to retry the execution of the
Pods until a specified number of them successfully terminate. Today I will talk about another useful API object —
When you generate an image based on the
Dockerfile, and use the container generated by this image to shorten the life cycle of the container as much as possible, please do not use the container as a vm. …
In my previous few articles, I talked about
DaemonSet , at the point, you may already know they have something in common, that is they are all targeting “Long Running Tasks”. For example,
database , ..etc. …
In my last article, I talked about
In the last article, I shared how
StatefulSet guarantees the topological…