-
Bug
-
Resolution: Done
-
Undefined
-
None
-
4.14, 4.15, 4.16, 4.17, 4.18, 4.19
-
None
-
None
-
T&PS 2024 #13, T&PS 2025 #1
-
2
-
False
-
-
Description of problem:
guidance is needed on how to set routingViaHost enabled.
Additional info:
- Update the CNO YAML and add:
apiVersion: operator.openshift.io/v1
kind: Network
metadata:
name: cluster
spec:
clusterNetwork:
- cidr: 10.128.0.0/14
hostPrefix: 23
serviceNetwork:
- 172.30.0.0/16
networkType: OVNKubernetes
defaultNetwork:
ovnKubernetesConfig:
Alternative and maybe more straightforward: oc patch network.operator cluster -p '{"spec":{"defaultNetwork":{"ovnKubernetesConfig":{"gatewayConfig":
{"routingViaHost": true}}}}}' --type=merge