Muutke küpsiste eelistusi

Kubernetes Microservices with Docker 1st ed. [Pehme köide]

  • Formaat: Paperback / softback, 432 pages, kõrgus x laius: 254x178 mm, kaal: 8496 g, 463 Illustrations, color; 85 Illustrations, black and white; XXI, 432 p. 548 illus., 463 illus. in color., 1 Paperback / softback
  • Ilmumisaeg: 16-Apr-2016
  • Kirjastus: APress
  • ISBN-10: 1484219066
  • ISBN-13: 9781484219065
Teised raamatud teemal:
  • Pehme köide
  • Hind: 62,59 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 73,64 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 2-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 432 pages, kõrgus x laius: 254x178 mm, kaal: 8496 g, 463 Illustrations, color; 85 Illustrations, black and white; XXI, 432 p. 548 illus., 463 illus. in color., 1 Paperback / softback
  • Ilmumisaeg: 16-Apr-2016
  • Kirjastus: APress
  • ISBN-10: 1484219066
  • ISBN-13: 9781484219065
Teised raamatud teemal:
This book on Kubernetes, the  container cluster manager, discusses all aspects of using Kubernetes in today's complex big data and enterprise applications, including Docker containers.

Starting with installing Kubernetes on a single node, the book introduces Kubernetes with a simple Hello example and discusses using environment variables in Kubernetes. 

Next, the book discusses using Kubernetes with all major groups of technologies such as relational databases, NoSQL databases, and in the Apache Hadoop ecosystem.

The book concludes with using multi container Pods and installing Kubernetes on a multi node cluster. No other book on using Kubernetes - beyond simple introduction - is available in the market.


What You Will Learn
  • How to install Kubernetes on a single node
  • How to install Kubernetes on a multi-node cluster
  • How to set environment variables
  • How to create a multi-container pods using Docker
  • How to use volumes
  • How to use Kubernetes with Apache Hadoop Ecosystem
  • How to use Kubernetes with NoSQL Databases
  • How to use Kubernetes with RDBMS

Who This Book Is For
Application Developers including Apache Hadoop Developers, Database developers and NoSQL Developers.

 


Arvustused

I find myself referring to the book about 100 times a day, while installing Docker and Kubernetes, just to get everything started and configured properly before I start deploying services. I would thus recommend the book to those starting off with Docker, with the caveat that they would eventually need to see a number of Docker project examples to determine how they can extend the technology for their projects. (Mariam Kiran, Computing Reviews, November, 2016)

