Kubernetes Cookbook by Saito Hideto & Lee Hui-Chuan Chloe & Hsu Ke-Jou Carol
Author:Saito, Hideto & Lee, Hui-Chuan Chloe & Hsu, Ke-Jou Carol [Saito, Hideto]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2016-06-30T04:00:00+00:00
As you can see, three pods are created to solve this job. Also, since the selector part is removed, the selector is copied from the labels.
Pod as a daemon set
If a Kubernetes daemon set is created, the defined pod will be deployed in every single node. It is guaranteed that the running containers occupy equal resources in each node. In this scenario, the container usually works as the daemon process.
For example, the following template has an ubuntu image container that keeps checking its memory usage half minute a time. We are going to build it as a daemon set:
# cat daemonset-free.yaml apiVersion: extensions/v1beta1 kind: DaemonSet metadata: name: ram-check spec: selector: app: checkRam version: v1 template: metadata: labels: app: checkRam owner: Amy version: v1 spec: containers: - name: ubuntu-free image: ubuntu command: ["/bin/bash","-c","while true; do free; sleep 30; done"] restartPolicy: Always
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7323)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3415)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2313)
The Infinite Retina by Robert Scoble Irena Cronin(2172)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2099)
Docker on Windows by Stoneman Elton(2081)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(1829)
Computers For Seniors For Dummies by Nancy C. Muir(1769)
Hands-On Linux for Architects by Denis Salamanca(1738)
The Old New Thing by Raymond Chen(1719)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(1700)
Filmora Efficient Editing by Alexander Zacharias(1532)
MCSA Windows Server 2016 Study Guide: Exam 70-741 by William Panek(1479)
Installing and Configuring Windows 10: 70-698 Exam Guide by Bekim Dauti(1411)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(1394)
Embedded Systems Architecture by Daniele Lacamera(1377)
Learn Computer Forensics by William Oettinger(1354)
Database Reliability Engineering: Designing and Operating Resilient Database Systems by Campbell Laine & Majors Charity(1348)
Mastering Kubernetes by Gigi Sayfan(1348)