Giter VIP home page Giter VIP logo

helm-demo's Introduction

Helm Chart Demonstration Resources

The following instructions are used to demonstrate how to build, package, and install a Helm 3 custom chart.

Helm

The custom cloudacademy-webapp Helm chart when installed creates the following cluster resources:

CloudAcademyWebapp

๐Ÿค˜

STEP 1:

Package the cloudacademy-webapp chart

helm package cloudacademy-webapp

STEP 2:

Install the cloudacademy-webapp chart into Kubernetes cluster

Note: assumes that you have a cluster credentials configured within your local ~/.kube/config file

helm install ca-demo1 cloudacademy-webapp-0.1.0.tgz

STEP 3:

Examine newly created Helm chart release, and all cluster created resources

helm ls

kubectl get all

STEP 4:

Perform an HTTP GET request, send it to the newly created cluster service and confirm that the response containse the CloudAcademy DevOps 2020 v1 message stored in the values.yaml file

kubectl run --image=busybox bbox1 --rm -it --restart=Never \
-- /bin/sh -c "wget -qO- http://ca-demo1-cloudacademy-webapp"

STEP 5:

Perform a Helm upgrade on the ca-demo1 release

helm upgrade ca-demo1 cloudacademy-webapp-0.1.0.tgz \
--set nginx.conf.message="Helm Rocks"

STEP 6:

Perform another HTTP GET request. Confirm that the response now has the updated message Helm Rocks

kubectl run --image=busybox bbox1 --rm -it --restart=Never \
-- /bin/sh -c "wget -qO- http://ca-demo1-cloudacademy-webapp"

STEP 7:

Examine the ca-demo1 release history

helm history ca-demo1

STEP 8:

Rollback the ca-demo1 release to previous version

helm rollback ca-demo1

STEP 9:

Perform another HTTP GET request. Confirm that the response has now been reset to the CloudAcademy DevOps 2020 v1 message stored in the values.yaml file

kubectl run --image=busybox bbox1 --rm -it --restart=Never \
-- /bin/sh -c "wget -qO- http://ca-demo1-cloudacademy-webapp"

STEP 10:

Uninstall the ca-demo1 release

helm uninstall ca-demo1

helm-demo's People

Contributors

jeremycook123 avatar

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.