Browse Source

更新 'k8s_kitchenmanageweb.yaml'

tmp
bpa 11 months ago
parent
commit
fe01dd8753
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      k8s_kitchenmanageweb.yaml

k8s_kitchenweb.yaml → k8s_kitchenmanageweb.yaml View File

@@ -1,23 +1,23 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: kitchenweb
name: kitchenmanageweb
namespace: kube-<NAMESPACES> namespace: kube-<NAMESPACES>
spec: spec:


selector: selector:
matchLabels: matchLabels:
app: kitchenweb
app: kitchenmanageweb
replicas: 1 replicas: 1
template: template:
metadata: metadata:
labels: labels:
app: kitchenweb
app: kitchenmanageweb
spec: spec:
containers: containers:
- image: 10.2.1.24:10242/bpa/kitchenweb:<BUILD_TAG>
- image: 10.2.1.24:10242/bpa/kitchenmanageweb:<BUILD_TAG>
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: kitchenweb
name: kitchenmanageweb
env: env:
- name: branch - name: branch
value: <BRANCH_NAME> value: <BRANCH_NAME>
@@ -45,8 +45,8 @@ kind: Service
apiVersion: v1 apiVersion: v1
metadata: metadata:
labels: labels:
app: kitchenweb
name: kitchenweb
app: kitchenmanageweb
name: kitchenmanageweb
namespace: kube-<NAMESPACES> namespace: kube-<NAMESPACES>
spec: spec:
type: ClusterIP type: ClusterIP
@@ -54,4 +54,4 @@ spec:
- port: 80 - port: 80
name: http name: http
selector: selector:
app: kitchenweb
app: kitchenmanageweb

Loading…
Cancel
Save