توضیحاتی در مورد کتاب Managing Kubernetes Resources Using Helm: Simplifying how to build, package, and distribute applications for Kubernetes, 2nd Edition
نام کتاب : Managing Kubernetes Resources Using Helm: Simplifying how to build, package, and distribute applications for Kubernetes, 2nd Edition
ویرایش : 2
عنوان ترجمه شده به فارسی : مدیریت منابع Kubernetes با استفاده از Helm: ساده سازی نحوه ساخت، بسته بندی و توزیع برنامه های کاربردی برای Kubernetes، نسخه دوم
سری :
نویسندگان : Andrew Block, Austin Dewey
ناشر : Packt Publishing
سال نشر : 2022
تعداد صفحات : 310
ISBN (شابک) : 1803242892 , 9781803242897
زبان کتاب : English
فرمت کتاب : pdf
حجم کتاب : 8 مگابایت
بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.
فهرست مطالب :
Cover
Title Page
Copyright and Credits
Dedicated
Foreword
Contributors
Table of Contents
Preface
Part 1: Introduction and Setup
Chapter 1: Understanding Kubernetes and Helm
From monoliths to modern microservices
What is Kubernetes?
Container orchestration
HA
Scalability
Active community
Deploying a Kubernetes application
Approaches to resource management
Imperative and declarative configurations
Resource configuration challenges
The many types of Kubernetes resources
Keeping live and local states in sync
Application life cycles are hard to manage
Resource files are static
Helm to the rescue!
Understanding package managers
The Kubernetes package manager
The benefits of Helm
Summary
Further reading
Questions
Chapter 2: Preparing a Kubernetes and Helm Environment
Technical requirements
Preparing a local Kubernetes environment with minikube
Installing minikube
Installing VirtualBox
Configuring VirtualBox as the default driver
Configuring minikube resource allocation
Exploring the basic usage of minikube
Setting up kubectl
Installing kubectl
Setting up Helm
Installing Helm
Configuring Helm
Adding upstream repositories
Adding plugins
Environment variables
Tab completion
Authentication
Authorization/RBAC
Summary
Further reading
Questions
Chapter 3: Installing Your First App with Helm
Technical requirements
Understanding the WordPress application
Finding a WordPress chart
Searching for WordPress charts from the command line
Viewing the WordPress chart in a browser
Bitnami repository chart retention policy
Adding the full Bitnami repository
Showing the WordPress chart information from the command line
Creating a Kubernetes environment
Installing a WordPress chart
Creating a values file for configuration
Running the installation
Inspecting your release
Choosing between --set and --values
Accessing the WordPress application
Upgrading the WordPress release
Modifying the Helm values
Running the upgrade
Reusing and resetting values during an upgrade
Rolling back the WordPress release
Inspecting the WordPress history
Running the rollback
Uninstalling the WordPress release
Shutting down your environment
Summary
Further reading
Questions
Part 2: Helm Chart Development
Chapter 4: Scaffolding a New Helm Chart
Technical requirements
Understanding the Guestbook application
Understanding the YAML format
Defining key-value pairs
Value types
The JSON format
Scaffolding the Guestbook Helm chart
Deploying the scaffolded Guestbook chart
Understanding the Chart.yaml file
Updating the Guestbook Chart.yaml file
Summary
Further reading
Questions
Chapter 5: Helm Dependency Management
Technical requirements
Declaring chart dependencies
The dependencies map
Downloading chart dependencies
Creating conditionals
Altering dependency names and values
Updating the guestbook Helm chart
Cleaning up
Summary
Further reading
Questions
Chapter 6: Understanding Helm Templates
Technical requirements
Helm template basics
Template values
Built-in objects
The .Release object
The .Chart object
The .Template object
The .Capabilities object
The .Files object
Helm template functions
Helm template control structures
Generating release notes
Helm template variables
Helm template validation
The fail function
The required function
The values.schema.json file
Enabling code reuse with named templates and library charts
Creating CRDs
Post rendering
Updating and deploying the Guestbook chart
Updating Redis values
Updating Guestbook’s deployment template and values.yaml file
Deploying the Guestbook chart
Summary
Further reading
Questions
Chapter 7: Helm Lifecycle Hooks
Technical requirements
The basics of a Helm hook
Helm hook life cycle
Helm hook cleanup
Writing hooks in the Guestbook Helm chart
Creating the pre-upgrade hook to take a data snapshot
Creating the pre-rollback hook to restore the database
Executing the life cycle hooks
Cleaning up
Summary
Further reading
Questions
Chapter 8: Publishing to a Helm Chart Repository
Technical requirements
Understanding Helm chart repositories
Publishing to an HTTP repository
Creating a GitHub Pages repository
Publishing the Guestbook chart
Publishing to an OCI registry
Pulling the OCI Guestbook chart
Summary
Further reading
Questions
Chapter 9: Testing Helm Charts
Technical requirements
Setting up your environment
Verifying Helm templating
Validating template generation locally with helm template
Adding server-side validation to chart rendering
Linting Helm charts and templates
Testing in a live cluster
Running the chart test
Improving chart tests with the Chart Testing tool
Introducing the Chart Testing project
Installing the Chart Testing tools
Running the lint-and-install command
Cleaning up
Summary
Further reading
Questions
Part 3: Advanced Deployment Patterns
Chapter 10: Automating Helm with CD and GitOps
Technical requirements
Understanding CI/CD and GitOps
CI/CD
Taking CI/CD to the next level using GitOps
Setting up your environment
Installing Argo CD
Deploying a Helm chart from a Git repository
Deploying an application from a remote Helm chart repository
Deploying a Helm chart to multiple environments
Cleaning up
Summary
Questions
Chapter 11: Using Helm with the Operator Framework
Technical requirements
Understanding Kubernetes operators
Understanding the Guestbook operator control loop
Preparing a local development environment
Scaffolding the operator file structure
Building the operator image
Deploying the Guestbook operator
Deploying the Guestbook application
Using Helm to manage operators, CRDs, and CRs
Cleaning up
Summary
Further reading
Questions
Chapter 12: Helm Security Considerations
Technical requirements
Data provenance and integrity
Creating a GPG key pair
Verifying Helm downloads
Signing and verifying Helm charts
Developing secure and stable Helm charts
Using secure images
Setting resource requests and limits
Handling secrets in Helm charts
Configuring RBAC rules
Accessing secure chart repositories
Summary
Further reading
Questions
Index
Other Books You May Enjoy