Kubernetes Management Design Patterns

With Docker, CoreOS Linux, and Other Platforms

DOWNLOAD NOW »

Author: Deepak Vohra

Publisher: Apress

ISBN: 1484225988

Category: Computers

Page: 399

View: 3464

Take container cluster management to the next level; learn how to administer and configure Kubernetes on CoreOS; and apply suitable management design patterns such as Configmaps, Autoscaling, elastic resource usage, and high availability. Some of the other features discussed are logging, scheduling, rolling updates, volumes, service types, and multiple cloud provider zones. The atomic unit of modular container service in Kubernetes is a Pod, which is a group of containers with a common filesystem and networking. The Kubernetes Pod abstraction enables design patterns for containerized applications similar to object-oriented design patterns. Containers provide some of the same benefits as software objects such as modularity or packaging, abstraction, and reuse. CoreOS Linux is used in the majority of the chapters and other platforms discussed are CentOS with OpenShift, Debian 8 (jessie) on AWS, and Debian 7 for Google Container Engine. CoreOS is the main focus becayse Docker is pre-installed on CoreOS out-of-the-box. CoreOS: Supports most cloud providers (including Amazon AWS EC2 and Google Cloud Platform) and virtualization platforms (such as VMWare and VirtualBox) Provides Cloud-Config for declaratively configuring for OS items such as network configuration (flannel), storage (etcd), and user accounts Provides a production-level infrastructure for containerized applications including automation, security, and scalability Leads the drive for container industry standards and founded appc Provides the most advanced container registry, Quay Docker was made available as open source in March 2013 and has become the most commonly used containerization platform. Kubernetes was open-sourced in June 2014 and has become the most widely used container cluster manager. The first stable version of CoreOS Linux was made available in July 2014 and since has become one of the most commonly used operating system for containers. What You'll Learn Use Kubernetes with Docker Create a Kubernetes cluster on CoreOS on AWS Apply cluster management design patterns Use multiple cloud provider zones Work with Kubernetes and tools like Ansible Discover the Kubernetes-based PaaS platform OpenShift Create a high availability website Build a high availability Kubernetes master cluster Use volumes, configmaps, services, autoscaling, and rolling updates Manage compute resources Configure logging and scheduling Who This Book Is For Linux admins, CoreOS admins, application developers, and container as a service (CAAS) developers. Some pre-requisite knowledge of Linux and Docker is required. Introductory knowledge of Kubernetes is required such as creating a cluster, creating a Pod, creating a service, and creating and scaling a replication controller. For introductory Docker and Kubernetes information, refer to Pro Docker (Apress) and Kubernetes Microservices with Docker (Apress). Some pre-requisite knowledge about using Amazon Web Services (AWS) EC2, CloudFormation, and VPC is also required.

Docker: Up & Running

Shipping Reliable Containers in Production

DOWNLOAD NOW »

Author: Karl Matthias,Sean P. Kane

Publisher: "O'Reilly Media, Inc."

ISBN: 1491918527

Category: Computers

Page: 232

View: 551

Updated to cover Docker version 1.10 Docker is quickly changing the way that organizations are deploying software at scale. But understanding how Linux containers fit into your workflow—and getting the integration details right—are not trivial tasks. With this practical guide, you’ll learn how to use Docker to package your applications with all of their dependencies, and then test, ship, scale, and support your containers in production. Two Lead Site Reliability Engineers at New Relic share much of what they have learned from using Docker in production since shortly after its initial release. Their goal is to help you reap the benefits of this technology while avoiding the many setbacks they experienced. Learn how Docker simplifies dependency management and deployment workflow for your applications Start working with Docker images, containers, and command line tools Use practical techniques to deploy and test Docker-based Linux containers in production Debug containers by understanding their composition and internal processes Deploy production containers at scale inside your data center or cloud environment Explore advanced Docker topics, including deployment tools, networking, orchestration, security, and configuration

Developer Defined Infrastructure Using Tectonic and Kubernetes

DOWNLOAD NOW »

Author: Lee Calcote

Publisher: N.A

ISBN: 9781786461117

Category:

Page: 397

View: 2766

Manage developer-defined infrastructure using the universal Kubernetes solution-TectonicAbout This Book* Deploy, manage, and secure your containers and understand how you can transform your business between the cloud and the datacenter* Deliver consistent environments and save time, money, and resources using the best of CoreOS and Kubernetes through Tectonic* Build next generation Kubernetes-based infrastructure and run powerful enterprise applications on the cloud with simplicityWho This Book Is ForThis book is for developers who want to write Kubernetes-native applications and operators who want to administer distributed systems applications while leveraging best practices.You need a working knowledge of the Linux command line and the basics of Docker and containers, and experience creating at least one local container and a consumed cloud service.What You Will Learn* Deploy code on a container-native stack with flexible architectures and automatic load-balancing for services* Migrate existing workloads to containers or start a new project with containers* Explore CoreOS's packaging of Google Infrastructure For Everyone Else (GIFEE) under the offering name "Tectonic"* "Security Spotlight" which will expand on CoreOS's security-minded approach to each of its projects* Find out how to make informed decisions about which components and edition make sense for your use case* Get insights into the evolving patterns used in microservices in a container infrastructure* Comprehend the components and projects used to run web-scale infrastructure* Best practices and trade-offs to consider when designing cloud-native software and running the infrastructureIn DetailTectonic is a powerful container and enterprise solution by CoreOS. It helps deploy, manage, and secure your containers by leveraging and combining the best features of CoreOS and Kubernetes. It provides an integrated container-based solution and is an initiative toward opinionated infrastructure.The book starts by recognizing that the way infrastructure is defined and consumed is significantly shifting; that we are entering the age of developer-defined infrastructure where the choices of developers dictate what systems, clouds, software, tools, and so on, are used. We then provide a high-level overview of the components and deployment of Tectonic. Next, we cover each component individually at a deeper level with a great emphasis on Kubernetes-the central framework, which is the largest and most complex component within the software suite. Finally, we'll compare it with the other available container orchestration systems, and provide container management best practices, microservices patterns, and anti-patterns in the Kubernetes world.

Docker: Up & Running

Shipping Reliable Containers in Production

DOWNLOAD NOW »

Author: Sean P. Kane,Karl Matthias

Publisher: "O'Reilly Media, Inc."

ISBN: 1492036749

Category: Computers

Page: 352

View: 4287

Docker is rapidly changing the way organizations deploy software at scale. However, understanding how Linux containers fit into your workflow—and getting the integration details right—is not a trivial task. With the updated edition of this practical guide, you’ll learn how to use Docker to package your applications with all of their dependencies and then test, ship, scale, and support your containers in production. This edition includes significant updates to the examples and explanations that reflect the substantial changes that have occurred over the past couple of years. Sean Kane and Karl Matthias have added a complete chapter on Docker Compose, deeper coverage of Docker Swarm mode, introductions to both Kubernetes and AWS Fargate, examples on how to optimize your Docker images, and much more. Learn how Docker simplifies dependency management and deployment workflow for your applications Start working with Docker images, containers, and command line tools Use practical techniques to deploy and test Docker containers in production Debug containers by understanding their composition and internal processes Deploy production containers at scale inside your data center or cloud environment Explore advanced Docker topics, including deployment tools, networking, orchestration, security, and configuration