Completek8s Classroomnotes 21/Sep/2023

Problems or challenges CI/CD pipeline of k8s

  • Consider a normal CI/CD pipeline where the builds are triggered once in a day (nightly builds) and we need to create 3 environments
    Preview
  • Sample deployment manifest for two days
    Preview
  • The problem with k8s manifests are they are static and do not support dynamic manifest files, we need some external way to create them
  • Then, we have two possible solutions now

Helm

  • If you consider kubernetes as Operating system, Helm is a package manager (apt, yum , choco, brew)
  • In Helm’s vocubalary, package is a chart
  • How Helm Works
    Preview
  • Helm installation Refer Here for script based installation on linux
  • Lets setup helm autocompletion Refer Here
source <(helm completion bash)
echo "source <(helm completion bash)" >> ~/.bashrc
  • Basic Terms in Helm
    • Chart (Package)
    • Chart Repository: When it comes to sharing charts, Helm describes a standard format for indexing and sharing information about helm charts. A Helm chart repository is simply a set of files, reachable over network that confirms to helm specification
  • Easiest way to find popular chart repository is Artifact Hub Refer Here

Helm chart components at a high level

  • Create a helm chart helm create hello-world
    Preview
  • Refer Here for the changes

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Integration by Acurax Wordpress Developers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube