正在显示
1 个修改的文件
包含
10 行增加
和
10 行删除
1 | apiVersion: v1 | 1 | apiVersion: v1 |
2 | kind: Service | 2 | kind: Service |
3 | metadata: | 3 | metadata: |
4 | - name: suplus-front | ||
5 | - namespace: mmm-suplus-dev | 4 | + name: suplus-yhs |
5 | + namespace: mmm-suplus-prd | ||
6 | labels: | 6 | labels: |
7 | - k8s-app: suplus-front | 7 | + k8s-app: suplus-yhs |
8 | spec: | 8 | spec: |
9 | ports: | 9 | ports: |
10 | - name: "http" | 10 | - name: "http" |
11 | port: 80 | 11 | port: 80 |
12 | targetPort: 80 | 12 | targetPort: 80 |
13 | selector: | 13 | selector: |
14 | - k8s-app: suplus-front | 14 | + k8s-app: suplus-yhs |
15 | --- | 15 | --- |
16 | apiVersion: extensions/v1beta1 | 16 | apiVersion: extensions/v1beta1 |
17 | kind: Deployment | 17 | kind: Deployment |
18 | metadata: | 18 | metadata: |
19 | - name: suplus-front | ||
20 | - namespace: mmm-suplus-dev | 19 | + name: suplus-yhs |
20 | + namespace: mmm-suplus-prd | ||
21 | labels: | 21 | labels: |
22 | - k8s-app: suplus-front | 22 | + k8s-app: suplus-yhs |
23 | spec: | 23 | spec: |
24 | replicas: 1 | 24 | replicas: 1 |
25 | template: | 25 | template: |
26 | metadata: | 26 | metadata: |
27 | labels: | 27 | labels: |
28 | - k8s-app: suplus-front | 28 | + k8s-app: suplus-yhs |
29 | spec: | 29 | spec: |
30 | containers: | 30 | containers: |
31 | - - name: suplus-front | ||
32 | - image: 192.168.0.243:5000/mmm/suplus-front:dev | 31 | + - name: suplus-yhs |
32 | + image: 192.168.0.243:5000/mmm/suplus-yhs:dev | ||
33 | imagePullPolicy: Always | 33 | imagePullPolicy: Always |
34 | volumeMounts: | 34 | volumeMounts: |
35 | - mountPath: /opt/logs | 35 | - mountPath: /opt/logs |
-
请 注册 或 登录 后发表评论