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 Kube Proxy

kube-proxy is an agent service that runs on each node in the cluster to create, update, and delete network rules on the nodes, usually through the use of Linux iptables. These network rules allow inter-pod and intra-pod communication inside and outside the Kubernetes cluster.

Irrespective of whether you use a self-managed Kubernetes cluster or a hosted one, you need to control the configuration options that you pass to kube-proxy. As we are using EKS, kube-proxy comes pre-deployed with the cluster, which leaves us without a full control over its configuration, and we need to change this.

During the cluster's lifetime, you need to control the periodic updates of kube-proxy and include them within the cluster's updates' pipeline. Also, you need to optimize its performance by controlling the runtime parameters, including --iptables-sync-period, --iptables-min-sync-period, and --proxy-mode.

To learn about the remainder of the configuration...

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