Kubernetes microservices with Docker
The book is about Kubernetes, a container cluster manager. The book discusses all aspects of using Kubernetes in applications. Starting with installing Kubernetes on a single node, the book introduces Kubernetes with a simple Hello example and discusses using environment variables in Kubernetes. Nex...
Main Author: | |
---|---|
Other Authors: | |
Format: | eBook |
Language: | English |
Published: |
[New York, New York], New York, NY
Apress, Distributed to the book trade worldwide by Springer Science+Business Media
2016
|
Series: | The expert's voice in open source
|
Subjects: | |
Online Access: | |
Collection: | O'Reilly - Collection details see MPG.ReNa |
Table of Contents:
- Chapter 3: Using Custom Commands and Environment VariablesSetting the Environment; The ENTRYPOINT and CMD Instructions; The Command and Args Fields in a Pod Definition; Environment Variables; Using the Default ENTRYPOINT and CMD from a Docker Image; Overriding Both the ENTRYPOINT and CMD; Specifying both the Executable and the Parameters in the Command Mapping; Specifying Both the Executable and the Parameters in the Args Mapping; Summary; Part II: Relational Databases; Chapter 4: Using MySQL Database; Setting the Environment; Creating a Service; Creating a Replication Controller
- At a Glance; Contents; About the Author; About the Technical Reviewer; Foreword; Part I: Getting Started; Chapter 1: Installing Kubernetes Using Docker; Setting the Environment; Installing Docker; Installing Kubernetes; Starting etcd; Starting Kubernetes Master; Starting Service Proxy; Listing the Kubernetes Docker Containers; Installing kubectl; Listing Services; Listing Nodes; Testing the Kubernetes Installation; Summary; Chapter 2: Hello Kubernetes; Overview; What Is a Node?; What Is a Cluster?; What Is a Pod?; What Is a Service?; What Is a Replication Controller?
- What Is a Label?What Is a Selector?; What Is a Name?; What Is a Namespace?; What Is a Volume?; Why Kubernetes?; Setting the Environment; Creating an Application Imperatively; Creating a Service; Describing a Pod; Invoking the Hello-World Application; Scaling the Application; Deleting a Replication Controller; Deleting a Service; Creating an Application Declaratively; Creating a Pod Definition; Creating a Service Definition; Creating a Replication Controller Definition; Invoking the Hello-World Application; Scaling the Application; Using JSON for the Resource Definitions; Summary
- Scaling the PostgreSQL ClusterListing the Logs; Deleting the Replication Controller; Stopping the Service; Creating a PostgreSQL Cluster Imperatively; Creating a Replication Controller; Getting the Pods; Creating a Service; Creating a Database Table; Scaling the PostgreSQL Cluster; Deleting the Replication Controller; Stopping the Service; Summary; Chapter 6: Using Oracle Database; Setting the Environment; Creating an Oracle Database Instance Imperatively; Listing Logs; Creating a Service; Scaling the Database; Deleting the Replication Controller and Service
- Listing the PodsListing Logs; Describing the Service; Starting an Interactive Shell; Starting the MySQL CLI; Creating a Database Table; Exiting the MySQL CLI and Interactive Shell; Scaling the Replicas; Deleting the Replication Controller; Summary; Chapter 5: Using PostgreSQL Database; Setting the Environment; Creating a PostgreSQL Cluster Declaratively; Creating a Service; Creating a Replication Controller; Getting the Pods; Starting an Interactive Command Shell; Starting the PostgreSQL SQL Terminal; Creating a Database Table; Exiting the Interactive Command Shell