@@ -25,15 +25,15 @@ cloud_load_balancer_provider: oci
25
25
26
26
# OCI NLB: https://docs.oracle.com/en-us/iaas/tools/oci-ansible-collection/4.12.0/collections/oracle/oci/oci_network_load_balancer_module.html#ansible-collections-oracle-oci-oci-network-load-balancer-module
27
27
cloud_loadbalancers :
28
- - name : " {{ cluster_state.infra_id }}-ext "
28
+ - name : " {{ cluster_state.infra_id }}-nlb "
29
29
provider : oci
30
30
type : network
31
31
32
32
# Is it supported multi-subnets?
33
- subnet_name : " {{ cluster_state.infra_id }}-net-public"
33
+ subnet_name : " {{ cluster_state.infra_id }}-net-public-lb "
34
34
spec :
35
35
compartment_id : " {{ oci_compartment_id }}"
36
- display_name : " {{ cluster_state.infra_id }}-ext "
36
+ display_name : " {{ cluster_state.infra_id }}-nlb "
37
37
is_private : false
38
38
is_preserve_source_destination : true
39
39
nlb_ip_version : IPV4
@@ -44,10 +44,10 @@ cloud_loadbalancers:
44
44
backend_set :
45
45
- provider : oci
46
46
spec :
47
- name : " {{ cluster_state.infra_id }}-aext "
47
+ name : " {{ cluster_state.infra_id }}-api "
48
48
is_preserve_source : no
49
49
ip_version : IPV4
50
- # policy: TWO_TUPLE
50
+ policy : FIVE_TUPLE
51
51
# backends: []
52
52
health_checker :
53
53
port : 6443
@@ -59,10 +59,25 @@ cloud_loadbalancers:
59
59
60
60
- provider : oci
61
61
spec :
62
- name : " {{ cluster_state.infra_id }}-ig-80 "
62
+ name : " {{ cluster_state.infra_id }}-mcs "
63
63
is_preserve_source : no
64
64
ip_version : IPV4
65
- # policy: TWO_TUPLE
65
+ policy : FIVE_TUPLE
66
+ # backends: []
67
+ health_checker :
68
+ port : 22623
69
+ protocol : HTTPS
70
+ return_code : 200
71
+ url_path : /healthz
72
+ interval_in_millis : 10000
73
+ timeout_in_millis : 3000
74
+
75
+ - provider : oci
76
+ spec :
77
+ name : " {{ cluster_state.infra_id }}-ing-http"
78
+ is_preserve_source : no
79
+ ip_version : IPV4
80
+ policy : FIVE_TUPLE
66
81
# backends: [] # TCP/31794
67
82
health_checker :
68
83
port : 31261
@@ -74,7 +89,7 @@ cloud_loadbalancers:
74
89
75
90
- provider : oci
76
91
spec :
77
- name : " {{ cluster_state.infra_id }}-ig-443 "
92
+ name : " {{ cluster_state.infra_id }}-ing-https "
78
93
is_preserve_source : no
79
94
ip_version : IPV4
80
95
# policy: TWO_TUPLE
@@ -90,22 +105,29 @@ cloud_loadbalancers:
90
105
# https://docs.oracle.com/en-us/iaas/tools/oci-ansible-collection/4.12.0/collections/oracle/oci/oci_network_load_balancer_listener_module.html#ansible-collections-oracle-oci-oci-network-load-balancer-listener-module
91
106
listeners :
92
107
- spec :
93
- name : " {{ cluster_state.infra_id }}-aext "
94
- default_backend_set_name : " {{ cluster_state.infra_id }}-aext "
108
+ name : " {{ cluster_state.infra_id }}-api "
109
+ default_backend_set_name : " {{ cluster_state.infra_id }}-api "
95
110
ip_version : IPV4
96
111
port : 6443
97
112
protocol : TCP
98
113
99
114
- spec :
100
- name : " {{ cluster_state.infra_id }}-ig-80"
101
- default_backend_set_name : " {{ cluster_state.infra_id }}-ig-80"
115
+ name : " {{ cluster_state.infra_id }}-mext"
116
+ default_backend_set_name : " {{ cluster_state.infra_id }}-mcs"
117
+ ip_version : IPV4
118
+ port : 22623
119
+ protocol : TCP
120
+
121
+ - spec :
122
+ name : " {{ cluster_state.infra_id }}-ing-http"
123
+ default_backend_set_name : " {{ cluster_state.infra_id }}-ing-http"
102
124
ip_version : IPV4
103
125
port : 80
104
126
protocol : TCP
105
127
106
128
- spec :
107
- name : " {{ cluster_state.infra_id }}-ig-443 "
108
- default_backend_set_name : " {{ cluster_state.infra_id }}-ig-443 "
129
+ name : " {{ cluster_state.infra_id }}-ing-https "
130
+ default_backend_set_name : " {{ cluster_state.infra_id }}-ing-https "
109
131
ip_version : IPV4
110
132
port : 443
111
133
protocol : TCP
@@ -138,7 +160,7 @@ cloud_loadbalancers:
138
160
# private address
139
161
- name : register_dns
140
162
rr_ip : private
141
- view_name : " {{ cluster_state.infra_id }}-vpc "
163
+ view_name : " {{ cluster_state.infra_id }}-vcn "
142
164
spec :
143
165
zone_name_or_id : " {{ cluster_state.dns.cluster_domain }}"
144
166
compartment_id : " {{ oci_compartment_id }}"
@@ -150,7 +172,7 @@ cloud_loadbalancers:
150
172
151
173
- name : register_dns
152
174
rr_ip : public
153
- view_name : " {{ cluster_state.infra_id }}-vpc "
175
+ view_name : " {{ cluster_state.infra_id }}-vcn "
154
176
spec :
155
177
zone_name_or_id : " {{ cluster_state.dns.cluster_domain }}"
156
178
compartment_id : " {{ oci_compartment_id }}"
0 commit comments