mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
BZ-2017416-2017418: Fixed port list description in the masquerade binding example
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
4adc7f6e5e
commit
352bcdd265
@@ -31,14 +31,19 @@ spec:
|
||||
interfaces:
|
||||
- name: red
|
||||
masquerade: {} <1>
|
||||
ports:
|
||||
- port: 80 <2>
|
||||
ports: <2>
|
||||
- port: 80
|
||||
networks:
|
||||
- name: red
|
||||
pod: {}
|
||||
----
|
||||
<1> Connect using masquerade mode
|
||||
<2> Allow incoming traffic on port 80
|
||||
<2> Optional: List the ports that you want to expose from the virtual machine, each specified by the `port` field. The `port` value must be a number between 0 and 65536. When the `ports` array is not used, all ports in the valid range are open to incoming traffic. In this example, incoming traffic is allowed on port 80.
|
||||
+
|
||||
[NOTE]
|
||||
====
|
||||
Ports 49152 and 49153 are reserved for use by the libvirt platform and all other incoming traffic to these ports is dropped.
|
||||
====
|
||||
|
||||
. Create the virtual machine:
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user