搭建Longhorn
Longhorn
Longhorn 是一个针对基于微服务的分布式块存储的开放源码项目。
yum install -y git
git clone https://github.com/longhorn/longhorn && cd longorn
helm upgrade --install longhorn ./chart --namespace longhorn-system -f values.yaml
编写values.yaml
image:longhorn:engine: harbor.xxx/common/longhorn-engineengineTag: v0.8.1-rc2manager: harbor.saas.xxx/common/longhorn-managermanagerTag: v0.8.1-rc2ui: harbor.saas.xxx/common/longhorn-uiuiTag: v0.8.1-rc2instanceManager: nexus-docker.xxx/longhornio/longhorn-instance-managerinstanceManagerTag: v1_20200301pullPolicy: IfNotPresentservice:ui:type: ClusterIPnodePort: nullmanager:type: ClusterIPnodePort: ""persistence:defaultClass: falsedefaultClassReplicaCount: 3csi:attacherImage:provisionerImage:driverRegistrarImage:kubeletRootDir:attacherReplicaCount:provisionerReplicaCount:defaultSettings:backupTarget:backupTargetCredentialSecret:createDefaultDiskLabeledNodes:defaultDataPath:replicaSoftAntiAffinity:storageOverProvisioningPercentage:storageMinimalAvailablePercentage:upgradeChecker:defaultReplicaCount:guaranteedEngineCPU:defaultLonghornStaticStorageClass:backupstorePollInterval:taintToleration:resources: {}# We usually recommend not to specify default resources and to leave this as a conscious# choice for the user. This also increases chances charts run on environments with little# resources, such as Minikube. If you do want to specify resources, uncomment the following# lines, adjust them as necessary, and remove the curly braces after 'resources:'.# limits:# cpu: 100m# memory: 128Mi# requests:# cpu: 100m# memory: 128Mi#ingress:## Set to true to enable ingress record generationenabled: truehost: longhorn.saas.xxx-ift.com## Set this to true in order to enable TLS on the ingress record## A side effect of this will be that the backend service will be connected at port 443tls: false## If TLS is set to true, you must declare what secret will store the key/certificate for TLStlsSecret: longhorn.local-tls## Ingress annotations done as key:value pairs## If you're using kube-lego, you will want to add:## kubernetes.io/tls-acme: true#### For a full list of possible ingress annotations, please see## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/annotations.md#### If tls is set to true, annotation ingress.kubernetes.io/secure-backends: "true" will automatically be setannotations:# kubernetes.io/ingress.class: nginx# kubernetes.io/tls-acme: truesecrets:## If you're providing your own certificates, please use this to add the certificates as secrets## key and certificate should start with -----BEGIN CERTIFICATE----- or## -----BEGIN RSA PRIVATE KEY-----#### name should line up with a tlsSecret set further up## If you're using kube-lego, this is unneeded, as it will create the secret for you if it is not set#### It is also possible to create and manage the certificates outside of this helm chart## Please see README.md for more information# - name: longhorn.local-tls# key:# certificate:
搭建Longhorn相关推荐
- K8S,k3s 分布式存储:rook-ceph or Longhorn
K8S的Volume Volume的主要功能是为了持久化容器的数据,Volume 的生命周期独立于容器,Pod 中的容器可能被销毁和重建,但 Volume 会被保留.本质上,Kubernetes Vo ...
- 我的获奖方案,第二届华硕服务器IT硬件平台搭建大赛
目 录<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 前言:· ...
- 【玩转Lighthouse】厌倦了服务器搬家?利用“薅”来的轻量搭建K3s集群
引子 这几年,各大云厂商为了争夺用户可谓是"大打出手",时不时就能够以几十块钱的价格买上一年的服务器,其中腾讯云更是良心,不仅低价卖服务器,还能免费升配老套餐的轻量应用服务器.虽然 ...
- 正式压力测试:locust进阶,超简单搭建生产级locust集群
locust进阶,搭建生产级locust集群 本教程基于k8s集群搭建,使用helm作为包管理工具 通过helm安装locust
- 使用Docker搭建svn服务器教程
使用Docker搭建svn服务器教程 svn简介 SVN是Subversion的简称,是一个开放源代码的版本控制系统,相较于RCS.CVS,它采用了分支管理系统,它的设计目标就是取代CVS.互联网上很 ...
- hexo-github-博客搭建指南
经过一天的折腾,总算是把博客搭建好了,在这里记录下搭建博客过程中参考的资料.搭建这个博客的主要目的是记录自己的学习.成长过程,而是否有人看,又有多少人看对我来说不是重点. 搭建博客过程重要参考以下几个 ...
- Anaconda3+python3.7.10+TensorFlow2.3.0+PyQt5环境搭建
Anaconda3+python3.7.10+TensorFlow2.3.0+PyQt5环境搭建 一.Anaconda 创建 python3.7环境 1.进入 C:\Users\用户名 目录下,找到 ...
- Windows10+Anaconda3+Pycharm环境搭建
Windows10+Anaconda3+Pycharm环境搭建 一.安装Anaconda3 1.进入 anconda官网,下载Anaconda3 2.安装,选项默认继续安装(可以自行更改安装位置),等 ...
- centos7httpd服务的搭建
---------------------------------------httpd搭建--------------------------------------------- yum inst ...
- SpringCloud Alibaba微服务实战(一) - 基础环境搭建
说在前面 Spring Cloud Alibaba 致力于提供微服务开发的一站式解决方案.此项目包含开发分布式应用微服务的必需组件,方便开发者通过 Spring Cloud 编程模型轻松使用这些组件来 ...
最新文章
- Playmaker Input篇教程之PlayMaker菜单概述
- 【项目管理】八大绩效域裁剪考虑事项
- java凌晨12点_java - JAVA如果我在每天中午12点之后安排我的时间表,会发生什么? - SO中文参考 - www.soinside.com...
- HDU1023 Train Problem II
- AWS 人工智能黑客马拉松正式开启!用实力演绎科技向善!
- python工程代码语法_python编码环境安装与基本语法
- java实现ip能访问_Java过滤ip,只允许配置的ip能够被访问
- (转)微服务架构的理论基础 - 康威定律
- 电影台词搜索引擎,英语学习和视频创作的必备神器
- 人口红利提前消失?今年经济会如何?权威回应来了
- Guitar Pro8吉他打谱下载自学制作教程
- 从MySQL Bug#67718浅谈B+树索引的分裂优化
- 拼多多资深程序员带你了解 ”砍一刀“的设计与实现
- java jsf教程_JSF入门教程
- 电脑c盘变红满了的清理方法
- 最详解Docker实例教程
- 【HCIA-cloud】【4】服务器虚拟化之存储资源管理:存储资源类型说明、存储配置模式说明【普通、精简、延迟置零】、虚拟机磁盘类型说明、FusionCompute中操作添加存储
- Oracle Database 12c Security - 13. An Applied Approach to Multitenancy and Cloud Security
- SQL之分配、收回权限
- C及C++语言进阶习题解集