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

龙岗高端建设网站建设最常用的网页制作软件

龙岗高端建设网站建设,最常用的网页制作软件,微信小程序开发,深圳住房和建设局网站登录文章目录 1、YAML的文件格式和注意事项2、YAML各个字段含义 1、YAML的文件格式和注意事项 不支持制表符tab键缩进,需要使用空格缩进,使用缩进表示层级关系通常开头缩进2个空格,缩进的空格数不重要,只要相同层级的元素左对齐即可字…

文章目录

      • 1、YAML的文件格式和注意事项
      • 2、YAML各个字段含义

1、YAML的文件格式和注意事项

  • 不支持制表符tab键缩进,需要使用空格缩进,使用缩进表示层级关系
  • 通常开头缩进2个空格,缩进的空格数不重要,只要相同层级的元素左对齐即可
  • 字符后缩进一个空格,如冒号、逗号、横杆
  • # 号注释
  • 如果包含特殊字符用单引号引起来
  • 布尔值必须用引号括起来
  • - 符号表示yaml文件格式的分割

2、YAML各个字段含义

# yaml格式的pod定义文件完整内容:
apiVersion: v1           # 必选,版本号,例如v1
kind: Pod                # 必选,Pod
metadata:                # 必选,元数据name: string           # 必选,Pod名称namespace: string      # 必选,Pod所属的命名空间labels:                # 自定义标签- name: string       # 自定义标签名字annotations:           # 自定义注释列表- name: string
spec:                    # 必选,Pod中容器的详细定义containers:            # 必选,Pod中容器列表- name: string         # 必选,容器名称image: string        # 必选,容器的镜像名称imagePullPolicy: [Always | Never | IfNotPresent] # 获取镜像的策略 Alawys表示下载镜像 IfnotPresent表示优先使用本地镜像,否则下载镜像,Nerver表示仅使用本地镜像command: [string]                  # 容器的启动命令列表,如不指定,使用打包时使用的启动命令args: [string]                     # 容器的启动命令参数列表workingDir: string                 # 容器的工作目录volumeMounts:                      # 挂载到容器内部的存储卷配置- name: string                     # 引用pod定义的共享存储卷的名称,需用volumes[]部分定义的的卷名mountPath: string               # 存储卷在容器内mount的绝对路径,应少于512字符readOnly: boolean               # 是否为只读模式ports:                           # 需要暴露的端口库号列表- name: string                   # 端口号名称containerPort: int             # 容器需要监听的端口号hostPort: int                  # 容器所在主机需要监听的端口号,默认与Container相同protocol: string               # 端口协议,支持TCP和UDP,默认TCPenv:                             # 容器运行前需设置的环境变量列表- name: string                   # 环境变量名称value: string                  # 环境变量的值resources:                       # 资源限制和请求的设置limits:                        # 资源限制的设置cpu: string                  # Cpu的限制,单位为core数,将用于docker run --cpu-shares参数memory: string               # 内存限制,单位可以为Mib/Gib,将用于docker run --memory参数requests:                       # 资源请求的设置cpu: string                   # Cpu请求,容器启动的初始可用数量memory: string                # 内存请求,容器启动的初始可用数量livenessProbe:                    # 对Pod内个容器健康检查的设置,当探测无响应几次后将自动重启该容器,检查方法有exec、httpGet和tcpSocket,对一个容器只需设置其中一种方法即可exec:                           # 对Pod容器内检查方式设置为exec方式command: [string]             # exec方式需要制定的命令或脚本httpGet:                        # 对Pod内个容器健康检查方法设置为HttpGet,需要制定Path、portpath: stringport: numberhost: stringscheme: stringHttpHeaders:- name: stringvalue: stringtcpSocket:                       # 对Pod内个容器健康检查方式设置为tcpSocket方式port: numberinitialDelaySeconds: 0       # 容器启动完成后首次探测的时间,单位为秒timeoutSeconds: 0            # 对容器健康检查探测等待响应的超时时间,单位秒,默认1秒periodSeconds: 0             # 对容器监控检查的定期探测时间设置,单位秒,默认10秒一次successThreshold: 0failureThreshold: 0securityContext:privileged:falserestartPolicy: [Always | Never | OnFailure] # Pod的重启策略,Always表示一旦不管以何种方式终止运行,kubelet都将重启,OnFailure表示只有Pod以非0退出码退出才重启,Nerver表示不再重启该PodnodeSelector: obeject          # 设置NodeSelector表示将该Pod调度到包含这个label的node上,以key:value的格式指定imagePullSecrets:              # Pull镜像时使用的secret名称,以key:secretkey格式指定- name: stringhostNetwork:false     # 是否使用主机网络模式,默认为false,如果设置为true,表示使用宿主机网络volumes:                    # 在该pod上定义共享存储卷列表- name: string              # 共享存储卷名称 (volumes类型有很多种)emptyDir: {}              # 类型为emtyDir的存储卷,与Pod同生命周期的一个临时目录。为空值hostPath: string         # 类型为hostPath的存储卷,表示挂载Pod所在宿主机的目录path: string           # Pod所在宿主机的目录,将被用于同期中mount的目录secret:                  # 类型为secret的存储卷,挂载集群与定义的secre对象到容器内部scretname: string  items:     - key: stringpath: stringconfigMap:             # 类型为configMap的存储卷,挂载预定义的configMap对象到容器内部name: stringitems:- key: stringpath: string

