We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eda484 commit c377a87Copy full SHA for c377a87
MtdrSpring/backend/src/main/resources/todolistapp-springboot.yaml
@@ -2,8 +2,12 @@ apiVersion: v1
2
kind: Service
3
metadata:
4
name: todolistapp-springboot-service
5
+ annotations:
6
+ oci.oraclecloud.com/loadbalancer-policy: "IP_HASH"
7
spec:
8
type: LoadBalancer
9
+ externalTrafficPolicy: Local
10
+
11
ports:
12
- port: 80
13
protocol: TCP
@@ -32,7 +36,7 @@ spec:
32
36
selector:
33
37
matchLabels:
34
38
app: todolistapp-springboot
35
- replicas: 1
39
+ replicas: 2
40
template:
41
42
labels:
0 commit comments