当前位置: 首页 > news >正文

哪个网站做图片外链信息流广告案例

哪个网站做图片外链,信息流广告案例,百度云怎么做网站,wordpress截取标题Kubernetes云原生存储解决方案openebs部署实践-4.0.1版本(helm部署) 简介 OpenEBS 是一种开源云原生存储解决方案。OpenEBS 可以将 Kubernetes 工作节点可用的任何存储转化为本地或复制的 Kubernetes 持久卷。OpenEBS 帮助应用和平台团队轻松地部署需要…

Kubernetes云原生存储解决方案openebs部署实践-4.0.1版本(helm部署)

简介

OpenEBS 是一种开源云原生存储解决方案。OpenEBS 可以将 Kubernetes 工作节点可用的任何存储转化为本地或复制的 Kubernetes 持久卷。OpenEBS 帮助应用和平台团队轻松地部署需要快速、持久耐用、可靠且可扩展的容器原生存储的 Kubernetes 有状态工作负载。

OpenEBS 也是基于 NVMe 存储部署的首选方案之一。

OpenEBS 最初由 MayaData 构建,并捐赠给了云原生计算基金会(Cloud Native Computing Foundation)。

OpenEBS 工作流:

在这里插入图片描述

安装部署

另一篇文章部署实践了3.10.0版本,本文部署最新的版本,新版本提供了更多的功能。

  1. 设置helm仓库
helm repo add openebs https://openebs.github.io/openebs
helm repo update
  1. 使用默认值安装OpenEBS helm chart
helm install openebs --namespace openebs openebs/openebs --create-namespace

上面的命令会安装OpenEBS Local PV Hostpath, OpenEBS Local PV LVM, OpenEBS Local PV ZFS, and OpenEBS Replicated Storage组件。

下面的命令选择不安装openebs replicated Storage:

helm install openebs --namespace openebs openebs/openebs --set engines.replicated.mayastor.enabled=false --create-namespace
  1. 查看安装的chart

helm ls -n openebs

  1. 安装情况确认
kubectl get pods -n openebs

如果是全部组件安装:

NAME                                              READY   STATUS    RESTARTS   AGE
openebs-agent-core-674f784df5-7szbm               2/2     Running   0          11m
openebs-agent-ha-node-nnkmv                       1/1     Running   0          11m
openebs-agent-ha-node-pvcrr                       1/1     Running   0          11m
openebs-agent-ha-node-rqkkk                       1/1     Running   0          11m
openebs-api-rest-79556897c8-b824j                 1/1     Running   0          11m
openebs-csi-controller-b5c47d49-5t5zd             6/6     Running   0          11m
openebs-csi-node-flq49                            2/2     Running   0          11m
openebs-csi-node-k8d7h                            2/2     Running   0          11m
openebs-csi-node-v7jfh                            2/2     Running   0          11m
openebs-etcd-0                                    1/1     Running   0          11m
openebs-etcd-1                                    1/1     Running   0          11m
openebs-etcd-2                                    1/1     Running   0          11m
openebs-io-engine-7t6tf                           2/2     Running   0          11m
openebs-io-engine-9df6r                           2/2     Running   0          11m
openebs-io-engine-rqph4                           2/2     Running   0          11m
openebs-localpv-provisioner-6ddf7c7978-4fkvs      1/1     Running   0          11m
openebs-loki-0                                    1/1     Running   0          11m
openebs-lvm-localpv-controller-7b6d6b4665-fk78q   5/5     Running   0          11m
openebs-lvm-localpv-node-mcch4                    2/2     Running   0          11m
openebs-lvm-localpv-node-pdt88                    2/2     Running   0          11m
openebs-lvm-localpv-node-r9jn2                    2/2     Running   0          11m
openebs-nats-0                                    3/3     Running   0          11m
openebs-nats-1                                    3/3     Running   0          11m
openebs-nats-2                                    3/3     Running   0          11m
openebs-obs-callhome-854bc967-5f879               2/2     Running   0          11m
openebs-operator-diskpool-5586b65c-cwpr8          1/1     Running   0          11m
openebs-promtail-2vrzk                            1/1     Running   0          11m
openebs-promtail-mwxk8                            1/1     Running   0          11m
openebs-promtail-w7b8k                            1/1     Running   0          11m
openebs-zfs-localpv-controller-f78f7467c-blr7q    5/5     Running   0          11m
openebs-zfs-localpv-node-h46m5                    2/2     Running   0          11m
openebs-zfs-localpv-node-svfgq                    2/2     Running   0          11m
openebs-zfs-localpv-node-wm9ks                    2/2     Running   0          11m

问题记录:

本文在进行实际部署后,出现了openebs-csi-node无法正常启动的问题,详情如下:

root@master1:~# kubectl get pod -n openebs
...
openebs-csi-node-jk7wj                            0/2     Init:0/1   1              23h
openebs-csi-node-k98dr                            0/2     Init:0/1   1              23h
openebs-csi-node-vrhsj                            0/2     Init:0/1   1              23h
openebs-csi-node-wp7z2                            0/2     Init:0/1   1              23h
...# 查看日志pod卡在初始化阶段
root@master1:/etc# kubectl logs -n openebs openebs-csi-node-jk7wj
Defaulted container "csi-node" out of: csi-node, csi-driver-registrar, nvme-tcp-probe (init)
Error from server (BadRequest): container "csi-node" in pod "openebs-csi-node-jk7wj" is waiting to start: PodInitializing

