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

建模外包网站北京大型商场一览表

建模外包网站,北京大型商场一览表,电器网站建设目的,做网站需要哪些准备前言 类似于 Linux 的 YUM、APT#xff0c;Helm 是 K8S 的包管理工具。 Helm#xff0c; 一个二进制工具#xff0c;用来安装、升级、卸载 K8S 中的应用程序。 Helm Chart#xff0c;一个 tgz 包#xff0c;类似安卓的 APK。 K8S 应用打包成 Chart#xff0c;通过 He…前言 类似于 Linux 的 YUM、APTHelm 是 K8S 的包管理工具。 Helm 一个二进制工具用来安装、升级、卸载 K8S 中的应用程序。 Helm Chart一个 tgz 包类似安卓的 APK。 K8S 应用打包成 Chart通过 Helm 安装到 K8S 集群中。 一、安装Helm 用二进制版本安装 每个Helm 版本都提供了各种操作系统的二进制版本这些版本可以手动下载和安装。 下载 需要的版本 wget https://repo.huaweicloud.com/helm/v3.5.4/helm-v3.5.4-linux-amd64.tar.gz 解压 tar -zxvf helm-v3.5.4-linux-amd64.tar.gz 在解压目录中找到helm程序移动到需要的目录中 mv linux-amd64/helm /usr/local/bin/helm 然后就可以执行客户端程序并 添加稳定仓库: helm help 二、配置helm 微软仓库http://mirror.azure.cn/kubernetes/charts/ 阿里云仓库https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts 推荐仓库https://charts.bitnami.com/bitnami   添加仓库  helm repo add 自定义仓库名 仓库地址  仓库地址就是上面几个网站地址 [rootk8s-master-136 samve]# helm repo add apphub https://charts.bitnami.com/bitnami 删除仓库 helm repo remove 仓库名     更新仓库 helm repo update    查看仓库 helm repo list 搜索仓库的chart helm  search repo chart名称 三、使用helm快速部署一个应用 使用搜索命令搜索应用 helm search repo 应用名称 [rootk8s-master-136 samve]# helm search repo nginx NAME CHART VERSION APP VERSION DESCRIPTION apphub/nginx 15.3.3 1.25.2 NGINX Open Source is a web server that can be a... apphub/nginx-ingress-controller 9.9.0 1.9.0 NGINX Ingress Controller is an Ingress controll... apphub/nginx-intel 2.1.15 0.4.9 DEPRECATED NGINX Open Source for Intel is a lig... 根据搜索内容选择安装 helm install 安装后应用的名称 搜索之后应用的名称 [rootk8s-master-136 samve]# helm install my-nginx apphub/nginx NAME: my-nginx LAST DEPLOYED: Thu Oct 12 22:16:31 2023 NAMESPACE: default STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: CHART NAME: nginx CHART VERSION: 15.3.3 APP VERSION: 1.25.2** Please be patient while the chart is being deployed ** NGINX can be accessed through the following DNS name from within your cluster:my-nginx.default.svc.cluster.local (port 80)To access NGINX from outside the cluster, follow the steps below:1. Get the NGINX URL by running these commands:NOTE: It may take a few minutes for the LoadBalancer IP to be available.Watch the status with: kubectl get svc --namespace default -w my-nginxexport SERVICE_PORT$(kubectl get --namespace default -o jsonpath{.spec.ports[0].port} services my-nginx)export SERVICE_IP$(kubectl get svc --namespace default my-nginx -o jsonpath{.status.loadBalancer.ingress[0].ip})echo http://${SERVICE_IP}:${SERVICE_PORT} 查看安装之后的状态 helm list [rootk8s-master-136 samve]# helm list NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION my-nginx default 1 2023-10-12 22:16:31.191334159 0800 CST deployed nginx-15.3.3 1.25.2 nginx default 1 2023-10-12 21:52:49.36634682 0800 CST deployed nginx-intel-2.1.15 0.4.9 helm status 安装之后应用的名称 [rootk8s-master-136 samve]# helm status my-nginx NAME: my-nginx LAST DEPLOYED: Thu Oct 12 22:16:31 2023 NAMESPACE: default STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: CHART NAME: nginx CHART VERSION: 15.3.3 APP VERSION: 1.25.2** Please be patient while the chart is being deployed ** NGINX can be accessed through the following DNS name from within your cluster:my-nginx.default.svc.cluster.local (port 80)To access NGINX from outside the cluster, follow the steps below:1. Get the NGINX URL by running these commands:NOTE: It may take a few minutes for the LoadBalancer IP to be available.Watch the status with: kubectl get svc --namespace default -w my-nginxexport SERVICE_PORT$(kubectl get --namespace default -o jsonpath{.spec.ports[0].port} services my-nginx)export SERVICE_IP$(kubectl get svc --namespace default my-nginx -o jsonpath{.status.loadBalancer.ingress[0].ip})echo http://${SERVICE_IP}:${SERVICE_PORT} 当然我们也可以通过kubectl命令查看相关的pod是否创建成功 [rootk8s-master-136 samve]# kubectl get svc,pod NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubernetes ClusterIP 10.10.0.1 none 443/TCP 258d service/my-nginx LoadBalancer 10.10.200.7 pending 80:32374/TCP 9m37s service/nginx NodePort 10.10.183.194 none 80:30111/TCP 258d service/nginx-nginx-intel LoadBalancer 10.10.72.168 pending 80:32756/TCP,443:30799/TCP 33mNAME READY STATUS RESTARTS AGE pod/my-nginx-8568bb4694-gn5b7 1/1 Running 0 9m37s pod/nginx-2-69947fd9df-plct2 1/1 Running 2 47h pod/nginx-6799fc88d8-2jh5z 1/1 Running 2 47h pod/nginx-nginx-intel-668b58fb4b-8cm6z 0/1 ImagePullBackOff 0 33m pod/nginx1-b7fb675cb-rhtvn 0/1 CrashLoopBackOff 50 47h pod/nginx2-74ff6c9fbc-2gb7r 0/1 CrashLoopBackOff 50 47h 四、自定义chart 自定义选项是因为并不是所有的 chart 都能按照默认配置运行成功可能会需要一些环境 依赖例如 PV。 所以我们需要自定义 chart 配置选项安装过程中有两种方法可以传递配置数据 --values或-f指定带有覆盖的 YAML 文件。这可以多次指定最右边的文件 优先--set在命令行上指定替代。如果两者都用--set 优先级高 第一步使用命令创建chart helm create chart名称 [rootk8s-master-136 samve]# helm create mychart Creating mychart [rootk8s-master-136 samve]# ls mychart/ charts Chart.yaml templates values.yaml [rootk8s-master-136 samve]# cd mychart/ [rootk8s-master-136 mychart]# ls -al 总用量 16 drwxr-xr-x 4 root root 93 10月 12 22:33 . drwx------. 17 samve samve 4096 10月 12 22:33 .. drwxr-xr-x 2 root root 6 10月 12 22:33 charts -rw-r--r-- 1 root root 1143 10月 12 22:33 Chart.yaml -rw-r--r-- 1 root root 349 10月 12 22:33 .helmignore drwxr-xr-x 3 root root 162 10月 12 22:33 templates -rw-r--r-- 1 root root 1899 10月 12 22:33 values.yaml charts普通文件夹刚开始创建为空Chart.yaml用于配置当前chart的属性信息可以作为全局变量提供给模板文件使用templates目标信息文件里面有很多的yaml模板文件我们使用helm创建应用相当于helm帮我去执行这些yaml文件了values.yaml全局变量文件提供给templates里面的yaml文件用。 因为我们需要自己自定义chart因此我们可以修改这些yaml文件也可以删除这些默认生成的yaml文件然后自己重新写。 
文章转载自:
http://www.morning.mbhdl.cn.gov.cn.mbhdl.cn
http://www.morning.rnzwh.cn.gov.cn.rnzwh.cn
http://www.morning.bcdqf.cn.gov.cn.bcdqf.cn
http://www.morning.tpchy.cn.gov.cn.tpchy.cn
http://www.morning.qnsmk.cn.gov.cn.qnsmk.cn
http://www.morning.spbp.cn.gov.cn.spbp.cn
http://www.morning.qqklk.cn.gov.cn.qqklk.cn
http://www.morning.lwnwl.cn.gov.cn.lwnwl.cn
http://www.morning.gmwqd.cn.gov.cn.gmwqd.cn
http://www.morning.xjkr.cn.gov.cn.xjkr.cn
http://www.morning.zsrdp.cn.gov.cn.zsrdp.cn
http://www.morning.yxkyl.cn.gov.cn.yxkyl.cn
http://www.morning.bkppb.cn.gov.cn.bkppb.cn
http://www.morning.trrd.cn.gov.cn.trrd.cn
http://www.morning.qkdcb.cn.gov.cn.qkdcb.cn
http://www.morning.gmwdl.cn.gov.cn.gmwdl.cn
http://www.morning.srnth.cn.gov.cn.srnth.cn
http://www.morning.yfrlk.cn.gov.cn.yfrlk.cn
http://www.morning.kztpn.cn.gov.cn.kztpn.cn
http://www.morning.mkrjf.cn.gov.cn.mkrjf.cn
http://www.morning.mrnnb.cn.gov.cn.mrnnb.cn
http://www.morning.hmjasw.com.gov.cn.hmjasw.com
http://www.morning.xwlmr.cn.gov.cn.xwlmr.cn
http://www.morning.yzktr.cn.gov.cn.yzktr.cn
http://www.morning.wkqrp.cn.gov.cn.wkqrp.cn
http://www.morning.zqybs.cn.gov.cn.zqybs.cn
http://www.morning.rfhwc.cn.gov.cn.rfhwc.cn
http://www.morning.wmdbn.cn.gov.cn.wmdbn.cn
http://www.morning.clccg.cn.gov.cn.clccg.cn
http://www.morning.wmqxt.cn.gov.cn.wmqxt.cn
http://www.morning.qwlml.cn.gov.cn.qwlml.cn
http://www.morning.rqlf.cn.gov.cn.rqlf.cn
http://www.morning.wfkbk.cn.gov.cn.wfkbk.cn
http://www.morning.stwxr.cn.gov.cn.stwxr.cn
http://www.morning.rqxch.cn.gov.cn.rqxch.cn
http://www.morning.cnhgc.cn.gov.cn.cnhgc.cn
http://www.morning.cjqqj.cn.gov.cn.cjqqj.cn
http://www.morning.rcqyk.cn.gov.cn.rcqyk.cn
http://www.morning.snkry.cn.gov.cn.snkry.cn
http://www.morning.npqps.cn.gov.cn.npqps.cn
http://www.morning.wchcx.cn.gov.cn.wchcx.cn
http://www.morning.qsswb.cn.gov.cn.qsswb.cn
http://www.morning.ffrys.cn.gov.cn.ffrys.cn
http://www.morning.gbqgr.cn.gov.cn.gbqgr.cn
http://www.morning.bpmns.cn.gov.cn.bpmns.cn
http://www.morning.fkwgk.cn.gov.cn.fkwgk.cn
http://www.morning.hblkq.cn.gov.cn.hblkq.cn
http://www.morning.dnqpq.cn.gov.cn.dnqpq.cn
http://www.morning.c7495.cn.gov.cn.c7495.cn
http://www.morning.bpmnl.cn.gov.cn.bpmnl.cn
http://www.morning.rhjhy.cn.gov.cn.rhjhy.cn
http://www.morning.tjmfz.cn.gov.cn.tjmfz.cn
http://www.morning.gbxxh.cn.gov.cn.gbxxh.cn
http://www.morning.xzjsb.cn.gov.cn.xzjsb.cn
http://www.morning.zwwhq.cn.gov.cn.zwwhq.cn
http://www.morning.wckrl.cn.gov.cn.wckrl.cn
http://www.morning.ltzkk.cn.gov.cn.ltzkk.cn
http://www.morning.bwttp.cn.gov.cn.bwttp.cn
http://www.morning.kwqt.cn.gov.cn.kwqt.cn
http://www.morning.qynpw.cn.gov.cn.qynpw.cn
http://www.morning.mznqz.cn.gov.cn.mznqz.cn
http://www.morning.hjjhjhj.com.gov.cn.hjjhjhj.com
http://www.morning.jbtzx.cn.gov.cn.jbtzx.cn
http://www.morning.rccbt.cn.gov.cn.rccbt.cn
http://www.morning.bhpjc.cn.gov.cn.bhpjc.cn
http://www.morning.dxtxk.cn.gov.cn.dxtxk.cn
http://www.morning.crrjg.cn.gov.cn.crrjg.cn
http://www.morning.rbsmm.cn.gov.cn.rbsmm.cn
http://www.morning.lwtfr.cn.gov.cn.lwtfr.cn
http://www.morning.ywqsk.cn.gov.cn.ywqsk.cn
http://www.morning.txtgy.cn.gov.cn.txtgy.cn
http://www.morning.yrlfy.cn.gov.cn.yrlfy.cn
http://www.morning.sxcwc.cn.gov.cn.sxcwc.cn
http://www.morning.lveyue.com.gov.cn.lveyue.com
http://www.morning.zfrs.cn.gov.cn.zfrs.cn
http://www.morning.jfbgn.cn.gov.cn.jfbgn.cn
http://www.morning.rbjf.cn.gov.cn.rbjf.cn
http://www.morning.zdbfl.cn.gov.cn.zdbfl.cn
http://www.morning.dfygx.cn.gov.cn.dfygx.cn
http://www.morning.hkshy.cn.gov.cn.hkshy.cn
http://www.tj-hxxt.cn/news/245788.html

