惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Full Disclosure
WordPress大学
WordPress大学
小众软件
小众软件
Cloudbric
Cloudbric
AWS News Blog
AWS News Blog
腾讯CDC
量子位
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Vulnerabilities – Threatpost
Scott Helme
Scott Helme
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
The Hacker News
The Hacker News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
IT之家
IT之家
Jina AI
Jina AI
Attack and Defense Labs
Attack and Defense Labs
S
SegmentFault 最新的问题
Simon Willison's Weblog
Simon Willison's Weblog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
Google Online Security Blog
Google Online Security Blog
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
罗磊的独立博客
L
LINUX DO - 最新话题
博客园 - Franky
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
The Last Watchdog
The Last Watchdog
J
Java Code Geeks
AI
AI
C
Cisco Blogs
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Cyber Attacks, Cyber Crime and Cyber Security
Cisco Talos Blog
Cisco Talos Blog
博客园 - 三生石上(FineUI控件)
雷峰网
雷峰网
Help Net Security
Help Net Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
I
Intezer
S
Securelist

Ogenki

Self-hosted LLM stack: a solid foundation for an open-weight platform built to evolve A few months with `Claude Code`: tips and workflows that helped me `Agentic Coding`: concepts and hands-on Platform Engineering use cases `PostgreSQL`: From Metrics to Query Plan Analysis `VictoriaLogs`: What if logs management became simple and performant? `VictoriaMetrics` : Effective alerts, from theory to practice 🛠️ Harness the Power of `VictoriaMetrics` and `Grafana` Operators for Metrics Management `Dagger`: The missing piece of the developer experience? `TLS` with Gateway API: Efficient and Secure Management of Public and Private Certificates Going Further with `Crossplane`: Compositions and Functions Beyond Traditional VPNs: Simplifying Cloud Access with `Tailscale` `Gateway API`: Can I replace my Ingress Controller with `Cilium`? Applying GitOps Principles to Infrastructure: An overview of `tf-controller` `CloudNativePG`: An easy way to run PostgreSQL on Kubernetes 100% `GitOps` using Flux My Kubernetes cluster (GKE) with `Crossplane` Manage tools versions with `asdf` Helm workshop: Templating exercises Helm workshop: Build your first chart Helm workshop: Lifecycle operations Helm workshop: Third party charts Helm workshop Kubernetes workshop: Manage permissions in Kubernetes Kubernetes workshop: Troubleshooting Kubernetes workshop: Resources allocation and autoscaling Kubernetes workshop: Complete application stack Kubernetes workshop: Local environment Run an application on Kubernetes Kubernetes workshop
Helm workshop: Ecosystem
2021-06-03 · via Ogenki

Helm’s configuration is stored in the environment variable $HELM_CONFIG_HOME , by default $HOME/.config/helm

All the environment variables are described in the documentation there.

Here are a few tools (with a wide adoption) that will add capabilities to Helm.

Plugins

There are several plugins in order to extend Helm’s features.

Some of them are really useful (kubeval, diff, secrets).

Helmfile

Helmfile is a really useful tool that allows you to declare the state of the releases on your cluster.

It helps keeping a central view of the releases deployed on a given cluster.

It automatically configures repositories, pulls dependencies and it is very helpful to build CI/CD workflows.

Of course it uses Helm under the hood and a few modules/plugins such as secrets decryption, helm diff

These steps are very basic, you should have a look at the documentation for further details.

Install the helmdiff plugin (used by helmfile)

1helm plugin install https://github.com/databus23/helm-diff

We’ll make use of some examples provided by CloudPosse

1git clone git@github.com:cloudposse/helmfiles.git
2cd helmfiles

Let’s say we want to install the kubernetes dashboard and the reloader tool.

1cat > releases/kubernetes-dashboard/dev.yaml <<EOF
2installed: True
3banner: "Workshop cluster"
4EOF

Now we’ll create our main helmfile.yaml that describes all the releases we want to install

1cat > helmfile.yaml <<EOF
2helmfiles:
3  - path: "releases/kubernetes-dashboard/helmfile.yaml"
4    values:
5      - releases/kubernetes-dashboard/dev.yaml
6  - path: "releases/reloader/helmfile.yaml"
7    values:
8      - installed: True
9EOF

Now we can see what changes will be applied.

 1helmfile diff
 2Adding repo stable https://charts.helm.sh/stable
 3"stable" has been added to your repositories
 4
 5Comparing release=kubernetes-dashboard, chart=stable/kubernetes-dashboard
 6********************
 7
 8        Release was not present in Helm.  Diff will show entire contents as new.
 9
10

The command helm sync will install the releases

 1helmfile sync
 2Adding repo stable https://charts.helm.sh/stable
 3"stable" has been added to your repositories
 4
 5Affected releases are:
 6  kubernetes-dashboard (stable/kubernetes-dashboard) UPDATED
 7
 8Upgrading release=kubernetes-dashboard, chart=stable/kubernetes-dashboard
 9Release "kubernetes-dashboard" does not exist. Installing it now.
10NAME: kubernetes-dashboard
11...

You can list all the releases managed by the local helmfile.

1helmfile list
2NAME                    NAMESPACE       ENABLED LABELS
3kubernetes-dashboard    kube-system     true    chart:kubernetes-dashboard,component:monitoring,namespace:kube-system,repo:stable,vendor:kubernetes
4reloader                reloader        true    chart:stakater/reloader,component:reloader,namespace:reloader,repo:stakater,vendor:stakater

Delete all the releases

1helmfile delete
2Listing releases matching ^reloader$
3reloader        reloader        1               2021-02-16 10:10:35.378800455 +0100 CET deployed        reloader-v0.0.68        v0.0.68
4
5Deleting reloader
6release "reloader" uninstalled

➡️ Next: Build a Helm chart