Helm and Charts in Kubernetes.

Chart

A chart is a collection of files that describe a related set of Kubernetes resources. A single chart might be used to deploy something simple, like a memcached pod, or something complex, like a full web app stack with HTTP servers, databases, caches, and so on.

Charts are created as files laid out in a particular directory tree. They can be packaged into versioned archives to be deployed.

HELM

Helm is a package manager for Kubernetes. Helm is the K8s equivalent of yum or apt. Helm deploys charts, which you can think of as a packaged application. It is a collection of all your versioned, pre-configured application resources which can be deployed as one unit. You can then deploy another version of the chart with a different set of configuration.

Helm helps in three key ways:

Improves productivity

Reduces the complexity of deployments of microservices

Enables the adaptation of cloud native applications

Let’s create a chart and deploy it with HELM

Step 1> create a folder with same name as your package name

mkdir /app

Create a file Chart.yaml inside the /app folder and write this inside it

Write a description and give proper version to it

Now create a templates folder. This is the folder where we have to store our yaml files

Step 2> Create a yaml file inside the templates folder

Yaml file ->

apiVersion: v1
kind: Pod
metadata:
name: "new-pod1"
spec:
containers:
- name: "new-con1"
image: "yashindane/keras-flask:v1"
stdin: True
tty: True

keras-flask:v1 is a image that contains the python environment and the libraries required for machine learning and web development

View the dockerfile here ->

Step 3 > Downloading and installing HELM

use wget command

Now let’s use kubectl get pods to see our pod.

Thanks for reading and i hope you will like the Blog!!!

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Ezdrummer Download Mac Os X

Open Source contributions: A catalyst for growth.

Build an Azure Application Gateway with Terraform

Writing a Chat Server in Go

Using R on Jupyter Notebook

Tackle web accessibility issues with automated testing

Reasons why you should aim for solving harder problems

ClickHouse Window Functions — Current State of the Art

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mukul Jeveriya

Mukul Jeveriya

More from Medium

Creating a Multicloud Setup of Kubernetes using Ansible Roles

What’s new in Backups & Storage from AWS re:Invent

Configure Hadoop and start cluster services using Ansible Playbook

Managing K8s using ansible