This repository has been archived by the owner on Feb 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
223 - Expose metallb lb outside the network (#241)
* Adds kustomization to update ingress gateways and services for bare metal deployment * admin and tenant ingress gateways are updated to accept incoming traffic from "*" * services updated to have static "nodeport" values to facilitate routing via the k3d loadbalancer * Adds changes to successfully deploy service updates via zarf
- Loading branch information
1 parent
7305bc8
commit 7a2c343
Showing
5 changed files
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: networking.istio.io/v1beta1 | ||
kind: Gateway | ||
metadata: | ||
name: admin | ||
namespace: istio-system | ||
spec: | ||
selector: | ||
app: admin-ingressgateway | ||
servers: | ||
- hosts: | ||
- '*' | ||
port: | ||
name: http | ||
number: 8080 | ||
protocol: HTTP | ||
tls: | ||
httpsRedirect: true | ||
- hosts: | ||
- '*' | ||
port: | ||
name: https | ||
number: 8443 | ||
protocol: HTTPS | ||
tls: | ||
credentialName: admin-cert | ||
minProtocolVersion: TLSV1_3 | ||
mode: SIMPLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: admin-ingressgateway | ||
namespace: istio-system | ||
spec: | ||
ports: | ||
- name: status-port | ||
nodePort: 30511 | ||
port: 15021 | ||
protocol: TCP | ||
targetPort: 15021 | ||
- name: http2 | ||
nodePort: 32138 | ||
port: 80 | ||
protocol: TCP | ||
targetPort: 8080 | ||
- name: https | ||
nodePort: 30181 | ||
port: 443 | ||
protocol: TCP | ||
targetPort: 8443 | ||
selector: | ||
app: admin-ingressgateway | ||
istio: ingressgateway | ||
sessionAffinity: None | ||
type: LoadBalancer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- admin-gateway.yaml | ||
- admin-service.yaml | ||
- tenant-gateway.yaml | ||
- tenant-service.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: networking.istio.io/v1beta1 | ||
kind: Gateway | ||
metadata: | ||
name: tenant | ||
namespace: istio-system | ||
spec: | ||
selector: | ||
app: tenant-ingressgateway | ||
servers: | ||
- hosts: | ||
- '*' | ||
port: | ||
name: http | ||
number: 8080 | ||
protocol: HTTP | ||
tls: | ||
httpsRedirect: true | ||
- hosts: | ||
- '*' | ||
port: | ||
name: https | ||
number: 8443 | ||
protocol: HTTPS | ||
tls: | ||
credentialName: tenant-cert | ||
minProtocolVersion: TLSV1_3 | ||
mode: SIMPLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: tenant-ingressgateway | ||
namespace: istio-system | ||
spec: | ||
ports: | ||
- name: status-port | ||
nodePort: 30248 | ||
port: 15021 | ||
protocol: TCP | ||
targetPort: 15021 | ||
- name: http2 | ||
nodePort: 32386 | ||
port: 80 | ||
protocol: TCP | ||
targetPort: 8080 | ||
- name: https | ||
nodePort: 30535 | ||
port: 443 | ||
protocol: TCP | ||
targetPort: 8443 | ||
selector: | ||
app: tenant-ingressgateway | ||
istio: ingressgateway | ||
sessionAffinity: None | ||
type: LoadBalancer |