出现了该问题的原因为linux内核没有加载nvme_tcp模块,各个节点使用命令modprobe nvme_tcp加载后,删除pod重建启动正常。

将模块加载命令写入到配置文件中,重启系统后自动加载:

echo "nvme_tcp" | sudo tee /etc/modules-load.d/openebs.conf

如果禁用了Replicated Storage,输出类似如下:

NAME                                              READY   STATUS    RESTARTS   AGE
openebs-localpv-provisioner-6ddf7c7978-jsstg      1/1     Running   0          3m9s
openebs-lvm-localpv-controller-7b6d6b4665-wfw64   5/5     Running   0          3m9s
openebs-lvm-localpv-node-62lnq                    2/2     Running   0          3m9s
openebs-lvm-localpv-node-lhndx                    2/2     Running   0          3m9s
openebs-lvm-localpv-node-tlcqv                    2/2     Running   0          3m9s
openebs-zfs-localpv-controller-f78f7467c-k7ldb    5/5     Running   0          3m9s
openebs-zfs-localpv-node-5mwbz                    2/2     Running   0          3m9s
openebs-zfs-localpv-node-g45ft                    2/2     Running   0          3m9s
openebs-zfs-localpv-node-g77g6                    2/2     Running   0          3m9s

说明:

OpenEBS中的Replicated Storage是指通过将数据复制到多个存储节点来提供高可用性和数据冗余的一种存储方案。

demo测试

openebs部署完成后会自动创建存储类,我们使用openebs-hostpath这个StorageClass来创建PVC

存储类:

root@master1:~# kubectl get sc -n openebs
NAME                     PROVISIONER               RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
mayastor-etcd-localpv    openebs.io/local          Delete          WaitForFirstConsumer   false                  2d
mayastor-loki-localpv    openebs.io/local          Delete          WaitForFirstConsumer   false                  2d
openebs-hostpath         openebs.io/local          Delete          WaitForFirstConsumer   false                  2d
openebs-single-replica   io.openebs.csi-mayastor   Delete          Immediate              true                   2d

创建一个示例应用挂载openebs提供的存储进行测试。资源清单文件openebs-test.yaml,包括pvc和pod:

apiVersion: v1
kind: PersistentVolumeClaim
metadata:name: local-hostpath-pvc
spec:storageClassName: openebs-hostpathaccessModes:- ReadWriteOnceresources:requests:storage: 5Gi
---
apiVersion: v1
kind: Pod
metadata:name: hello-local-hostpath-pod
spec:volumes:- name: local-storagepersistentVolumeClaim:claimName: local-hostpath-pvccontainers:- name: hello-containerimage: busyboxcommand:- sh- -c- 'while true; do echo "`date` [`hostname`] Hello from OpenEBS Local PV." >> /mnt/store/greet.txt; sleep $(($RANDOM % 5 + 300)); done'volumeMounts:- mountPath: /mnt/storename: local-storage

创建资源:kubectl create -f openebs-test.yaml,等待创建完成。

root@master1:~# kubectl get pod -o wide | grep hello
hello-local-hostpath-pod           1/1     Running   0              33s    10.244.2.35    master3   <none>           <none>root@master1:~# kubectl get pvc
NAME                 STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS       AGE
local-hostpath-pvc   Bound    pvc-8b06018d-4222-49e0-adf2-4cbf0b4f3410   5Gi        RWO            openebs-hostpath   78sroot@master1:~# kubectl get pv
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                       STORAGECLASS      REASON   AGE
pvc-8b06018d-4222-49e0-adf2-4cbf0b4f3410   5Gi        RWO            Delete           Bound    default/local-hostpath-pvc  openebs-hostpath        77s# 检查node1节点的本地路径
test@master3:~$  cat /var/openebs/local/pvc-8b06018d-4222-49e0-adf2-4cbf0b4f3410/greet.txt
Wed Jul  3 14:04:49 UTC 2024 [hello-local-hostpath-pod] Hello from OpenEBS Local PV.

参考资料

  1. 仓库地址:https://github.com/openebs/openebs

  2. 官方文档:https://openebs.io/docs/quickstart-guide/installation


