Skip to content

Commit 6265fc3

Browse files
committed
Add example snippets for domain home types
1 parent e415253 commit 6265fc3

File tree

1 file changed

+29
-11
lines changed
  • documentation/staging/content/userguide/managing-domains/accessing-the-domain

1 file changed

+29
-11
lines changed

documentation/staging/content/userguide/managing-domains/accessing-the-domain/port-forward.md

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,38 @@ This behavior depends on your version and domain resource configuration:
6767
configured with the following attributes:
6868
* Protocol defined as `t3`.
6969
* Listen address defined with `localhost`.
70-
* Listen port. Note, you should choose a port that does not conflict with any ports defined
70+
* Listen port. Note, you should choose a port value that does not conflict with any ports defined
7171
in any of the additional network channels created for use with Istio versions prior to v1.10.
7272
For more details, see [Added network channels for Istio versions prior to v1.10]({{< relref "/userguide/istio/istio#added-network-channels-for-istio-versions-prior-to-v110" >}}).
7373
* Enable `HTTP` protocol for this network channel.
74-
* Do _NOT_ set an `external listen address` or `external listen port` on the network access point.
74+
* Do _NOT_ set an `external listen address` or `external listen port`.
7575

76-
For example, here is a snippet of a WebLogic domain `config.xml` file for channel `PortForward`
76+
For example, here is a snippet of a WebLogic domain `config.xml` file for channel `PortForward` for the Admin Server
7777
```xml
78-
<network-access-point>
79-
<name>PortForward</name>
80-
<protocol>t3</protocol>
81-
<listen-address>localhost</listen-address>
82-
<listen-port>8989</listen-port>
83-
<http-enabled-for-this-protocol>true</http-enabled-for-this-protocol>
84-
</network-access-point>
78+
<server>
79+
<name>admin-server</name>
80+
<network-access-point>
81+
<name>PortForward</name>
82+
<protocol>t3</protocol>
83+
<listen-address>localhost</listen-address>
84+
<listen-port>7890</listen-port>
85+
<http-enabled-for-this-protocol>true</http-enabled-for-this-protocol>
86+
</network-access-point>
87+
</server>
88+
```
89+
For Model in Image (MII) and Domain Home in Image (DII), here is a snippet model configuration for channel `PortForward` for the Admin Server
90+
```yaml
91+
topology:
92+
...
93+
Server:
94+
'admin-server':
95+
ListenPort: 7001
96+
NetworkAccessPoint:
97+
PortForward:
98+
Protocol: 't3'
99+
ListenAddress: 'localhost'
100+
ListenPort: '7890'
101+
HttpEnabledForThisProtocol: true
85102
```
86103
87104
{{% notice note %}}
@@ -90,7 +107,8 @@ then you will need to rerun its introspector job and ensure that the admin pod
90107
restarts for the configuration changes to take effect.
91108
{{% /notice %}}
92109
93-
When administration channel port forwarding is enabled,
110+
If Istio is _not_ enabled on the domain or for Istio enabled domains running
111+
Istio 1.10 and later, when administration channel port forwarding is enabled,
94112
the operator automatically adds the following network channels
95113
(also known as Network Access Points) to the WebLogic Administration Server Pod:
96114

0 commit comments

Comments
 (0)