Getting Started with Kubernetes - Second Edition.
Learn how to schedule and run application containers using Kubernetes. About This Book* Get well-versed with the fundamentals of Kubernetes and get it production-ready for deployments* Confidently manage your container clusters and networks using Kubernetes* This practical guide will show you contai...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2017.
|
Edición: | 2nd ed. |
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover
- Copyright
- Credits
- About the Author
- Acknowledgement
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Introduction to Kubernetes
- A brief overview of containers
- What is a container?
- Why are containers so cool?
- The advantages of Continuous Integration/Continuous Deployment
- Resource utilization
- Microservices and orchestration
- Future challenges
- The birth of Kubernetes
- Our first cluster
- Kubernetes UI
- Grafana
- Command line
- Services running on the master
- Services running on the minions
- Tear down cluster
- Working with other providers
- Resetting the cluster
- Modifying kube-up parameters
- Alternatives to kube-up.sh
- Starting from scratch
- Cluster setup
- Installing Kubernetes components (kubelet and kubeadm)
- Setting up a Master
- Joining nodes
- Networking
- Joining the cluster
- Summary
- References
- Chapter 2: Pods, Services, Replication Controllers, and Labels
- The architecture
- Master
- Node (formerly minions)
- Core constructs
- Pods
- Pod example
- Labels
- The container's afterlife
- Services
- Replication controllers and replica sets
- Our first Kubernetes application
- More on labels
- Replica sets
- Health checks
- TCP checks
- Life cycle hooks or graceful shutdown
- Application scheduling
- Scheduling example
- Summary
- References
- Chapter 3: Networking, Load Balancers, and Ingress
- Kubernetes networking
- Networking options
- Networking comparisons
- Docker
- Docker user-defined networks
- Weave
- Flannel
- Project Calico
- Canal
- Balanced design
- Advanced services
- External services
- Internal services
- Custom load balancing
- Cross-node proxy
- Custom ports
- Multiple ports
- Ingress
- Migrations, multicluster, and more
- Custom addressing.
- Service discovery
- DNS
- Multitenancy
- Limits
- A note on resource usage
- Summary
- References
- Chapter 4: Updates, Gradual Rollouts, and Autoscaling
- Example set up
- Scaling up
- Smooth updates
- Testing, releases, and cutovers
- Application autoscaling
- Scaling a cluster
- Autoscaling
- Scaling up the cluster on GCE
- Scaling up the cluster on AWS
- Scaling manually
- Summary
- Chapter 5: Deployments, Jobs, and DaemonSets
- Deployments
- Scaling
- Updates and rollouts
- History and rollbacks
- Autoscaling
- Jobs
- Other types of jobs
- Parallel jobs
- Scheduled jobs
- DaemonSets
- Node selection
- Summary
- References
- Chapter 6: Storage and Running Stateful Applications
- Persistent storage
- Temporary disks
- Cloud volumes
- GCE persistent disks
- AWS Elastic Block Store
- Other storage options
- PersistentVolumes and StorageClasses
- StatefulSets
- A stateful example
- Summary
- References
- Chapter 7: Continuous Delivery
- Integrating with continuous delivery pipeline
- Gulp.js
- Prerequisites
- Gulp build example
- Kubernetes plugin for Jenkins
- Prerequisites
- Installing plugins
- Configuring the Kubernetes plugin
- Bonus fun
- Summary
- Chapter 8: Monitoring and Logging
- Monitoring operations
- Built-in monitoring
- Exploring Heapster
- Customizing our dashboards
- FluentD and Google Cloud Logging
- FluentD
- Maturing our monitoring operations
- GCE (StackDriver)
- Sign-up for GCE monitoring
- Alerts
- Beyond system monitoring with Sysdig
- Sysdig Cloud
- Detailed views
- Topology views
- Metrics
- Alerting
- The sysdig command line
- The csysdig command-line UI
- Prometheus
- Summary
- References
- Chapter 9: Cluster Federation
- Introduction to federation
- Setting up federation
- Contexts
- New clusters for federation.
- Initializing the federation control plane
- Adding clusters to the federation system
- Federated resources
- Federated configurations
- Other federated resources
- True multi-cloud
- Summary
- Chapter 10: Container Security
- Basics of container security
- Keeping containers contained
- Resource exhaustion and orchestration security
- Image repositories
- Continuous vulnerability scanning
- Image signing and verification
- Kubernetes cluster security
- Secure API calls
- Secure node communication
- Authorization and authentication plugins
- Admission controllers
- Pod security policies and context
- Enabling beta APIs
- Creating a PodSecurityPolicy
- Creating a pod with a PodSecurityContext
- Clean up
- Additional considerations
- Securing sensitive application data (secrets)
- Summary
- References
- Chapter 11: Extending Kubernetes with OCP, CoreOS, and Tectonic
- The importance of standards
- The Open Container Initiative
- Cloud Native Computing Foundation
- Standard container specification
- CoreOS
- rkt
- etcd
- Kubernetes with CoreOS
- Tectonic
- Dashboard highlights
- Summary
- References
- Chapter 12: Towards Production Ready
- Ready for production
- Ready, set, go
- Third-party companies
- Private registries
- Google Container Engine
- Azure Container Service
- ClusterHQ
- Portworx
- Shippable
- Twistlock
- AquaSec
- Mesosphere (Kubernetes on Mesos)
- Deis
- OpenShift
- Where to learn more?
- Summary
- Index.