Skip to Content
Kubernetes Cookbook - Second Edition
book

Kubernetes Cookbook - Second Edition

by Hideto Saito, Hui-Chuan Chloe Lee, Ke-Jou Carol Hsu
May 2018
Intermediate to advanced
554 pages
13h 51m
English
Packt Publishing
Content preview from Kubernetes Cookbook - Second Edition

Getting ready

Prior to applying Kubernetes Services, it is important to verify whether all nodes in the system are running kube-proxy. The daemon kube-proxy works as a network proxy in a node. It helps to reflect Service settings, such as IPs or ports on each node, and to do network forwarding. To check if kube-proxy is running or not, we take a look at network connections:

// check by command netstat with proper tags for showing the information we need, t:tcp, u:udp, l:listening, p:program, n:numeric address// use root privilege for grabbing all processes$ sudo netstat -tulpn | grep kube-proxytcp        0      0 127.0.0.1:10249         0.0.0.0:*               LISTEN      2326/kube-proxytcp6       0      0 :::31723                :::*                    LISTEN      2326/kube-proxytcp6 0 0 :::10256 :::* LISTEN 2326/kube-proxy ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Kubernetes Cookbook

Kubernetes Cookbook

Sébastien Goasguen, Michael Hausenblas
DevOps with Kubernetes - Second Edition

DevOps with Kubernetes - Second Edition

Hideto Saito, Hui-Chuan Chloe Lee, Cheng-Yang Wu

Publisher Resources

ISBN: 9781788837606Supplemental Content