首页 > 其他分享 >helm values reference other values

helm values reference other values

时间:2024-08-21 20:26:01浏览次数:5  
标签:title default No yaml other values helm

https://helm.sh/docs/chart_template_guide/yaml_techniques/#yaml-anchors

https://helm.sh/zh/docs/chart_template_guide/yaml_techniques/#yaml-%E9%94%9A%E7%82%B9

 

YAML also provides a handy feature called anchors, which let you easily duplicate
content across your document. Both of these keys will have the same value:

default: &default_title This Post Has No Title
title: *default_title
 

maps to:

18:40 $ helm install --dry-run --debug someapp/ |grep -i this
default: This Post Has No Title
title: This Post Has No Title
 

Doesn't allow for concatenation or more advanced combinations, but in some cases even this limited functionality may help a lot.

标签:title,default,No,yaml,other,values,helm
From: https://www.cnblogs.com/exmyth/p/18372449

相关文章

  • Prometheus部署教程——基于 HELM 方式
    作者乐维社区(forum.lwops.cn)许远背景随着容器化技术的飞速发展,Kubernetes已成为企业级容器编排的事实标准。为了确保容器化应用的稳定性和性能,有效的监控和告警系统显得尤为重要。因容器监控需要,某公司拟在k8s集群中搭建prometheus,计划通过Helm进行部署。Kubernetes原生应用......
  • helm3培训文档
    helm介绍1.传统服务部署到k8s集群的流程拉取代码——>打包编译——>构建镜像——>准备一堆相关部署的yaml文件(如:deployment、service、ingress等)——>kubectlapply部署到k8s集群2.传统方式部署引发的问题1).随着引用的增多,需要维护大量的yaml文件2).不能根据一套yaml文件来......
  • Unixed |As IBM's legal battle over Linux intensifies, other firms hope to benefi
    BPC>Fullarticletextfetchedfrom(noneedtoreportissueforexternalsite): | archive.today | archive.mdBusiness |IBMandLinuxUnixedAsIBM'slegalbattleoverLinuxintensifies,otherfirmshopetobenefitJun19th2003 | san......
  • D. Another Problem About Dividing Numbers
    原题链接题意有两个数\(a,b\)每次可以拿走其中一个数的若干个质因子,请问恰好\(k\)次操作后能否使\(a=b\)分析假设\(a,b\)最后到达的是\(c\),那么\(\frac{a}{c}\)的质因子个数加上\(\frac{b}{c}\)的质因子个数一定大于等于\(k\)(为什么可以大于?因为一次操作可以多......
  • luogu题解:P10456 The Pilots Brothers' refrigerator【缺少 SPJ】
    思路此题题意酷似P10449.费解的开关。https://www.luogu.com.cn/problem/P10449不同之处便是状态连锁改变不同,但做法截然不同,此题是一个\(4\times4\)的矩阵。暴力枚举的复杂度是\(O(10^7)\),即\(2^{16}\times16\times16=16777216\),\(10^7\)的复杂度可以通......
  • 【Pyspark-驯化】一文搞懂Pyspark中过滤数据when和otherwise函数的使用技巧
    【Pyspark-驯化】一文搞懂Pyspark中过滤数据when和otherwise函数的使用技巧 本次修炼方法请往下查看......
  • helm部署Kafka集群
    生产环境推荐的kafka部署方式为operator方式部署,Strimzi是目前最主流的operator方案。集群数据量较小的话,可以采用NFS共享存储,数据量较大的话可使用localpv存储。部署operator[root@k8s-master3101-kafka]#helmrepoaddstrimzihttps://strimzi.io/charts/"strimzi"has......
  • 题解:CF687C The Values You Can Make
    CF687CTheValuesYouCanMake题解题目翻译感觉不明不白的(至少我看了几遍没看懂),这里给个较为清晰的题面。题目描述给你\(n\)个硬币,第\(i\)个硬币有一个价值\(c_i\),你需要从中选出一些价值和为\(k\)的硬币组成一个集合,再输出这个集合中硬币可能组成的价值和。算法动......
  • Python - Values returned by and and or operators
    Unlikesomeotherlanguages,inPython,thelogicaloperatorsandandordonotreturnBooleanvaluesTrueorFalse;theyactuallyreturnthelastevaluatedoperand.Wegenerallyusetheseoperatorsinifandwhileconditions,sowedonotgettoknowwha......
  • SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffer
     SQLSTATE[HY000]:Generalerror:2014Cannotexecutequerieswhileotherunbufferedqueriesareactive.ConsiderusingPDOStatement::fetchAll().Alternatively,ifyourcodeisonlyevergoingtorunagainstmysql,youmayenablequerybufferingbysetti......