mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
changed df
This commit is contained in:
parent
5a47ea3781
commit
4f71267031
1 changed files with 9 additions and 9 deletions
|
@ -3,9 +3,9 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: nop
|
name: springpet-clinic
|
||||||
labels:
|
labels:
|
||||||
app: nop
|
app: springpet-clinic
|
||||||
spec:
|
spec:
|
||||||
minReadySeconds: 5
|
minReadySeconds: 5
|
||||||
replicas: 4
|
replicas: 4
|
||||||
|
@ -20,12 +20,12 @@ spec:
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: nop
|
app: springpet-clinic
|
||||||
name: nop
|
name: springpet-clinic
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: nop
|
- name: springpet-clinic
|
||||||
image: spc-mvn-3.9.4:${BUILD_ID}
|
image: spc-mvn-3.9.4:4
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|
||||||
|
@ -33,14 +33,14 @@ spec:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: nop
|
name: springpet-clinic
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: nop
|
app: springpet-clinic
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
name: nop
|
name: springpet-clinic
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
Loading…
Reference in a new issue