Skip to content

Commit c377a87

Browse files
committed
Update todolistapp-springboot.yaml
1 parent 5eda484 commit c377a87

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

MtdrSpring/backend/src/main/resources/todolistapp-springboot.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
name: todolistapp-springboot-service
5+
annotations:
6+
oci.oraclecloud.com/loadbalancer-policy: "IP_HASH"
57
spec:
68
type: LoadBalancer
9+
externalTrafficPolicy: Local
10+
711
ports:
812
- port: 80
913
protocol: TCP
@@ -32,7 +36,7 @@ spec:
3236
selector:
3337
matchLabels:
3438
app: todolistapp-springboot
35-
replicas: 1
39+
replicas: 2
3640
template:
3741
metadata:
3842
labels:

0 commit comments

Comments
 (0)