Skip to content

Commit 055ac44

Browse files
Merge pull request #2713 from oracle/OWLS-92959
OWLS-92959: Doc: kubectl port-forward does not allow to access thru WLST in istio-domain for Istio version previous to 1.10
2 parents 9e32456 + 1b99861 commit 055ac44

File tree

1 file changed

+46
-6
lines changed
  • documentation/staging/content/userguide/managing-domains/accessing-the-domain

1 file changed

+46
-6
lines changed

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

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,60 @@ This behavior depends on your version and domain resource configuration:
6262
command or see the domain resource
6363
[schema](https://github.com/oracle/weblogic-kubernetes-operator/blob/main/documentation/domains/Domain.md).
6464

65-
* For Istio-enabled domains running Istio versions prior to 1.10,
66-
the operator already adds a
67-
network channel with a `localhost` listen address for each
68-
existing port. This means that no additional configuration is required
69-
to enable port forwarding when Istio is enabled.
65+
* If WLST access is required for Istio-enabled domains running Istio versions prior to 1.10,
66+
you must add an additional network channel to the WebLogic Administration Server
67+
configured with the following attributes:
68+
* Protocol defined as `t3`.
69+
* Listen address defined with `localhost`. (Note: Setting the address to localhost is solely
70+
for self-documenting purposes. The address can be set to any value, and the operator will override
71+
it to the required value.)
72+
* Listen port. Note: Choose a port value that does not conflict with any ports defined
73+
in any of the additional network channels created for use with Istio versions prior to v1.10.
7074
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" >}}).
75+
* Enable `HTTP` protocol for this network channel.
76+
* Do _NOT_ set an `external listen address` or `external listen port`.
77+
78+
{{% notice note %}}
79+
For Istio-enabled domains running Istio versions prior to 1.10, if console only access is required,
80+
then it is not necessary to add an additional network channel to the WebLogic Administration Server.
81+
{{% /notice %}}
82+
83+
For example, here is a snippet of a WebLogic domain `config.xml` file for channel `PortForward` for the Administration Server.
84+
```xml
85+
<server>
86+
<name>admin-server</name>
87+
<network-access-point>
88+
<name>PortForward</name>
89+
<protocol>t3</protocol>
90+
<listen-address>localhost</listen-address>
91+
<listen-port>7890</listen-port>
92+
<http-enabled-for-this-protocol>true</http-enabled-for-this-protocol>
93+
</network-access-point>
94+
</server>
95+
```
96+
For Model in Image (MII) and Domain in Image (DII), here is a snippet model configuration for channel `PortForward` for the Administration Server.
97+
```yaml
98+
topology:
99+
...
100+
Server:
101+
'admin-server':
102+
ListenPort: 7001
103+
NetworkAccessPoint:
104+
PortForward:
105+
Protocol: 't3'
106+
ListenAddress: 'localhost'
107+
ListenPort: '7890'
108+
HttpEnabledForThisProtocol: true
109+
```
71110
72111
{{% notice note %}}
73112
If your domain is already running, and you have made configuration changes,
74113
then you will need to rerun its introspector job and ensure that the admin pod
75114
restarts for the configuration changes to take effect.
76115
{{% /notice %}}
77116
78-
When administration channel port forwarding is enabled,
117+
If Istio is _not_ enabled on the domain or for Istio enabled domains running
118+
Istio 1.10 and later, when administration channel port forwarding is enabled,
79119
the operator automatically adds the following network channels
80120
(also known as Network Access Points) to the WebLogic Administration Server Pod:
81121

0 commit comments

Comments
 (0)