About the Author xvii
About the Technical Reviewer xix
Foreword xxi
Part I Getting Started
1(94)
Chapter 1 Installing Kubernetes Using Docker
3(36)
Setting the Environment
4(1)
Installing Docker
5(10)
Installing Kubernetes
15(8)
Starting etcd
23(2)
Starting Kubernetes Master
25(3)
Starting Service Proxy
28(1)
Listing the Kubernetes Docker Containers
29(3)
Installing kubectl
32(3)
Listing Services
35(1)
Listing Nodes
36(1)
Testing the Kubernetes Installation
36(2)
Summary
38(1)
Chapter 2 Hello Kubernetes
39(38)
Overview
39(3)
What Is a Node?
39(1)
What Is a Cluster?
40(1)
What Is a Pod?
40(1)
What Is a Service?
40(1)
What Is a Replication Controller?
40(1)
What Is a Label?
41(1)
What Is a Selector?
41(1)
What Is a Name?
41(1)
What Is a Namespace?
41(1)
What Is a Volume?
41(1)
Why Kubernetes?
41(1)
Setting the Environment
42(1)
Creating an Application Imperatively
43(10)
Creating a Service
44(2)
Describing a Pod
46(1)
Invoking the Hello-World Application
47(1)
Scaling the Application
48(4)
Deleting a Replication Controller
52(1)
Deleting a Service
53(1)
Creating an Application Declaratively
53(17)
Creating a Pod Definition
54(4)
Creating a Service Definition
58(3)
Creating a Replication Controller Definition
61(3)
Invoking the Hello-World Application
64(4)
Scaling the Application
68(2)
Using JSON for the Resource Definitions
70(6)
Summary
76(1)
Chapter 3 Using Custom Commands and Environment Variables
77(18)
Setting the Environment
77(1)
The ENTRYPOINT and CMD Instructions
78(1)
The Command and Args Fields in a Pod Definition
79(1)
Environment Variables
80(1)
Using the Default ENTRYPOINT and CMD from a Docker Image
81(3)
Overriding Both the ENTRYPOINT and CMD
84(3)
Specifying both the Executable and the Parameters in the Command Mapping
87(3)
Specifying Both the Executable and the Parameters in the Args Mapping
90(3)
Summary
93(2)
Part II Relational Databases
95(70)
Chapter 4 Using MySQL Database
97(18)
Setting the Environment
97(2)
Creating a Service
99(1)
Creating a Replication Controller
100(4)
Listing the Pods
104(1)
Listing Logs
104(2)
Describing the Service
106(1)
Starting an Interactive Shell
107(2)
Starting the MySQL CLI
109(1)
Creating a Database Table
110(1)
Exiting the MySQL CLI and Interactive Shell
111(1)
Scaling the Replicas
111(2)
Deleting the Replication Controller
113(1)
Summary
114(1)
Chapter 5 Using PostgreSQL Database
115(26)
Setting the Environment
115(2)
Creating a PostgreSQL Cluster Declaratively
117(14)
Creating a Service
117(2)
Creating a Replication Controller
119(4)
Getting the Pods
123(1)
Starting an Interactive Command Shell
123(1)
Starting the PostgreSQL SQL Terminal
124(1)
Creating a Database Table
125(1)
Exiting the Interactive Command Shell
126(1)
Scaling the PostgreSQL Cluster
127(1)
Listing the Logs
128(2)
Deleting the Replication Controller
130(1)
Stopping the Service
131(1)
Creating a PostgreSQL Cluster Imperatively
131(8)
Creating a Replication Controller
132(1)
Getting the Pods
132(1)
Creating a Service
133(1)
Creating a Database Table
134(3)
Scaling the PostgreSQL Cluster
137(1)
Deleting the Replication Controller
138(1)
Stopping the Service
139(1)
Summary
139(2)
Chapter 6 Using Oracle Database
141(24)
Setting the Environment
141(1)
Creating an Oracle Database Instance Imperatively
142(6)
Listing Logs
144(1)
Creating a Service
145(1)
Scaling the Database
146(1)
Deleting the Replication Controller and Service
147(1)
Creating an Oracle Database Instance Declaratively
148(15)
Creating a Pod
148(2)
Creating a Service
150(3)
Creating a Replication Controller
153(3)
Keeping the Replication Level
156(2)
Scaling the Database
158(1)
Starting the Interactive Shell
159(1)
Connecting to Database
160(1)
Creating a User
161(1)
Creating a Database Table
162(1)
Exiting the Interactive Shell
163(1)
Summary
163(2)
Part III NoSQL Database
165(110)
Chapter 7 Using MongoDB Database
167(34)
Setting the Environment
167(2)
Creating a MongoDB Cluster Declaratively
169(25)
Creating a Service
169(4)
Creating a Replication Controller
173(3)
Creating a Volume
176(2)
Listing the Logs
178(2)
Starting the Interactive Shell for Docker Container
180(2)
Starting a Mongo Shell
182(1)
Creating a Database
182(1)
Creating a Collection
183(1)
Adding Documents
184(2)
Finding Documents
186(1)
Finding a Single Document
186(1)
Finding Specific Fields in a Single Document
187(1)
Dropping a Collection
188(1)
Exiting Mongo Shell and Interactive Shell
188(1)
Scaling the Cluster
188(1)
Deleting the Replication Controller
189(1)
Deleting the Service
190(1)
Using a Host Port
190(4)
Creating a MongoDB Cluster Imperatively
194(6)
Creating a Replication Controller
194(1)
Listing the Pods
195(1)
Listing the Logs
196(1)
Creating a Service
197(1)
Scaling the Cluster
198(2)
Deleting the Service and Replication Controller
200(1)
Summary
200(1)
Chapter 8 Using Apache Cassandra Database
201(30)
Setting the Environment
201(2)
Creating a Cassandra Cluster Declaratively
203(22)
Creating a Service
203(3)
Creating a Replication Controller
206(5)
Scaling the Database
211(1)
Describing the Pod
212(1)
Starting an Interactive Shell
213(2)
Starting the CQL Shell
215(1)
Creating a Keyspace
215(1)
Altering a Keyspace
215(1)
Using a Keyspace
216(1)
Creating a Table
216(1)
Deleting from a Table
217(1)
Truncating a Table
218(1)
Dropping a Table and Keyspace
218(1)
Creating a Volume
219(6)
Creating a Cassandra Cluster Imperatively
225(5)
Creating a Replication Controller
225(2)
Creating a Service
227(1)
Scaling the Database
228(1)
Deleting the Replication Controller and Service
229(1)
Summary
230(1)
Chapter 9 Using Couchbase
231(44)
Setting the Environment
231(3)
Creating a Couchbase Cluster Declaratively
234(32)
Creating a Pod
234(3)
Creating a Service
237(2)
Creating a Replication Controller
239(4)
Listing the Pods
243(1)
Listing the Logs
243(1)
Describing the Service
244(1)
Listing the Endpoints
244(1)
Setting Port Forwarding
244(2)
Logging into Couchbase Web Console
246(1)
Configuring Couchbase Server
247(8)
Adding Documents
255(9)
Starting an Interactive Shell
264(1)
Using the cbtransfer Tool
265(1)
Creating a Couchbase Cluster Imperatively
266(7)
Creating a Replication Controller
266(1)
Listing the Pods
266(2)
Creating a Service
268(1)
Scaling the Cluster
269(1)
Keeping the Replication Level
270(2)
Setting Port Forwarding
272(1)
Logging in to Couchbase Admin Console
272(1)
Summary
273(2)
Part IV Apache Hadoop Ecosystem
275(98)
Chapter 10 Using Apache Hadoop Ecosystem
277(36)
Setting the Environment
277(1)
Creating an Apache Hadoop Cluster Declaratively
278(18)
Creating a Service
279(2)
Creating a Replication Controller
281(2)
Listing the Pods
283(1)
Listing Logs
284(1)
Scaling a Cluster
285(1)
Starting an Interactive Shell
286(1)
Running a MapReduce Application
287(9)
Running Hive
296(6)
Running HBase
302(5)
Deleting the Replication Controller and Service
307(1)
Creating an Apache Hadoop Cluster Imperatively
307(4)
Creating a Replication Controller
307(1)
Listing the Pods
308(1)
Scaling a Cluster
309(1)
Creating a Service
309(1)
Starting an Interactive Shell
310(1)
Summary
311(2)
Chapter 11 Using Apache Solr
313(34)
Setting the Environment
314(1)
Creating a Service
315(2)
Listing Service Endpoints
317(1)
Describing the Service
317(1)
Creating a Replication Controller
318(3)
Listing the Pods
321(1)
Describing a Replication Controller
322(1)
Listing the Logs
323(2)
Starting an Interactive Shell
325(3)
Creating a Solr Core
328(1)
Indexing Documents
329(3)
Accessing Solr on Command Line with a REST Client
332(5)
Setting Port Forwarding
337(1)
Accessing Solr in Admin Console
338(6)
Scaling the Cluster
344(1)
Summary
345(2)
Chapter 12 Using Apache Kafka
347(26)
Setting the Environment
348(1)
Modifying the Docker Image
349(6)
Creating a Service
355(3)
Creating a Replication Controller
358(3)
Listing the Pods
361(1)
Describing a Pod
362(1)
Starting an Interactive Shell
363(1)
Starting the Kafka Server
364(2)
Creating a Topic
366(1)
Starting a Kafka Producer
367(1)
Starting a Kafka Consumer
367(1)
Producing and Consuming Messages
367(1)
Scaling the Cluster
368(2)
Deleting Replication Controller and Service
370(1)
Summary
371(2)
Part V Multi Containers and Nodes
373(56)
Chapter 13 Creating a Multi-Container Pod
375(24)
How to find Number of Containers in a Pod?
376(1)
Types of Applications Using a Multi-Container Pod
376(1)
Setting the Environment
377(1)
Creating a Service
378(1)
Describing a Service
379(1)
Creating a Replication Container
380(2)
Listing the Pods
382(1)
Listing the Docker Containers
383(1)
Describing the Service after Creating Replication Controller
384(1)
Invoking the Hello World Application on Command Line
385(1)
Starting the Interactive Shell
386(1)
Starting PostgreSQL Shell
387(1)
Setting Port Forwarding
387(1)
Opening the Hello World Application in a Browser
388(1)
Scaling the Cluster
389(8)
Listing the Docker Containers
391(1)
Describing the Service after Scaling
392(1)
Setting Port Forwarding
392(1)
Opening the Hello World Application in a Browser
393(1)
Invoking the Hello World Application from Command Line
394(2)
Deleting the Replication Controller
396(1)
Deleting the Service
397(1)
Summary
397(2)
Chapter 14 Installing Kubernetes on a Multi-Node Cluster
399(30)
Components of a Multi-Node Cluster
400(1)
Setting the Environment
400(2)
Installing the Master Node
402(10)
Setting Up Flanneld and etcd
402(7)
Starting the Kubernetes Master
409(2)
Running the Service Proxy
411(1)
Testing the One-Node Cluster
412(1)
Adding a Worker Node
412(7)
Exporting the Master IP
412(1)
Setting Up Flanneld
413(5)
Starting Up Kubernetes on Worker Node
418(1)
Running the Service Proxy
419(1)
Testing the Kubernetes Cluster
419(1)
Running an Application on the Cluster
419(1)
Exposing the Application as a Service
420(2)
Testing the Application in a Browser
422(1)
Scaling the Application
423(4)
Summary
427(2)
Index 429
Deepak Vohra is a consultant and a principal member of the NuBean-dot-com software company. Deepak is an Oracle-certified Java programmer and Web component developer. He has worked in the fields of XML, Java programming, and Java EE for over five years. Deepak is the coauthor of Pro XML Development with Java Technology (Apress, 2006). Deepak is also the author of JDBC 4.0 and Oracle JDeveloper for J2EE Development, Processing XML Documents with Oracle JDeveloper 11g, EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g, and Java EE Development in Eclipse IDE (Packthing). He also served as the technical reviewer on WebLogic: The Definitive Guide (OReilly Media, 2004) and Ruby Programming for the Absolute Beginner (Cengage Learning PTR, 2007).