sources/tech/20210104 8 Kubernetes insights for 2021.md
5.2 KiB
8 Kubernetes insights for 2021
Review the top five Kubernetes articles of 2020, then preview three tools you should learn about in 2021.
The end of the year is the perfect time to look back and explore where we've been and where we're going in the Kubernetes world. I particularly want to focus on the ecosystem that formed around Kubernetes in 2020, which several great articles on Opensource.com covered. I'll review them in the order they were published.
It all started in February with a great article called Basic kubectl and Helm commands for beginners by Jessica Cherry. Jess introduces readers to two simple tools to get started with Kubernetes: kubectl, technically part of Kubernetes, and Helm, which makes it easier to install and set up applications on Kubernetes. These tools are extremely useful for new Kubernetes users.
In March, Lee Carpenter wrote about Directing Kubernetes traffic with Traefik. The article gives a good background on how networking works in Kubernetes and how to configure things in the application definition (Kube YAML). Before reading Lee's article, I hadn't tracked Kubernetes networking closely for a while, and I learned that Traefik comes preconfigured now as an Ingress controller. Very cool.
Kubernetes was a popular topic on Opensource.com in March because Manuel Dewald published Build a Kubernetes Operator in 10 minutes with Operator SDK. This article is a bit more advanced than the first two. Manuel explains a powerful concept in Kubernetes called Operators. You can think of Operators as robot sysadmins that are deployed side-by-side with applications on Kubernetes. They do things like installing and upgrading applications, checking database tables, and backing up or restoring data. Manuel shows how to build a simple Operator to install software.
In June, my friend Chris Collins published Manage your Kubernetes cluster with Lens, a user interface that describes itself as "the Kubernetes IDE." Lens runs on a laptop or a jump box and connects to Kubernetes. It gives the ability to gather metrics and cluster status and do a whole bunch of other things.
In July, Jess Cherry was back with A guide to Terraform for Kubernetes beginners. Some Kubernetes objects, like Deployments, track state changes, but many don't. Jess shows how to use Terraform to control all state changes to a Kubernetes cluster, making it easy to return to a pristine state after testing a bunch of software on a Kubernetes cluster.
Bonus tools to learn about in 2021
And, as we enter this new year, I want to share a few bonus tools to put on your 2021 learning list.
First, check out KIND (Kubernetes in Docker). It lets you run a whole Kubernetes cluster with a single command. But don't let the name fool you; you can also use Podman as the container engine. It's very cool to see these kinds of upstream integrations between different projects. Showing KIND using Podman to fire up Kubernetes would be a great article for 2021!
Another tool to know about is KubeInit, which uses Ansible to deploy Kubernetes clusters. If you speak Spanish, watch our interview with Carlos Camacho on OpenShift Commons En Vivo.
Finally, if you are looking for a super-simple way to get started with Kubernetes, check out Minikube. Like KIND, Minkube can start a Kube cluster with a single command. Also like KIND, there is a driver for Podman (Minikube Podman Driver). Multiple authors mentioned Minikube in 2020, but it's been a little while since we've had a dedicated article on the tool.
Like most of us, I am looking forward to 2021 being a better year, and I'm excited to see what great Kubernetes articles are published on Opensource.com!
via: https://opensource.com/article/21/1/kubernetes
作者:Scott McCarty 选题:lujun9972 译者:译者ID 校对:校对者ID