Giter Site home page Giter Site logo

-learn-helm's Introduction

Learn Helm

Learn Helm

This is the code repository for Learn Helm, published by Packt.

Improve productivity, reduce complexity, and speed up cloud-native adoption with Helm for Kubernetes

What is this book about?

Containerization is currently known to be one of the best ways to implement DevOps. While Docker introduced containers and changed the DevOps era, Google developed an extensive container orchestration system, Kubernetes, which is now considered the frontrunner in container orchestration. With the help of this book, you’ll explore the efficiency of managing applications running on Kubernetes using Helm.

This book covers the following exciting features:

  • Develop an enterprise automation strategy on Kubernetes using Helm
  • Create easily consumable and configurable Helm charts
  • Use Helm in orchestration tooling and Kubernetes operators
  • Explore best practices for application delivery and life cycle management
  • Leverage Helm in a secure and stable manner that is fit for your enterprise

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

if (test expression)
{
  Statement upon condition is true
}

Following is what you need for this book: This book is for Kubernetes developers or administrators who are interested in learning Helm to provide automation for application development on Kubernetes. Although no prior knowledge of Helm is required, basic knowledge of Kubernetes application development will be useful.

With the following software and hardware list you can run all code files present in the book (Chapter 1-9).

Software and Hardware List

Chapter Software required OS required
1-9 Minikube Windows, macOS X, and Linux (Any)
1-9 Kubectl Windows, macOS X, and Linux (Any)
1-9 Helm Windows, macOS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. [Click here to download it](http://www.packtpub.com/sites/default/ files/downloads/9781839214295_ColorImages.pdf.).

Code in Action

Click on the following link to see the Code in Action:

YouTube

Errata

Related products

Get to Know the Authors

Andrew Block is a Senior Principal Consultant at Red Hat who guides organizations on adopting container solutions and microservices architectures using automation principles across an array of deployment targets. As the author of the "Application Release Strategies With OpenShift", he preaches the importance of Continuous Integration and Continuous Delivery methodologies with an emphasis on security to develop and deploy software faster. Andrew also serves as a manager of the Container Community of Practice within Red Hat which aims to foster awareness around the container ecosystem.

Austin Dewey is a Senior Consultant at Red Hat focused on enabling customers in cloud and container technologies. He has helped drive success at many different Fortune 500 companies through his expertise in CI/CD and deployment patterns on Red Hat's Kubernetes-based PaaS, OpenShift Container Platform. Delivering projects centered around DevOps and automation, Austin has guided many different customers to production by building pipelines that ensure fast, stable, and secure deliveries. When Austin is not working with his customers or engaging in the Kubernetes community, he can be found playing guitar and spending time outdoors.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781839214295

-learn-helm's People

Contributors

deepesh-packt avatar deweya avatar packt-itservice avatar packtutkarshr avatar rahuldsouzapackt avatar sarvesh-packt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

-learn-helm's Issues

chart_schema.yaml file missing entries

When I attempt to use the ct application to validate the Guestbook files as documented in the chart testing tools section of chapter 6 in the Learn Helm book, there are errors generated indicating that entries are missing from the the version of the chart_schema.yaml file in your github tree at -Learn-Helm.

I was able to bring in the version of that file from the ct application tree to my clone of that github tree and then could get thru the lint analysis of the guestbook and nginx applications.

It seems this file needs to be updated

Jenkins install of chapter 7 does not create initial password as reported

When the install of the jenkins application is performed as specified in Chapter 7 of Learn Helm book, the output indicates that the initial password for the admin user is found in /var/jenkins_home/secrets/initialAdminPassword
and indicates how to see the contents of that file.

However, there is no such file under /var/jenkins_home/secrets
I don't see anything in the book that indicates you expected to be creating a Jenkins Admin account.

Did you specify creation of an admin account or is the password in some other location?

Redis chart older versions like 10.5.x are not available on current Bitnami repo

While following over I noticed that Redis chart used in the book tutorial is available when I tried to download the chart dependencies.
The error will appear like below:

[root@ks-master-0 helm_work_area]# helm dependency build Learn-Helm/helm-charts/charts/guestbook/ Hang tight while we grab the latest from your chart repositories... ...Successfully got an update from the "learnhelm" chart repository ...Successfully got an update from the "bitnami" chart repository ...Successfully got an update from the "bitnami-pre-2022" chart repository Update Complete. ⎈Happy Helming!⎈ Saving 1 charts Save error occurred: could not find : no matching version Error: could not find : no matching version
As per the Carlos comment here bitnami/charts#10545 (comment)
we need to adjust dependencies repository URL to be like beow:

dependencies:
  - name: redis
    version: 10.5.x
    repository: https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami

can not bring up jenkins as specified in chapter7

The book specifies, in Chapter 7 pg 228, to start up jenkins from the codecentric/jenkins chart
This chart, as shown by the README at https://github.com/codecentric/helm-charts/tree/master/charts/jenkins
has now been deprecated. When I attempted to access the 1.7.0 version of the chart yesterday, it was not deprecated but the version of jenkins it brought up was not current enough to allow the needed plugins to be installed.

When I specify the install of the bitnami jenkins chart instead of the codecentric chart, a jenkins pod starts. However, I have not figured out how to bring up the GUI as the only service in the chapter7 namespace is LoadBalancer.

Not sure if this is the appropriate venue to report the problem but thought it could be a starting point

github replacing master branch by main branch causes problems for jenkins job

As per https://github.com/github/renaming
github is changing their repos so that the default branch is main rather than master.

When I created, as per chapter 5 of Learn-Helm, the github repo for the helm chart repository on 3 Feb 2021, I ended up with a main branch rather than a master branch as the default branch in the repo.

The first time that the Test and Release Helm Charts Jenkins job of Chapter 7 runs, it attempts to push the new chart artifacts into the master branch of the chart repository and that action fails as there is no such branch.

I was able to work around the issue by renaming the main branch in the github repo back to master, creating a clone of this revised repo and then running the jenkins job. Now the jenkins job successfully completes.

Can the jenkins job be made to utilize either master or main as appropriate?

operator-sdk new option not available in versions 1.x

I installed the latest version of operator-sdk (v1.3.0) for performing the tasks from chapter 8 of Learn Helm and discovered a issue

The "oerator-sdk new" command specified in the "Scaffolding the operator file structure" section of Chapter 8 is no longer available in the operator-sdk application starting with versions 1.0.

It would appear that one should now be creating a helm operator as per
https://sdk.operatorframework.io/docs/building-operators/helm/tutorial/

Do you have an update for the chapter 8 procedure when using the newer version of the operator-sdk application?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.