GithubHelp home page GithubHelp logo

helm-demo's Introduction

HELM v3 Demo for OpenShift 4

This is a quick demo about how to use Helm with OpenShift 4. It is based on the following article in opensource.com.

Prepare your environment

Setup your OpenShift cluster (usecode-ready/crc), login into it with the user developer and create a new project

$> crc setup && crc start
$> oc login -u developer -p developer https://api.crc.testing:6443/
$> oc new-project helm-demo

Setup helm on Mac

If you want to play locally, you have to setup helm. Either download it from the official website or install it via homebrew.

$> brew install helm

Other OS'ses

Just read here: https://helm.sh

Demo

A simple demo guide

Explain local files

$ tree
.
├── Chart.yaml
├── README.md
├── charts
├── templates
│   ├── NOTES.txt
│   ├── _helpers.tpl
│   ├── configMap.yaml
│   ├── deployment.yaml
│   ├── hpa.yaml
│   ├── ingress.yaml
│   ├── route.yaml
│   ├── service.yaml
│   ├── serviceaccount.yaml
│   └── tests
│       └── test-connection.yaml
└── values.yaml

3 directories, 13 files

Install the chart

$> helm install my-app-chart ./helm-demo --values ./helm-demo/values.yaml

Make a simple update

Don’t forget to update Chart.yaml versions and then

$> helm upgrade my-app-chart ./helm-demo --values ./helm-demo/values.yaml

helm-demo's People

Contributors

wpernath avatar

Watchers

 avatar  avatar

Forkers

hariwi

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.