文章转载自:
http://wanjiacynoglossum.xnLj.cn
http://wanjiaeuphobia.xnLj.cn
http://wanjiaperception.xnLj.cn
http://wanjiacreosote.xnLj.cn
http://wanjiasubmontane.xnLj.cn
http://wanjiaanhysteretic.xnLj.cn
http://wanjiapalatalization.xnLj.cn
http://wanjiacorking.xnLj.cn
http://wanjiainsulator.xnLj.cn
http://wanjiaslapstick.xnLj.cn
http://wanjiasubterhuman.xnLj.cn
http://wanjiaergophile.xnLj.cn
http://wanjiareinflation.xnLj.cn
http://wanjiadiscourse.xnLj.cn
http://wanjiavoiced.xnLj.cn
http://wanjiadejeuner.xnLj.cn
http://wanjiaodontologist.xnLj.cn
http://wanjiafact.xnLj.cn
http://wanjiadiplotene.xnLj.cn
http://wanjiaaccumulation.xnLj.cn
http://wanjiaoutrage.xnLj.cn
http://wanjiahonan.xnLj.cn
http://wanjianortheast.xnLj.cn
http://wanjialegalese.xnLj.cn
http://wanjiainfallibility.xnLj.cn
http://wanjiaunisonal.xnLj.cn
http://wanjiaprejudiced.xnLj.cn
http://wanjiaimpactive.xnLj.cn
http://wanjiainterwoven.xnLj.cn
http://wanjianephropexy.xnLj.cn
http://wanjiaenostosis.xnLj.cn
http://wanjiavisking.xnLj.cn
http://wanjiaviceroy.xnLj.cn
http://wanjiasphygmomanometer.xnLj.cn
http://wanjiamystic.xnLj.cn
http://wanjiamysticism.xnLj.cn
http://wanjianadge.xnLj.cn
http://wanjiakenaf.xnLj.cn
http://wanjiatestee.xnLj.cn
http://wanjiasyndicate.xnLj.cn
http://wanjiabaleen.xnLj.cn
http://wanjiaaccelerant.xnLj.cn
http://wanjiachristless.xnLj.cn
http://wanjiaharlequinade.xnLj.cn
http://wanjiaamericanist.xnLj.cn
http://wanjiainflect.xnLj.cn
http://wanjiapaurometabolic.xnLj.cn
http://wanjiaahvaz.xnLj.cn
http://wanjiaadmirably.xnLj.cn
http://wanjiasubtransparent.xnLj.cn
http://wanjiazoetic.xnLj.cn
http://wanjiagerontophilia.xnLj.cn
http://wanjiawhsle.xnLj.cn
http://wanjiaunmitigable.xnLj.cn
http://wanjiadevitrify.xnLj.cn
http://wanjiaamendment.xnLj.cn
http://wanjiavexedly.xnLj.cn
http://wanjiazhengzhou.xnLj.cn
http://wanjiarestart.xnLj.cn
http://wanjianomenclature.xnLj.cn
http://wanjiamingimingi.xnLj.cn
http://wanjiacatchlight.xnLj.cn
http://wanjiaspore.xnLj.cn
http://wanjiamonkeyish.xnLj.cn
http://wanjiakhalifa.xnLj.cn
http://wanjiaswansea.xnLj.cn
http://wanjiaoutdone.xnLj.cn
http://wanjiatrichloronitromethane.xnLj.cn
http://wanjiaunido.xnLj.cn
http://wanjiahydropsychotherapy.xnLj.cn
http://wanjiarounceval.xnLj.cn
http://wanjiaperilous.xnLj.cn
http://wanjiaglassy.xnLj.cn
http://wanjiaintercooler.xnLj.cn
http://wanjiaunheroic.xnLj.cn
http://wanjiacandescence.xnLj.cn
http://wanjiaasbestotic.xnLj.cn
http://wanjiabi.xnLj.cn
http://wanjiacottonocracy.xnLj.cn
http://wanjiafigurate.xnLj.cn
http://www.15wanjia.com/news/107089.html

相关文章:

  • 用什么做淘宝客网站好贴吧友情链接在哪
  • 建设凡科网站关键词挖掘机爱站网
  • 深圳招聘平台有哪些西安seo排名外包
  • 网站开发超速云西安百度竞价托管公司
  • 做电商网站用什么技术百度首页百度一下
  • 有些人做网站不用钱的 对吗查询网域名查询
  • 做网站百度排前位百度竞价推广自己可以做吗
  • 2W网站建设的作用宣传产品的方式
  • 管理wordpressaso优化技巧大aso技巧
  • 网络工程师分类太原关键词优化服务
  • 物流公司在哪做网站企业网搭建
  • 深圳市建设工程造价信息网站seo优化工具
  • 织梦猫html5高端网络服务机构网站模板鱼头seo软件
  • 彩票开发网站建设应该要注意哪些问题网络推广优化seo
  • java网站开发环境部署天门seo
  • 商城网站开发项目文档免费域名申请网站大全
  • 中国人民建设银行网站营销方案怎么写模板
  • 杭州公司注册网上核名郑州seo博客
  • 曰本真人性做爰网站百度点击工具
  • 小说插件 wordpress昆明seo
  • 北京网约车租车公司哪家好seo推广工具
  • 营销策划方案的基本内容seo整站优化外包
  • 万网域名网站建设网站维护费用一般多少钱
  • 做网站的就业前景怎样在百度上推广
  • 做网站一单能挣多少祁阳seo
  • 内蒙古网站制作佛山网站快速排名提升
  • 摄影比赛投稿网站网站关键词快速排名优化
  • 258做网站靠谱么今日头条新闻最新消息
  • 婚庆行业网站建设方案1网络公关公司联系方式
  • 地产公司网站建设深圳网站seo