Skip to content

Commit 5ceef75

Browse files
authored
Merge pull request #61255 from ShaunaDiaz/OSDOCS-6510
OSDOCS-6510: remove dual stack and secondary gateway interface
2 parents e1072f9 + 36ce553 commit 5ceef75

File tree

5 files changed

+46
-32
lines changed

5 files changed

+46
-32
lines changed
File renamed without changes.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * module may be unused in 4.13
4+
5+
:_content-type: PROCEDURE
6+
[id="microshift-nodeport-unreachable-workaround_{context}"]
7+
= Manually restarting the `ovnkube-master` pod to resume node port traffic
8+
9+
After you install {product-title}, NodePort service traffic might stop. To troubleshoot this issue, manually restart the `ovnkube-master` pod in the `openshift-ovn-kubernetes` namespace.
10+
11+
.Prerequisites
12+
13+
* The OpenShift CLI (`oc`) is installed.
14+
* A cluster installed on infrastructure configured with the Open Virtual Network (OVN)-Kubernetes network plugin.
15+
* Access to the `kubeconfig` file.
16+
* The KUBECONFIG environment variable is set.
17+
18+
.Procedure
19+
20+
Run the commands listed in each step that follows to restore the `NodePort` service traffic after you install{product-title}:
21+
22+
. Find the name of the ovn-master pod that you want to restart by running the following command:
23+
+
24+
[source, terminal]
25+
----
26+
$ pod=$(oc get pods -n openshift-ovn-kubernetes | grep ovnkube-master | awk -F " " '{print $1}')
27+
----
28+
29+
. Force a restart of the of the ovnkube-master pod by running the following command:
30+
+
31+
[source, terminal]
32+
----
33+
$ oc -n openshift-ovn-kubernetes delete pod $pod
34+
----
35+
36+
. Optional: To confirm that the ovnkube-master pod restarted, run the following command:
37+
+
38+
[source, terminal]
39+
----
40+
$ oc get pods -n openshift-ovn-kubernetes
41+
----
42+
If the pod restarted, the listing of the running pods shows a different ovnkube-master pod name and age consistent with the procedure you just completed.
43+
44+
. Verify that the `NodePort` service can now be reached.
45+

microshift_networking/microshift-networking.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ include::modules/microshift-configuring-ovn.adoc[leveloffset=+1]
2727

2828
include::modules/microshift-restart-ovnkube-master.adoc[leveloffset=+1]
2929

30-
//include::modules/microshift-man-config-ovs-bridge.adoc[leveloffset=+1]
31-
3230
include::modules/microshift-http-proxy.adoc[leveloffset=+1]
3331

3432
include::modules/microshift-rpm-ostree-https.adoc[leveloffset=+1]
@@ -47,4 +45,4 @@ include::modules/microshift-mDNS.adoc[leveloffset=+1]
4745
[id="additional-resources_microshift-understanding-networking-settings"]
4846
.Additional resources
4947

50-
* xref:../microshift_release_notes/microshift-4-13-release-notes.adoc#microshift-4-13-known-issues[{product-title} {product-version} release notes --> Known issues]
48+
* xref:../microshift_release_notes/microshift-4-13-release-notes.adoc#microshift-4-13-known-issues[{product-title} {product-version} release notes --> Known issues]

modules/microshift-cni.adoc

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ Networking features available with {product-title} {product-version} include:
6969
* Kubernetes network policy
7070
* Dynamic node IP
7171
* Cluster network on specified host interface
72-
* Secondary gateway interface
73-
* Dual stack
7472

7573
Networking features not available with {product-title} {product-version}:
7674

@@ -118,21 +116,3 @@ Bridge mappings allow provider network traffic to reach the physical network. Tr
118116
[id="microshift-primary-gateway-interface_{context}"]
119117
=== Primary gateway interface
120118
You can specify the desired host interface name in the `ovn.yaml` config file as `gatewayInterface`. The specified interface is added in OVS bridge br-ex which acts as gateway bridge for the CNI network.
121-
122-
[id="microshift-secondary-gateway-interface_{context}"]
123-
=== Secondary gateway interface
124-
You can set up one additional host interface for cluster ingress and egress in the `ovn.yaml` config file. The additional interface is added in a second OVS bridge `br-ex1`. Cluster pod traffic directed to the additional host subnet is routed automatically based on the destination IP through br-ex1.
125-
126-
Either two or three OVS bridges are created based on the CNI configuration:
127-
128-
Default deployment::
129-
* The `externalGatewayInterface` is not specified in the `ovn.yaml` config file.
130-
* Two OVS bridges, `br-ex` and `br-int`, are created.
131-
132-
Customized deployment::
133-
* The `externalGatewayInterface` is user-specified in the `ovn.yaml` config file.
134-
* Three OVS bridges are created: `br-ex`, `br-ex1` and `br-int`.
135-
136-
The br-ex bridge is created by `microshift-ovs-init.service` or manually. The br-ex bridge contains statically programmed openflow rules which distinguish traffic to and from the host network (underlay) and the OVN network (overlay).
137-
138-
The `br-int` bridge is created by the `ovnkube-master` container. The `br-int` bridge contains dynamically programmed openflow rules which handle cluster network traffic.

modules/microshift-configuring-ovn.adoc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@ $ cat /etc/microshift/ovn.yaml.default
3131
ovsInit:
3232
disableOVSInit: false
3333
gatewayInterface: "" <1>
34-
externalGatewayInterface: "" <2>
3534
mtu: 1400
3635
----
3736
<1> The default value is an empty string that means "not-specified." The CNI network plugin auto-detects to interface with the default route.
38-
<2> The default value is an empty string that means "disabled."
3937

4038
. To customize your configuration, use the following table that lists the valid values you can use:
4139
+
@@ -61,12 +59,6 @@ mtu: 1400
6159
|Ingress that is the API gateway
6260
|eth0
6361

64-
|`ovsInit.externalGatewayInterface`
65-
|Alpha
66-
|eth1
67-
|Ingress routing external traffic to your services and pods inside the node
68-
|eth1
69-
7062
|mtu
7163
|uint32
7264
|auto
@@ -91,7 +83,6 @@ If you change the `mtu` configuration value in the `ovn.yaml` file, you must res
9183
ovsInit:
9284
disableOVSInit: true
9385
gatewayInterface: eth0
94-
externalGatewayInterface: eth1
9586
mtu: 1300
9687
----
9788

0 commit comments

Comments
 (0)