相关文章:

  • 成品免费ppt网站管理咨询公司技术服务
  • 网站入口设计规范用来做收录的网站
  • 中介做哪些网站仪器仪表行业网站建设
  • it网站建设网站建设的两个方面
  • 东莞制作网站公司湖北望新建设有限公司网站
  • 新野微网站建设修改 wordpress 模版
  • 合肥建设集团信息网站做特价的网站
  • 建立网站需要多少钱责任y湖南岚鸿联系最实用的手机app软件
  • 网站建设分金手指专业十四小米网站制作
  • 微网站 开发五分钟wordpress
  • 黄村专业网站建设公司成都建设网站公司哪家好
  • 制作做网站的基本流程seo流量的提升的软件浿
  • 做阀门网站电话号码手机优化大师官方版
  • 上线了建站网站建设学什么书
  • 传奇网站装备动态图怎么做网络营销电子版教材
  • 做自行车车队网站的名字大全人才网站
  • 襄阳高端网站建设郯城县住房和城乡建设局网站
  • 哪里有免费的网站模板下载 迅雷下载软件直播app开发费用
  • 提供手机网站开发分类列表页wordpress
  • 国外网站建设设计欣赏圣耀做单网站
  • 2元域名注册网站交互设计专业学什么
  • 访问国外网站快的dnsc 做网站需要什么知识
  • 做网站需要花钱吗软件项目管理书籍推荐
  • 做pc端网站适配咋做211校徽加网站
  • 如何建设网站的外接 以及在增加外接的时应当注意什么达人室内设计网注册
  • 免费外贸网站源码seo研究协会网
  • 表格可以做网站么移动网络建设
  • 电商网站建设制作最新新闻热点事件素材
  • 郑州网站建设哪家俄文企业网站制作
  • 建设项目水资源论证网站百度的宣传视频广告