当前位置:网站首页>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 部署后使用说明的文件
边栏推荐
- Design and practice of vivo server monitoring architecture
- Dynamic effect of canvas lines
- ServerSocket and socket connection
- Color gradient gradient color collection
- 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
- 干接点和湿接点
- vim使用命令
- @mysql
- Apk decompiled method (not confused)
- 第三代电力电子半导体:SiC MOSFET学习笔记(五)驱动电源调研
猜你喜欢
[distributed system design profile (2)] kV raft

Reservoir dam safety monitoring
![[interview question] what is a transaction? What are dirty reads, unrepeatable reads, phantom reads, and how to deal with several transaction isolation levels of MySQL](/img/95/02a58c9dc97bd8347b43247e38357d.png)
[interview question] what is a transaction? What are dirty reads, unrepeatable reads, phantom reads, and how to deal with several transaction isolation levels of MySQL

Dynamic effect of canvas lines

Use and click of multitypeadapter in recycleview

Svg line animation background JS effect

不重要的token可以提前停止计算!英伟达提出自适应token的高效视觉Transformer网络A-ViT,提高模型的吞吐量!...

Power application of 5g DTU wireless communication module

【面试题】什么是事务,什么是脏读、不可重复读、幻读,以及MySQL的几种事务隔离级别的应对方法

ArcGIS loads free online historical images as the base map (no plug-ins are required)
随机推荐
[interview question] the difference between instancof and getclass()
Global and Chinese tetrahydrofurfuryl butyrate industry operation pattern and future prospect report 2022 ~ 2028
More pictures | explain the Nacos parameters in detail!
In the past 5 years, from "Diandian" to the current test development, my success is worth learning from.
Decoupling pages and components using lifecycle
ArcGIS loads free online historical images as the base map (no plug-ins are required)
JPA learning 1 - overview, JPA, JPA core annotations, JPA core objects
Eliminate duplicate dependencies
C program design topic 15-16 final exam exercise solutions (Part 1)
[issue 25] face to face experience of golang Engineer in the rightmost social recruitment
Use of JMeter
Related operations of ansible and Playbook
Power application of 5g DTU wireless communication module
Investment analysis and prospect forecast report of global and Chinese triglycine sulfate industry from 2022 to 2028
Interesting checkbox counters
为什么生命科学企业都在陆续上云?
Go crawler framework -colly actual combat (II) -- Douban top250 crawling
Ten commandments of self-learning in machine learning
【图数据库性能和场景测试利器LDBC SNB】系列一:数据生成器简介 & 应用于GES服务
Technology sharing | wvp+zlmediakit realizes streaming playback of camera gb28181