Description |
1 online resource (363 pages) |
|
text file |
Contents |
Cover; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Setting Up Kubernetes for Development; What you need for development; Optional tools; Getting a local cluster up and running; Resetting and restarting your cluster; Looking at what's built-in and included with Minikube; Verifying Docker; Clearing and cleaning Docker images; Kubernetes concept -- container; Kubernetes resource -- Pod; Namespaces; Writing your code for Pods and Containers; Kubernetes resource -- Node; Networks; Controllers; Kubernetes resource -- ReplicaSet. |
|
Kubernetes resource -- DeploymentRepresenting Kubernetes resources; Summary; Chapter 2: Packaging Your Code to Run in Kubernetes; Container images; Container registries; Making your first container; Dockerfile commands; Example -- Python/Flask container image; Building the container; Running your container; Pod name; Port forwarding; Proxy; How did the proxy know to connect to port 5000 on the container?; Getting logs from your application; Example -- Node.js/Express container image; Building the container; Running your container; Port forwarding; Proxy; Getting logs from your application. |
|
Tagging your container imagesSummary; Chapter 3: Interacting with Your Code in Kubernetes; Practical notes for writing software to run in a container; Getting options for your executable code; Practical notes for building container images; Sending output from your program; Logs; Pods with more than one container; Streaming the logs; Previous logs; Timestamps; More debugging techniques; Interactive deployment of an image; Attaching to a running Pod; Running a second process in a container; Kubernetes concepts -- labels; Organization of labels; Kubernetes concepts -- selectors; Viewing labels. |
|
Listing resources with labels using kubectlAutomatic labels and selectors; Kubernetes resources -- service; Defining a service resource; Endpoints; Service type -- ExternalName; Headless service; Discovering services from within your Pod; DNS for services; Exposing services outside the cluster; Service type -- LoadBalancer; Service type -- NodePort; Minikube service; Example service -- Redis; Finding the Redis service; Using Redis from Python; Updating the Flask deployment; Deployments and rollouts; Rollout history; Rollout undo; Updating with the kubectl set command; Summary. |
|
Chapter 4: Declarative InfrastructureImperative versus declarative commands; A wall of YAML; Creating a simple deployment; Declaring your first application; ImagePullPolicy; Audit trail; Kubernetes resource -- Annotations; Exposing labels and annotations in Pods; Kubernetes resource -- ConfigMap; Creating a ConfigMap; Managing ConfigMaps; Exposing the configuration into your container images; Environment variables; Exposing ConfigMap as files inside the container; Dependencies on ConfigMaps; Kubernetes resource -- Secrets; Exposing Secrets into a container. |
|
Secrets and security -- how secret are the secrets? |
Summary |
Kubernetes provides a means to describe what your application needs and how it should run by orchestrating containers on your behalf to operate your software across a single, dozens, or hundreds of machines. Originally created and open sourced from Google, you can use their technology to help run, test, and scale your applications regardless ... |
Local Note |
eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America |
Subject |
Application software -- Development.
|
|
Application software -- Development. |
|
Cloud computing.
|
|
Cloud computing. |
|
Computer software -- Development.
|
|
Computer software -- Development. |
|
Software architecture.
|
|
Software architecture. |
Genre/Form |
Electronic books.
|
Other Form: |
Print version: Heck, Joseph. Kubernetes for Developers : Use Kubernetes to develop, test, and deploy your applications with the help of containers. Birmingham : Packt Publishing, ©2018 |
ISBN |
9781788830607 (electronic book) |
|
1788830601 (electronic book) |
|
9781788834759 |
|
1788834755 |
Standard No. |
9781788834759 |
|