Posts

Imperative Vs Deployment

Image
 

Helm - Interview Questions

  Beginner-Level Helm Interview Questions 1. What is Helm and why is it used? Helm is a package manager for Kubernetes that helps you define, install, and upgrade complex Kubernetes applications using reusable charts. 2. What is a Helm chart? A Helm chart is a collection of files that describe a related set of Kubernetes resources, like Deployments, Services, etc. 3. What are the main components of a Helm chart? Chart.yaml – metadata values.yaml – default values templates/ – Kubernetes manifest templates charts/ – dependency charts templates/_helpers.tpl – helper templates 4. How do you install a chart with Helm? bash helm install <release-name> <chart-path> 5. How do you upgrade a release in Helm? bash helm upgrade <release-name> <chart-path> 🟡 Intermediate-Level Questions 6. How do you override default values in a Helm chart? Using --set : bash helm install myapp ./mychart -- set image.tag=2.0 Or with a custom val...

New Organization

 new organization

Helm -1

Image
*** All credits to the maker of this youtube video creator Rahul Wagh https://jhooq.com/helmfile-manage-helmchart/ =========================================== helm install <release_name> <chat_name> helm delete <release_name> helm upgrade <release_name>  <chart_name> How to Install Helm Chart ?   Helm Installation Links : https://helm.sh/docs/intro/install/ https://github.com/helm/helm/releases or Else use the below to get the helm installation done. Helm Chart Structure : The first command you will generally use helm create <chartname> helm create demochart  // this will create a file structure as below   Without helm charts and and with helm charts First check if your kubernetes cluster is running or not $ kubectl get all we are creating our first helm chart helm create springboot helm template springboot   // this command display the values of the placeholder this display all the yaml files and their values tha...

Helm - WIth ArgoCD

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  https://www.youtube.com/watch?v=kAJ6Wh1jg34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Helm Chart Directory structure

 my-chart/ │ ├── charts/ │   ├── dependency-chart1/ │   └── dependency-chart2/ │ ├── templates/ │   ├── deployment.yaml │   ├── service.yaml │   ├── configmap.yaml │   └── ... │ ├── values.yaml ├── Chart.yaml ├── requirements.yaml ├── values.schema.json ├── README.md └── ...

Helm : Modify Helm Chart according to your requirement

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Yes, you can download a Helm chart and modify its file structure according to your requirements. Helm charts are typically structured with predefined directories and files that define the configuration and resources for deploying applications in Kubernetes. You can customize these files and directories to match your needs. Here's how you can download a Helm chart and modify its file structure: Download the Helm Chart: Use the helm pull command to download a Helm chart from a chart repository. For example: helm pull stable/nginx-ingress This will download the nginx-ingress Helm chart to your current directory. Extract the Chart: Extract the downloaded Helm chart using your preferred archive tool (e.g., tar , zip ): tar -xvf nginx-ingress-*.tgz This will extract the contents of the Helm chart into a directory. Modify the...

Helm- How to add Repositories and Install charts

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   To use a Helm chart from a remote repository, you can follow these steps: Add the Repository : First, you need to add the remote repository to Helm. You only need to do this step once for each repository you want to use.  helm repo add <repo-name> <repo-url> Replace <repo-name> with a name you choose for the repository, and <repo-url> with the URL of the repository. For example: helm repo add stable https://charts.helm.sh/stable Search for Charts : After adding the repository, you can search for available Helm charts within that repository: Search for Charts : After adding the repository, you can search for available Helm charts within that repository: helm search repo <repo-name> Replace <repo-name> with the name you used when adding the repository. For example: helm ...

Helm -Commands

   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Link :  Getting Started with Helm Chart | Jhooq Helm is a package manager for Kubernetes that simplifies the deployment and management of applications. It uses charts, which are collections of pre-configured Kubernetes resources, to define, package, and install applications on a Kubernetes cluster. Here's a list of commonly used Helm commands: Initialize Helm : helm init or helm repo add stable https://charts.helm.sh/stable : Initializes Helm on your cluster and adds the official Helm stable repository (deprecated since Helm v3). Managing Repositories : helm repo add <name> <url> : Adds a new repository. helm repo list : Lists the available repositories. helm repo update : Updates the local cache of available charts from the configured repositories. Search and Inspect Charts : helm searc...

Kubernetes-helm-charts

Image
   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  https://www.youtube.com/watch?v=-ykwb1d0DXU https://www.youtube.com/watch?v=pHGc87zHLlo&list=PL7iMyoQPMtANm_35XWjkNzDCcsw9vy01b Helm Installation  https://jhooq.com/building-first-helm-chart-with-spring-boot/ Helm chart : Github repo https://github.com/helm/helm  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Main Concepts of Helm Chart . Helm changes a lot between version to version What is Helm? What are Helm Charts ? What to use them ? When to use them What is Tiller ? used for -- Package Manager for kubernetes. something like yum , apt -- It is a convinient way for packaging collections of kubernetes  yaml files distributing them in public and private registry  Lets break them down with specific exams . Lets say you have deployed your application on kubernetes cluster and you want to deploy the Elastic Search additionally in your kuber...