Skip to content

Commit 5452120

Browse files
authored
Docs merge to master for 3.0.0-rc1 (#1634)
* init branch * wip - preparing 3.0.0-rc1 docs for release * release notes, home page updates, review feedback * update prereqs; link from home page to MII doc and samples: * updates based on review feedback * updates based on review feedback * updates based on review feedback * updates based on review feedback * pick up helm charts for 3.0.0-rc1
1 parent 2ad80be commit 5452120

File tree

86 files changed

+3658
-934
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+3658
-934
lines changed

docs-source/content/_index.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,33 @@ using the operator to deploy and run a WebLogic domain container-packaged web ap
2121
{{% /notice %}}
2222

2323
***
24-
#### Current release
24+
#### Current production release
2525

26-
The [current release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 2.5.0.
26+
The [current production release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 2.5.0.
2727
This release was published on February 26, 2020. See the operator prerequisites and supported environments [here]({{< relref "/userguide/introduction/introduction#operator-prerequisites" >}}).
2828

29-
##### Preview of next planned release
29+
#### Preview of next major release
3030

31-
The next planned release is 3.0.0-rc1 (release candidate). This release candidate will
32-
be suitable for use by early adopters who wish to test 3.0.0 features and provide
33-
feedback.
31+
The [current preview release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 3.0.0-rc1 (release candidate).
32+
This release candidate is suitable for use by early adopters who wish to test 3.0.0 features and provide feedback.
33+
This release candidate was published on May 8, 2020. There may be additional release candidates before the final 3.0.0 release.
3434

35-
This release is planned for April 2020, subject to change.
35+
This release candidate introduces _non-backward compatible_ changes. This release candidate cannot be run in the same
36+
cluster as another release of the operator. You can upgrade from 2.5.0 to 3.0.0-rc1 without needing to restart or recreate
37+
any existing domains. However, please note that we do plan to support running the final 3.0.0
38+
release in the same cluster with at least one 2.x release of the operator to allow for staged migration.
3639

37-
The planned feature changes in 3.0.0-rc1 are:
40+
The feature changes in 3.0.0-rc1 are:
3841

39-
* Introduction of a new "Model In Image" feature which allows you to have a domain
42+
* Introduction of a new ["Model In Image"]({{% relref "/userguide/managing-domains/model-in-image" %}}) feature which allows you to have a domain
4043
created at pod startup time from a WebLogic Deploy Tool model and archive.
4144
This supports user-requested use cases like creating multiple domains from
4245
the same model and automated updating of the domain based on model changes.
4346
The operator automates management of the domain encryption keys to ensure
4447
that they are not changed during domain updates.
45-
* Support for running the operator on Kubernetes 1.16, 1.17 and 1.18.
48+
A [sample]({{% relref "/samples/simple/domains/model-in-image" %}}) is also provided that
49+
demonstrates the key use cases for this feature.
50+
* Support for running the operator on Kubernetes 1.16.
4651
* Deprecation and removal of support for running the operator on Kubernetes 1.13
4752
and earlier versions.
4853
* Deprecation and removal of support for Helm 2.x. Helm 2.x uses the "tiller" pod
@@ -105,13 +110,11 @@ Please refer to our [samples]({{< relref "/samples/_index.md" >}}) for informati
105110

106111
Developers interested in this project are encouraged to read the [Developer guide]({{< relref "/developerguide/_index.md" >}}) to learn how to build the project, run tests, and so on. The Developer guide also provides details about the structure of the code, coding standards, and the Asynchronous Call facility used in the code to manage calls to the Kubernetes API.
107112

108-
Please take a look at our [wish list](https://github.com/oracle/weblogic-kubernetes-operator/wiki/Wish-list) to get an idea of the kind of features we would like to add to the operator. Maybe you will see something to which you would like to contribute!
109-
110113
### API documentation
111114

112115
Documentation for APIs:
113116

114-
* The operator provides a REST API that you can use to obtain configuration information and to initiate scaling actions. For details about how to use the REST APIs, see [Use the operator's REST services]({{< relref "/userguide/managing-operators/using-the-operator/the-rest-api.md#use-the-operator-s-rest-services" >}}).
117+
* The operator provides a REST API that you can use to obtain configuration information and to initiate scaling actions. For details about how to use the REST APIs, see [Use the operator's REST services]({{< relref "/userguide/managing-operators/using-the-operator/the-rest-api#use-the-operators-rest-services" >}}).
115118

116119
* See the [Swagger](https://oracle.github.io/weblogic-kubernetes-operator/swagger/index.html) documentation for the operator's REST interface.
117120

docs-source/content/developerguide/code-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This project has the following directory structure:
1616
* `model`: Domain resource Java model
1717
* `operator`: Operator runtime
1818
* `site`: This documentation
19-
* `src/scripts`: Scripts operator injects into WebLogic server instance Pods
19+
* `src/scripts`: Scripts operator injects into WebLogic Server instance Pods
2020
* `swagger`: Swagger files for the Kubernetes API server and domain resource
2121

2222
### Watch package

docs-source/content/developerguide/requirements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ draft: false
55
weight: 1
66
---
77

8-
In addition to the requirements listed in the [User guide]({{< relref "/userguide/introduction/introduction.md#prerequisites" >}}), the following software is also required to obtain and build the operator:
8+
In addition to the requirements listed in the [User guide]({{< relref "/userguide/introduction/introduction#operator-prerequisites" >}}), the following software is also required to obtain and build the operator:
99

1010
* Git (1.8 or later recommended)
1111
* Java Developer Kit (11 required, 11.0.2 recommended)
1212
* Apache Maven (3.5.3 min, 3.6 recommended)
1313

1414
The operator is written primarily in Java, BASH shell scripts, and WLST scripts.
1515

16-
Because the target runtime environment for the operator is Oracle Linux, no particular effort has been made to ensure the build or tests run on any other operating system. Please be aware that Oracle will not provide support, or accept pull requests to add support, for other operating systems.
16+
Because the target runtime environment for the operator is Oracle Linux, no particular effort has been made to ensure the build or tests run on any other operating system. Please be aware that Oracle will not provide support, or accept pull requests to add support for other operating systems.
1717

1818
#### Obtaining the operator source code
1919

docs-source/content/faq/boot-identity-not-valid.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ weight: 20
1111
1212
When you see these kinds of errors, it means that the user name and password provided in the `weblogicCredentialsSecret` are incorrect. Prior to operator version 2.5.0, this error could
1313
have also indicated that the WebLogic domain directory's security configuration files have changed in an incompatible way between when the operator scanned
14-
the domain directory, which occurs during the "introspection" phase, and when the server instance attempted to start. There is now a separate validation for that condition described in the [domain secret mismatch FAQ entry](../domain-secret-mismatch/).
14+
the domain directory, which occurs during the "introspection" phase, and when the server instance attempted to start. There is now a separate validation for that condition described in the [Domain secret mismatch](../domain-secret-mismatch/) FAQ entry.
1515

1616
Check that the user name and password credentials stored in the Kubernetes secret referenced by `weblogicCredentialsSecret` contain the expected values for an account with administrative privilege for the WebLogic domain.
17-
Then [stop all WebLogic server instances](https://oracle.github.io/weblogic-kubernetes-operator/userguide/managing-domains/domain-lifecycle/startup/#starting-and-stopping-servers)
18-
in the domain before restarting so that the operator will repeat its introspection and generate the corrected "boot.properites" files.
17+
Then [stop all WebLogic Server instances](https://oracle.github.io/weblogic-kubernetes-operator/userguide/managing-domains/domain-lifecycle/startup/#starting-and-stopping-servers)
18+
in the domain before restarting so that the operator will repeat its introspection and generate the corrected `boot.properties` files.

docs-source/content/faq/cannot-pull-image.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The Docker tag `latest` is confusing - it does not actually mean the latest vers
3737
the image that was created or published in the registry; it just literally means
3838
whichever version the owner decided to call "latest". Docker and Kubernetes make
3939
some assumptions about latest, and it is generally recommended to avoid using it and instead
40-
specify the actual version/tag that you really want.
40+
specify the actual version or tag that you really want.
4141
{{% /notice %}}
4242

4343
First, Kubernetes will check to see if the requested image is available in the local
@@ -80,7 +80,7 @@ use the image.
8080

8181
{{% notice note %}}
8282
Some registries may need a suffix making the `docker-server` something like `some.registry.com/v2`
83-
for example. You will need to check with your registry provider's documentation to see if this is needed.
83+
for example. You will need to check with your registry provider's documentation to determine if this is needed.
8484
{{% /notice %}}
8585

8686
After the secret is created, you need to tell Kubernetes to use it. This is done by adding
@@ -101,7 +101,7 @@ metadata:
101101
weblogic.domainUID: domain1
102102
spec:
103103
domainHome: /u01/oracle/user_projects/domains/domain1
104-
domainHomeInImage: true
104+
domainHomeSourceType: Image
105105
image: "some.registry.com/owner/domain1:1.0"
106106
imagePullPolicy: "IfNotPresent"
107107
imagePullSecrets:
@@ -124,8 +124,7 @@ kubectl patch serviceaccount default \
124124
{{% notice note %}}
125125
You can provide mutliple `imagePullSecrets` if you need to pull Docker images from multiple
126126
remote Docker registries or if your images require different authentication credentials.
127-
For more information, see [Docker Image Protection]({{<relref "/security/domain-security/image-protection.md#weblogic-domain-in-docker-image-protection">}})
128-
under **Security**.
127+
For more information, see [Docker Image Protection]({{<relref "/security/domain-security/image-protection#weblogic-domain-in-docker-image-protection">}}).
129128
{{% /notice %}}
130129

131130
#### Manually copying the image to your worker nodes
@@ -134,13 +133,13 @@ If you are not able to use a remote Docker registry, for example if your Kuberne
134133
in a secure network with no external access, you can manually copy the Docker images to the
135134
cluster instead.
136135

137-
On the machine where you created the image, export it into a tar file using this command:
136+
On the machine where you created the image, export it into a TAR file using this command:
138137

139138
```
140139
docker save domain1:1.0 > domain1.tar
141140
```
142141

143-
Then copy that tar file to each worker node in your Kubernetes cluster and run this command
142+
Then copy that TAR file to each worker node in your Kubernetes cluster and run this command
144143
on each node:
145144

146145
```

docs-source/content/faq/coherence-requirements.md

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,46 +7,45 @@ weight: 90
77

88
If you are running Coherence on Kubernetes, either inside a WebLogic domain
99
or standalone, then there are some additional requirements to make sure
10-
that Coherence can form clusters.
10+
that Coherence can form clusters.
1111

1212
Note that some Fusion Middleware products, like SOA Suite, use Coherence
1313
and so these requirements apply to them.
1414

15-
#### Unicast and Well Known Address
15+
#### Unicast and Well Known Address
1616
When the first Coherence process starts, it will form a cluster. The next
17-
Coherence process to start (i.e. in a different pod) will use UDP to try
17+
Coherence process to start (for example, in a different pod), will use UDP to try
1818
to contact the senior member.
1919

2020
If you create a WebLogic domain which contains a Coherence cluster
2121
using the samples provided in this project, then that cluster will
22-
be configured correctly so that it is able to form;
22+
be configured correctly so that it is able to form;
2323
you do not need to do any additional manual configuration.
2424

25-
If you are running Coherence standalone (outside a
26-
WebLogic domain) you should configure Coherence to use unicast and
25+
If you are running Coherence standalone (outside a
26+
WebLogic domain), then you should configure Coherence to use unicast and
2727
provide a "well known address (WKA)" so that all members can find the senior
2828
member. Most Kubernetes overlay network providers do not
2929
support multicast.
3030

31-
This is done by specifying the Coherence well known addresses in a variable named
32-
`coherence.wka` as shown in the example below:
31+
This is done by specifying Coherence well known addresses in a variable named
32+
`coherence.wka` as shown in the following example:
3333

3434
```
3535
-Dcoherence.wka=my-cluster-service
3636
```
3737

38-
In this example `my-cluster-service` should be the name of the Kubernetes
38+
In this example `my-cluster-service` should be the name of the Kubernetes
3939
service that is pointing to all of the members of that Coherence cluster.
4040

41-
Please refer to the [Coherence operator documentation](https://oracle.github.io/coherence-operator/)
42-
for more information about running Coherence in Kubernetes outside of
43-
a WebLogic domain.
41+
For more information about running Coherence in Kubernetes outside of
42+
a WebLogic domain, refer to the [Coherence operator documentation](https://oracle.github.io/coherence-operator/).
4443

4544
#### Operating system library requirements
4645

4746
In order for Coherence clusters to form correctly, the `conntrack` library
4847
must be installed. Most Kubernetes distributions will do this for you.
49-
If you have issues with clusters not forming, you should check that
48+
If you have issues with clusters not forming, then you should check that
5049
`conntrack` is installed using this command (or equivalent):
5150

5251
```
@@ -62,7 +61,7 @@ should install `conntrack` using your operating system tools.
6261

6362
Some Kubernetes distributions create `iptables` rules that block some
6463
types of traffic that Coherence requires to form clusters. If you are
65-
not able to form clusters, you can check for this issue using the
64+
not able to form clusters, then you can check for this issue using the
6665
following command:
6766

6867
```
@@ -73,7 +72,7 @@ pkts bytes target prot opt in out source destination
7372
0 0 MASQUERADE all -- * !lo 0.0.0.0/0 0.0.0.0/0
7473
```
7574

76-
If you see output similar to the example above, i.e. if you see any entries
75+
If you see output similar to the example above, for example, if you see any entries
7776
in this chain, then you need to remove them. You can remove the entries
7877
using this command:
7978

@@ -82,45 +81,45 @@ using this command:
8281
```
8382

8483
Note that you will need to run that command for each line. So in the example
85-
above, you would need to run it twice.
84+
above, you would need to run it twice.
8685

8786
After you are done, you can run the previous command again and verify that
8887
the output is now an empty list.
8988

90-
After making this change, restart your domain(s) and the Coherence cluster
91-
should now form correctly.
89+
After making this change, restart your domains and the Coherence cluster
90+
should now form correctly.
9291

9392
#### Make iptables updates permanent across reboots
9493

95-
The recommended way to make `iptables` updates permanent across reboots is
96-
to create a `systemd` service that applies the necessary updates during
94+
The recommended way to make `iptables` updates permanent across reboots is
95+
to create a `systemd` service that applies the necessary updates during
9796
the startup process.
9897

99-
Here is an example, but you may need to adjust this to suit your own
98+
Here is an example; you may need to adjust this to suit your own
10099
environment:
101100

102101
* Create a `systemd` service:
103102

104-
```bash
103+
```bash
105104
echo 'Set up systemd service to fix iptables nat chain at each reboot (so Coherence will work)...'
106105
mkdir -p /etc/systemd/system/
107106
cat > /etc/systemd/system/fix-iptables.service << EOF
108107
[Unit]
109108
Description=Fix iptables
110109
After=firewalld.service
111110
After=docker.service
112-
111+
113112
[Service]
114113
ExecStart=/sbin/fix-iptables.sh
115-
114+
116115
[Install]
117116
WantedBy=multi-user.target
118117
EOF
119118
```
120119
121120
* Create the script to update `iptables`:
122121
123-
```bash
122+
```bash
124123
cat > /sbin/fix-iptables.sh << EOF
125124
#!/bin/bash
126125
echo 'Fixing iptables rules for Coherence issue...'
@@ -138,4 +137,4 @@ environment:
138137
```bash
139138
echo 'Start the systemd service to fix iptables nat chain...'
140139
systemctl enable --now fix-iptables
141-
```
140+
```

0 commit comments

Comments
 (0)