摘要:
apiVersion: apps/v1 kind: Deployment metadata: name: httpd spec: selector: matchLabels: run: httpd replicas: 1 template: metadata: labels: run: httpd 阅读全文
摘要:
# yaml格式的pod定义文件完整内容: apiVersion: v1 #必选,版本号,例如v1 kind: Pod #必选,Pod metadata: #必选,元数据 name: intellect1 #必选,Pod名称 namespace: app #必选,Pod所属的命名空间 labels: 阅读全文