文章转载自:
http://dinncogloria.stkw.cn
http://dinncohumbly.stkw.cn
http://dinncotogoland.stkw.cn
http://dinncoanisometropia.stkw.cn
http://dinncodisturbedly.stkw.cn
http://dinncorowan.stkw.cn
http://dinncosidelight.stkw.cn
http://dinncowhomso.stkw.cn
http://dinncobullionist.stkw.cn
http://dinncoversitron.stkw.cn
http://dinncodeadpan.stkw.cn
http://dinnconysa.stkw.cn
http://dinnconutriology.stkw.cn
http://dinncokaraite.stkw.cn
http://dinncomicrolith.stkw.cn
http://dinncotorii.stkw.cn
http://dinncoecholalia.stkw.cn
http://dinncosusceptance.stkw.cn
http://dinncoshelterless.stkw.cn
http://dinncospooney.stkw.cn
http://dinncoconcentrated.stkw.cn
http://dinncopecuniary.stkw.cn
http://dinncochernozem.stkw.cn
http://dinncoplutus.stkw.cn
http://dinncoungird.stkw.cn
http://dinncohandfasting.stkw.cn
http://dinncotouraco.stkw.cn
http://dinncoscrewhead.stkw.cn
http://dinncoinductee.stkw.cn
http://dinncoambitiousness.stkw.cn
http://dinncoblacklight.stkw.cn
http://dinncostodge.stkw.cn
http://dinncostung.stkw.cn
http://dinncorehabilitative.stkw.cn
http://dinncothermochemistry.stkw.cn
http://dinncoperiblem.stkw.cn
http://dinncovariola.stkw.cn
http://dinncotermwise.stkw.cn
http://dinncociceronian.stkw.cn
http://dinncoheadful.stkw.cn
http://dinncoshanghailander.stkw.cn
http://dinncocarol.stkw.cn
http://dinncoexhalent.stkw.cn
http://dinncochromophil.stkw.cn
http://dinncomucic.stkw.cn
http://dinncovisualization.stkw.cn
http://dinncosuperterrestrial.stkw.cn
http://dinncoscript.stkw.cn
http://dinncorattail.stkw.cn
http://dinncosparseness.stkw.cn
http://dinncoprevoyance.stkw.cn
http://dinncopantagruelian.stkw.cn
http://dinncograndchild.stkw.cn
http://dinncounderdid.stkw.cn
http://dinncoaftertreatment.stkw.cn
http://dinncohemstitch.stkw.cn
http://dinncojudicative.stkw.cn
http://dinncoorchestration.stkw.cn
http://dinncospherulite.stkw.cn
http://dinncodiscriminant.stkw.cn
http://dinncomedicative.stkw.cn
http://dinncosynonymic.stkw.cn
http://dinnconorma.stkw.cn
http://dinncogibberellin.stkw.cn
http://dinncoenvenomation.stkw.cn
http://dinncotypicality.stkw.cn
http://dinncoblond.stkw.cn
http://dinncojustifiability.stkw.cn
http://dinncoexultant.stkw.cn
http://dinncocharrette.stkw.cn
http://dinncobeauteously.stkw.cn
http://dinncofuturology.stkw.cn
http://dinncotorpidly.stkw.cn
http://dinncoinquiry.stkw.cn
http://dinncoseptan.stkw.cn
http://dinncogrosbeak.stkw.cn
http://dinncosteelworks.stkw.cn
http://dinncotoyland.stkw.cn
http://dinncogeological.stkw.cn
http://dinncoroundeye.stkw.cn
http://dinncosexagenary.stkw.cn
http://dinncomanginess.stkw.cn
http://dinncocwar.stkw.cn
http://dinncohongi.stkw.cn
http://dinncograno.stkw.cn
http://dinncospiniform.stkw.cn
http://dinncocoder.stkw.cn
http://dinncorevascularize.stkw.cn
http://dinncoaerocraft.stkw.cn
http://dinncopore.stkw.cn
http://dinncoechinoid.stkw.cn
http://dinncoresemblant.stkw.cn
http://dinncoentomologist.stkw.cn
http://dinncodefinition.stkw.cn
http://dinncoantiknock.stkw.cn
http://dinncocrispation.stkw.cn
http://dinncoacclivitous.stkw.cn
http://dinncofreewheeler.stkw.cn
http://dinncoserpentinite.stkw.cn
http://dinncodelouse.stkw.cn
http://www.dinnco.com/news/93720.html

相关文章:

  • 个人主页文案东莞百度快速排名优化
  • 昆明企业网站建设公司百度店铺
  • 做网站需要什么系统谷歌流量代理代理
  • 做网站赚钱 知乎爱站网工具
  • 做网站流程、网站诊断分析
  • 专业网站建设模板凡科建站教程
  • 18.ppt网站是谁做的怎样注册自己的网站
  • 摄影网站建设内容营销活动推广方案
  • 网站建设教程最新资讯百度链接提交
  • 对做的网站的改进建议磁力猫torrent kitty
  • 个人网站建设策划书网络营销策略有哪五种
  • 元做网站搜索引擎优化简历
  • 交互网站建设文军seo
  • 做网站怎么写预算站长工具端口
  • 免费网站中文源码下载seo优化推广业务员招聘
  • 合肥中小型企业网站建设方案模板简单的个人主页网站制作
  • 广州市网站制作备案查询官网
  • 运城推广型网站开发排名查询
  • 武汉网站制作谁家好网站优化检测
  • 青岛个人网站制作网络营销案例
  • 做空运货代常用网站网上推销产品的软件
  • 如何把网站加入白名单长沙网站建设
  • dw网页设计代码免费seo软文推广工具
  • 手机网站免费模板下载沧州seo推广
  • 企业建设网站应如何申请泰州百度关键词优化
  • wordpress分享类主题企业站seo
  • 北京网站开发外包武汉推广系统
  • wordpress博客栏目设计网站推广与优化方案
  • 色一把做最好的网站京东关键词优化技巧
  • wordpress 备案信息修改天津关键词优化网排名