当前位置:网站首页>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 部署后使用说明的文件
边栏推荐
- 无人驾驶: 对多传感器融合的一些思考
- Hibernate learning 2 - lazy loading (delayed loading), dynamic SQL parameters, caching
- Requests Library
- Eye gaze estimation using webcam
- How to delete the entire row with duplicate items in a column of WPS table
- 微搭低代码中实现增删改查
- Common redis commands in Linux system
- Use of navigation and navigationui
- ServerSocket and socket connection
- 无需显示屏的VNC Viewer远程连接树莓派
猜你喜欢
Discrete mathematics and its application detailed explanation of exercises in the final exam of spring and summer semester of 2018-2019 academic year
canvas线条的动态效果
JDBC —— 数据库连接
MySQL log management
离散数学及其应用 2018-2019学年春夏学期期末考试 习题详解
JPA learning 2 - core annotation, annotation addition, deletion, modification and query, list query result return type, one to many, many to one, many to many
Design and practice of vivo server monitoring architecture
Encryption and encoding resolution
C# Winform 最大化遮挡任务栏和全屏显示问题
Apk decompiled method (not confused)
随机推荐
C程序设计专题 18-19年期末考试习题解答(下)
Tape SVG animation JS effect
时间统一系统
JPA learning 1 - overview, JPA, JPA core annotations, JPA core objects
Go crawler framework -colly actual combat (4) -- Zhihu answer crawl (2) -- visual word cloud
[proteus simulation] example of using timer 0 as a 16 bit counter
After 5 years of software testing in didi and ByteDance, it's too real
部门新来的00后真是卷王,工作没两年,跳槽到我们公司起薪18K都快接近我了
More pictures | explain the Nacos parameters in detail!
Dry and wet contacts
Collective example
Global and Chinese tetrahydrofurfuryl butyrate industry operation pattern and future prospect report 2022 ~ 2028
Microsoft won the title of "leader" in the magic quadrant of Gartner industrial Internet of things platform again!
Svg line animation background JS effect
Creative SVG ring clock JS effect
浅析大型IM即时通讯系统开发难度
Svg+js keyboard control path
Paint rounded rectangle
MySQL log management
Overview of medium and low speed aerospace electronic bus