Reader small image

You're reading from  Kubernetes in Production Best Practices

Product typeBook
Published inMar 2021
PublisherPackt
ISBN-139781800202450
Edition1st Edition
Right arrow
Authors (2):
Aly Saleh
Aly Saleh
author image
Aly Saleh

Aly Saleh is a technology entrepreneur, cloud transformation leader, and architect. He has worked for the past 2 decades on building large-scale software solutions and cloud-based platforms and services that are used by millions of users. He is a co-founder of MAVS Cloud, a start-up that empowers organizations to leverage the power of the cloud. He also played various technical roles at Oracle, Vodafone, FreshBooks, Aurea Software, and Ceros. Aly holds degrees in computer science, and he has gained multiple credentials in AWS, GCP, and Kubernetes, with a focus on building cloud platforms, app modernization, containerization, and architecting distributed systems. He is an advocate for cloud best practices, remote work, and globally distributed teams.
Read more about Aly Saleh

Murat Karslioglu
Murat Karslioglu
author image
Murat Karslioglu

Murat Karslioglu is a distinguished technologist with years of experience using infrastructure tools and technologies. Murat is currently the VP of products at MayaData, a start-up that builds data agility platform for stateful applications, and a maintainer of open source projects, namely OpenEBS and Litmus. In his free time, Murat is busy writing practical articles about DevOps best practices, CI/CD, Kubernetes, and running stateful applications on popular Kubernetes platforms on his blog, Containerized Me. Murat also runs a cloud-native news curator site, The Containerized Today, where he regularly publishes updates on the Kubernetes ecosystem.
Read more about Murat Karslioglu

View More author details
Right arrow

Configuring CoreDNS

Kubernetes used to have kube-dns as its default cluster DNS service, but starting from version 1.11, it uses CoreDNS. Also, it gets pre-deployed by most of the managed Kubernetes offerings, including EKS, that we use in this book.

For the other Kubernetes managed services that still use kube-dns, such as GKE, we recommend referring to the official documentation of kube-dns.

CoreDNS is very flexible as it is modular and pluggable. It has a rich set of plugins that can be enabled to enhance DNS functionalities. This is why it is powerful and generally preferred over kube-dns and other Kubernetes DNS solutions. To learn more about the supported plugins, please refer to the following list: https://coredns.io/plugins/.

During the cluster's lifetime, you need to control CoreDNS configuration as code, its periodic updates, and include all of this within the cluster's deployment pipeline. Also, you will need to optimize your cluster DNS performance and...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Kubernetes in Production Best Practices
Published in: Mar 2021Publisher: PacktISBN-13: 9781800202450

Authors (2)

author image
Aly Saleh

Aly Saleh is a technology entrepreneur, cloud transformation leader, and architect. He has worked for the past 2 decades on building large-scale software solutions and cloud-based platforms and services that are used by millions of users. He is a co-founder of MAVS Cloud, a start-up that empowers organizations to leverage the power of the cloud. He also played various technical roles at Oracle, Vodafone, FreshBooks, Aurea Software, and Ceros. Aly holds degrees in computer science, and he has gained multiple credentials in AWS, GCP, and Kubernetes, with a focus on building cloud platforms, app modernization, containerization, and architecting distributed systems. He is an advocate for cloud best practices, remote work, and globally distributed teams.
Read more about Aly Saleh

author image
Murat Karslioglu

Murat Karslioglu is a distinguished technologist with years of experience using infrastructure tools and technologies. Murat is currently the VP of products at MayaData, a start-up that builds data agility platform for stateful applications, and a maintainer of open source projects, namely OpenEBS and Litmus. In his free time, Murat is busy writing practical articles about DevOps best practices, CI/CD, Kubernetes, and running stateful applications on popular Kubernetes platforms on his blog, Containerized Me. Murat also runs a cloud-native news curator site, The Containerized Today, where he regularly publishes updates on the Kubernetes ecosystem.
Read more about Murat Karslioglu