-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure address for external ingress service
This service is used with the external ingressController and connects with our public metallb loadBalancer The important fields to pay attention to here are the: metadata.annotations metallb.universe.tf/address-pool: public spec.loadBalancerIP: 199.94.61.6 This is the ip where we are servicing external traffic
- Loading branch information
Showing
3 changed files
with
35 additions
and
1 deletion.
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
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
33 changes: 33 additions & 0 deletions
33
cluster-scope/overlays/nerc-ocp-prod/services/router-external-apps-ingress-controller.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,33 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: | ||
metallb.universe.tf/address-pool: public | ||
traffic-policy.network.alpha.openshift.io/local-with-fallback: "" | ||
labels: | ||
app: router | ||
ingresscontroller.operator.openshift.io/owning-ingresscontroller: external-apps-ingress-controller | ||
router: router-external-apps-ingress-controller | ||
name: router-external-apps-ingress-controller | ||
namespace: openshift-ingress | ||
spec: | ||
allocateLoadBalancerNodePorts: true | ||
externalTrafficPolicy: Local | ||
healthCheckNodePort: 32573 | ||
internalTrafficPolicy: Cluster | ||
ipFamilies: | ||
- IPv4 | ||
ipFamilyPolicy: SingleStack | ||
loadBalancerIP: 199.94.61.6 | ||
ports: | ||
- name: http | ||
nodePort: 31731 | ||
port: 80 | ||
targetPort: http | ||
- name: https | ||
nodePort: 31651 | ||
port: 443 | ||
targetPort: https | ||
selector: | ||
ingresscontroller.operator.openshift.io/deployment-ingresscontroller: external-apps-ingress-controller | ||
type: LoadBalancer |