-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3df037e
commit c6ea951
Showing
8 changed files
with
139 additions
and
5 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
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
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
76 changes: 76 additions & 0 deletions
76
okd/okd-configuration/overlays/okd/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,76 @@ | ||
apiVersion: operator.openshift.io/v1 | ||
kind: IngressController | ||
metadata: | ||
name: default | ||
namespace: openshift-ingress-operator | ||
annotations: | ||
ingress.operator.openshift.io/default-enable-http2: "true" | ||
labels: | ||
app.kubernetes.io/instance: okd-configuration | ||
spec: | ||
replicas: 2 | ||
defaultCertificate: | ||
name: ingress-certificate | ||
# Kube Vip | ||
endpointPublishingStrategy: | ||
loadBalancer: | ||
allowedSourceRanges: | ||
# Need to Manually Add loadBalancerIP, hence patch below | ||
# Also need to Scale entire Ingress Operator before making the change | ||
- 10.0.0.131/32 | ||
dnsManagementPolicy: Unmanaged | ||
providerParameters: | ||
type: BareMetal | ||
scope: External | ||
type: LoadBalancerService | ||
## HaProxy | ||
# endpointPublishingStrategy: | ||
# hostNetwork: | ||
# protocol: PROXY | ||
# type: HostNetwork | ||
tlsSecurityProfile: | ||
type: Modern | ||
nodePlacement: | ||
tolerations: | ||
- key: node-role.kubernetes.io/infra | ||
effect: NoSchedule | ||
operator: Exists | ||
--- | ||
# Kube VIP | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: | ||
traffic-policy.network.alpha.openshift.io/local-with-fallback: "" | ||
labels: | ||
app: router | ||
ingresscontroller.operator.openshift.io/owning-ingresscontroller: default | ||
router: router-default | ||
name: router-default | ||
namespace: openshift-ingress | ||
spec: | ||
allocateLoadBalancerNodePorts: true | ||
clusterIP: 172.30.55.53 | ||
clusterIPs: | ||
- 172.30.55.53 | ||
externalTrafficPolicy: Local | ||
healthCheckNodePort: 32014 | ||
internalTrafficPolicy: Cluster | ||
ipFamilies: | ||
- IPv4 | ||
ipFamilyPolicy: SingleStack | ||
loadBalancerIP: 10.0.0.131 | ||
loadBalancerSourceRanges: | ||
- 10.0.0.131/32 | ||
ports: | ||
- name: http | ||
nodePort: 32504 | ||
port: 80 | ||
targetPort: http | ||
- name: https | ||
nodePort: 32540 | ||
port: 443 | ||
targetPort: https | ||
selector: | ||
ingresscontroller.operator.openshift.io/deployment-ingresscontroller: default | ||
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ resources: | |
- ../../base | ||
- ./wif.yaml | ||
- ./cluster-version.yaml | ||
- ./ingress-controller.yaml |
21 changes: 21 additions & 0 deletions
21
okd/okd-configuration/overlays/sandbox/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,21 @@ | ||
apiVersion: operator.openshift.io/v1 | ||
kind: IngressController | ||
metadata: | ||
name: default | ||
namespace: openshift-ingress-operator | ||
annotations: | ||
ingress.operator.openshift.io/default-enable-http2: "true" | ||
labels: | ||
app.kubernetes.io/instance: okd-configuration | ||
spec: | ||
endpointPublishingStrategy: | ||
hostNetwork: | ||
protocol: PROXY | ||
type: HostNetwork | ||
tlsSecurityProfile: | ||
type: Modern | ||
nodePlacement: | ||
tolerations: | ||
- key: node-role.kubernetes.io/infra | ||
effect: NoSchedule | ||
operator: Exists |
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