Part 18 of a series of articles about learning k8s!

Today let’s talk about Service , DNS and 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.

Service

In k8s, a Service is an abstraction that defines a logical set of Pods and a policy…

Part 17 of a series of articles about learning k8s!

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. …

Part 16 of a series of articles about learning k8s!

In this article, I will dive into the k8s storage system and how does it achieve persistent storage.

Persistent Volume (PV)

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…

Part 15 of a series of articles about learning k8s!

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…

Part 15 of a series of articles about learning k8s!

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. …

Part 14 of a series of articles about learning k8s!

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 — CronJob .

CronJob

In k8s…

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. …

Part 13 of a series of articles about learning k8s!

In my previous few articles, I talked about Deployment , StatefulSet and DaemonSet , at the point, you may already know they have something in common, that is they are all targeting “Long Running Tasks”. For example, nginx , elasticsearch , database , ..etc. …

Tony Li Xu

Senior Cloud and DevOps Engineer from both HighTech and FinTech world.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store