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

推荐订阅源

V
Visual Studio Blog
Y
Y Combinator Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
IT之家
IT之家
量子位
小众软件
小众软件
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
有赞技术团队
有赞技术团队
罗磊的独立博客
S
SegmentFault 最新的问题
博客园_首页
N
Netflix TechBlog - Medium
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
aimingoo的专栏
aimingoo的专栏
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
A
About on SuperTechFans
The Cloudflare Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
腾讯CDC
MyScale Blog
MyScale Blog

Ogenki

`RunLore`: the SRE buddy that investigates incidents — and learns from every fix 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: Ecosystem 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: Lifecycle operations
2021-06-04 · via Ogenki

Apply a change, anything. For example we will add a label stage: dev. Edit the file templates/_helpers.tpl

1{{- define "web.labels" -}}
2stage: "dev"
3...

Deploy a new revision with the same command we ran previously

1helm upgrade --install web web

Now we can have a look to the changes we’ve made so far to the release

1$ helm history web
2REVISION        UPDATED                         STATUS          CHART           APP VERSION     DESCRIPTION
31               Mon Feb 15 15:11:09 2021        superseded      web-0.1.0       1.16.0          Install complete
4...
54               Mon Feb 15 21:15:25 2021        superseded      web-0.1.0       1.16.0          Upgrade complete
65               Mon Feb 15 21:21:21 2021        deployed        web-0.1.0       1.16.0          Upgrade complete

We can then check what would be the changes if we rollback to the previous revision

 1helm diff rollback web 4
 2default, web, Deployment (apps) has changed:
 3  # Source: web/templates/deployment.yaml
 4  apiVersion: apps/v1
 5  kind: Deployment
 6  metadata:
 7    name: web
 8    labels:
 9-     stage: "dev"
10      helm.sh/chart: web-0.1.0
11...

Now that we’re sure we can safely rollback to the previous revision

1helm rollback web 4
2Rollback was a success! Happy Helming!

➡️ Next: Helm templating challenge