__director

2020年5月31日

mysql-deployment

摘要: apiVersion: apps/v1 kind: Deployment metadata: name: mysql2 spec: replicas: 1 selector: matchLabels: app: mysql2 template: metadata: labels: app: mysq 阅读全文

posted @ 2020-05-31 14:57 __director 阅读(313) 评论(0) 推荐(0) 编辑

configMap

摘要: apiVersion: v1 kind: ConfigMap metadata: name: nginx-configmap2 data: default.conf: | server { listen 81; server_name localhost; location / { root /us 阅读全文

posted @ 2020-05-31 14:54 __director 阅读(94) 评论(0) 推荐(0) 编辑

入门deployment

摘要: apiVersion: apps/v1 kind: Deployment metadata: name: nginx spec: replicas: 1 selector: matchLabels: app: nginx template: metadata: labels: app: nginx 阅读全文

posted @ 2020-05-31 14:52 __director 阅读(142) 评论(0) 推荐(0) 编辑

导航