当前位置:网站首页>Helm chart仓库操作
Helm chart仓库操作
2022-06-24 19:50:00 【富士康质检员张全蛋】
配置国内存放 chart 仓库的地址
chart图标是存放资源清单的东西,它是存在于远程仓库当中的
- 阿里云仓库(https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts)
- 官方仓库(https://hub.kubeapps.com/charts/incubator)官方 chart 仓库,国内可能无法访问。
- 微软仓库(http://mirror.azure.cn/kubernetes/charts/)这个仓库推荐,基本上官网有的 chart 这里都有,国内可能无法访问。
[[email protected] ~]# helm repo add aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
"aliyun" has been added to your repositories[[email protected] ~]# helm repo add bitnami https://charts.bitnami.com/bitnami#更新 chart 仓库
[[email protected] ~]# helm repo update[[email protected] ~]# helm repo list#删除 chart 仓库地址
[[email protected] ~]# helm repo remove aliyun
"aliyun" has been removed from your repositories[[email protected] ~]# helm search repo aliyun
搜索和下载Chart
#查看阿里云 chart 仓库中的 memcached
[[email protected] ~]# helm search repo aliyun |grep memcached
aliyun/mcrouter 0.1.0 0.36.0 Mcrouter is a
aliyun/memcached 2.0.1 Free & open#查看 chart 信息
[[email protected] ~]# helm show chart aliyun/memcached
apiVersion: v1
description: Free & open source, high-performance, distributed memory object caching
system.
home: http://memcached.org/
icon: https://upload.wikimedia.org/wikipedia/en/thumb/2/27/Memcached.svg/1024pxMemcached.svg.png[[email protected] ~]# helm pull aliyun/memcached
[[email protected] ~]# tar zxvf memcached-2.0.1.tgz
[[email protected] ~]# cd memcached
[[email protected] memcached]# ls
Chart.yaml README.md templates values.yaml- Chart.yaml: chart 的基本信息,包括版本名字之类
- templates: 存放 k8s 的部署资源模板,通过渲染变量得到部署文件
- values.yaml:存放全局变量,templates 下的文件可以调用
[[email protected] memcached]# cd templates/
[[email protected] templates]# ls- _helpers.tpl NOTES.txt pdb.yaml statefulset.yaml svc.yaml
- _helpers.tpl 存放能够复用的模板
- NOTES.txt 为用户提供一个关于 chart 部署后使用说明的文件
边栏推荐
- Analysis report on operation trend and investment strategy of global and Chinese tetrahydrofurfuryl propionate industry from 2022 to 2028
- [Solved] Public key for mysql-community-xxx. rpm is not installed
- [leaderboard] Carla leaderboard leaderboard leaderboard operation and participation in hands-on teaching
- Use coordinatorlayout+appbarlayout+collapsingtoolbarlayout to create a collapsed status bar
- C# Winform 最大化遮挡任务栏和全屏显示问题
- The third generation of power electronics semiconductors: SiC MOSFET learning notes (V) research on driving power supply
- Paint rounded rectangle
- Go crawler framework -colly actual combat (III) -- panoramic cartoon picture capture and download
- Ten commandments of self-learning in machine learning
- Approaching harvest moon:moonbeam DFI Carnival
猜你喜欢

Why are life science enterprises on the cloud in succession?

水库大坝安全监测

融合模型权限管理设计方案

Why do more and more physical stores use VR panorama? What are the advantages?
Modstart: embrace new technologies and take the lead in supporting laravel 9.0

Interesting checkbox counters

wx小程序跳转页面
Paper review: U2 net, u-net composed of u-net

Unimportant tokens can be stopped in advance! NVIDIA proposes an efficient visual transformer network a-vit with adaptive token to improve the throughput of the model

Collective例子
随机推荐
【面试题】instancof和getClass()的区别
Domain Driven Design and coding
Common redis commands in Linux system
Why are life science enterprises on the cloud in succession?
2019 summary and 2020 outlook
Hyperledger Fabric 2. X dynamic update smart contract
5-minute NLP: summary of 3 pre training libraries for rapid realization of NER
Virtual machine - network configuration
Basic summary of MySQL database knowledge
5G dtu无线通信模块的电力应用
【图数据库性能和场景测试利器LDBC SNB】系列一:数据生成器简介 & 应用于GES服务
Apk decompiled method (not confused)
Meta & Berkeley proposed a universal multi-scale visual transformer based on pooled self attention mechanism. The classification accuracy in Imagenet reached 88.8%! Open source
传输层 以字节为单位的滑动窗口技术
Dynamic effect of canvas lines
Use of JMeter
Is it so difficult to calculate the REM size of the web page according to the design draft?
人体改造 VS 数字化身
Tongji and Ali won the CVPR best student thesis, lifeifei won the Huang xutao award, and nearly 6000 people attended the offline conference
C程序设计专题 18-19年期末考试习题解答(下)