首页 > 其他分享 >k8s笔记2(Harbor)

k8s笔记2(Harbor)

时间:2022-10-13 16:02:37浏览次数:70  
标签:Set Harbor 笔记 ----- nodePort k8s type storageClass

1、安装官方文档通过Helm部署Harbor(​​Harbor docs | Deploying Harbor with High Availability via Helm (goharbor.io)​​)

----->nodePort方式暴露服务;

----->按提示填写commonName

----->持久化存储:storageClass: "rook-ceph-block"

----->用户名admin/密码Harbor12345

# vim values.yaml
expose:
# Set how to expose the service. Set the type as "ingress", "clusterIP", "nodePort" or "loadBalancer"
# and fill the information in the corresponding section
type: nodePort
tls:
certSource: auto
auto:
# The common name used to generate the certificate, it's necessary
# when the type isn't "ingress"
commonName: "mizy"
persistentVolumeClaim:
registry:
# Use the existing PVC which must be created manually before bound,
# and specify the "subPath" if the PVC is shared with other components
existingClaim: ""
# Specify the "storageClass" used to provision the volume. Or the default
# StorageClass will be used (the default).
# Set it to "-" to disable dynamic provisioning
storageClass: "rook-ceph-block"
subPath: ""
accessMode: ReadWriteOnce
size: 200Gi
annotations: {}

2、

标签:Set,Harbor,笔记,-----,nodePort,k8s,type,storageClass
From: https://blog.51cto.com/u_3029920/5753597

相关文章

  • 221013初学C语言笔记
    把Test()强制类型转换成int(*)() 函数指针,再解引用而Test()函数本身就是int型而Test函数名是一个指针。......
  • [学习笔记]拉格朗日插值
    对于拉格朗日插值的了解始于知乎上的数列问题:问:\(1,3,5,7\)的下一项是什么啊?答:根据拉格朗日插值公式,可以显然地构造函数\[\largef(x)=\dfrac{18111}{2}x^4-90555x^3+......
  • SQL封装库学习笔记1.0
    自用学习写的封装库使用方法:Nuget中搜索HNGYSql1.查询数据方法publicstringCommandSelect(stringconnectionString,stringcommandString)connectionString:所连......
  • 第四章学习笔记——并发编程(20201217王菁)
    并发编程  在早期,大多数计算机只用一个处理组件,称为处理器或中央处理器(CPU)。并行算法是一种计算方法,它会尝试使用多个执行并行算法的处理器更好地解决问题。并行计算......
  • tf.py_func的一些使用笔记
    tensorflow.py_func是TensorFlow1.x版本下的函数,在TensorFlow.2.x已经不建议使用了,但是依然可以通过tf.compat.v1.py_func的方式来进行调用。 可以说TensorFlow1.x下的p......
  • 学习笔记7
    第四章并发编程教材学习内容总结本章论述了并发编程,介绍了并行计算的概念,指岀了并行计算的重要性;比较了顺序算法与并行算法,以及并行性与并发性;解释了线程的原理及其相......
  • C语音课堂笔记
    2022-10-13为了让计算机更好的帮助人们工作,于是人们设计出了计算机语言。包括(C/C++/JAVA/Python/Go)。其中,C语言被广泛应用于底层软件的开发。(电脑称为计算机的硬件,由操作......
  • k8s添加节点报[WARNING SystemVerification]: missing optional cgroups: blkio
    环境信息:   ubuntu-master01 192.1681.195.128   ubuntu-work01  192.168.195.129 k8s版本1.25.2      背景描述:初始环境是一个master......
  • 【复习(雾)笔记】差分/树上差分
    差分/树上差分(雾)前言说实话,写这东西挺迷的,按道理说这玩意我应该会,但是做题的时候又不会,跟新学一样,就离谱。差分这东西就挺神奇的,前后加一减一就能维护区间。开始觉得......
  • 【笔记】裴蜀定理
    裴蜀定理:\[\foralla,b\in\mathbb{Z},\existsx,y\in\mathbb{Z},ax+by=\gcd(a,b)\]要求\(x,y\)不同时为\(0\)。推论:\[\begin{gathered}\text{对于}a,b\in......