Skip to content

Operator version 3.0.2 #1912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 57 commits into from
Sep 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
3125ea4
Move to version 3.0.2
rjeberhard Sep 9, 2020
7096c1a
remove duplicate parameter srcstorepass in keytool command
Aug 13, 2020
c06a668
changes to allow setting nodeAffinity and nodeSelector values in oper…
ankedia Aug 14, 2020
4b6c1c1
minor doc change
ankedia Aug 14, 2020
9d77c57
changes based on review comments
ankedia Aug 17, 2020
f39c77e
Mirror introspector log to a rotating file in 'log home' (if configured)
Jul 20, 2020
b4fc8ff
minor fix
Jul 20, 2020
fb129f6
remove comment
Jul 20, 2020
857ec2b
Add log rotation for NM .out/.log, enhance log rotation for introspec…
Aug 14, 2020
6698b8a
minor doc edits
Aug 17, 2020
19eb0db
add NGINX for production ICs
rosemarymarano Aug 18, 2020
7cd0042
In recheck code path only continue if spec changes
doxiao Aug 18, 2020
73a6654
Minor change
doxiao Aug 19, 2020
3d84551
only add progressing condition when something is really happening to …
doxiao Aug 20, 2020
ab5f126
cleanup
doxiao Aug 20, 2020
1b86244
populate state and healht when needed
doxiao Aug 23, 2020
4da98b6
Changes for OWLS-82011 to reflect introspector status in domain status
ankedia Jul 23, 2020
319d0dc
change method name
ankedia Jul 23, 2020
881a273
Code refactoring
ankedia Jul 24, 2020
c141ca8
cleanup debug message
ankedia Jul 24, 2020
5aac7f2
Remove unused method
ankedia Jul 24, 2020
52ff1f2
Added check to terminate fiber when intro job fails with BackoffLimit…
ankedia Jul 24, 2020
10cfb2f
implement review comment suggestions
ankedia Jul 27, 2020
df3cf46
added unit test for introspector pod phase failed
ankedia Jul 28, 2020
fe634be
Adjust access
rjeberhard Sep 11, 2020
9585c9f
Work in progress
doxiao Aug 23, 2020
241a71b
debug
doxiao Aug 23, 2020
280628a
debug
doxiao Aug 23, 2020
83f5d23
more debugging
doxiao Aug 24, 2020
94744ab
remove debugging
doxiao Aug 24, 2020
9c895b1
remove debugging
doxiao Aug 24, 2020
24e1243
cleanup
doxiao Aug 24, 2020
5d21f35
Fix patchPod handling and change HashMap to ConcurrentHashMap
doxiao Aug 25, 2020
004a02f
Add ProgressingStep on scaling down
doxiao Aug 25, 2020
86a02df
Address review comments
doxiao Sep 1, 2020
fb1cb53
Review comment
doxiao Sep 1, 2020
cdbfcb2
Corrections
rjeberhard Sep 11, 2020
e627da7
Update the external client FAQ to discuss 'unknown host' handling. Up…
Jul 30, 2020
37d20f8
review and edit
rosemarymarano Jul 31, 2020
70e4d81
delete extraneous file
rosemarymarano Jul 31, 2020
bb13d09
minor doc tweaks
Jul 31, 2020
2a405bf
Backport improvements to ImageBuilders
rjeberhard Sep 14, 2020
9422c71
temporarily adding chown option to imagetool command
Sep 4, 2020
906f393
Update doc. contents
rjeberhard Sep 14, 2020
73b3f1e
update tests after image and WIT updates
Sep 10, 2020
cab8813
fixing the mii domain and sample test after images have been updated
Sep 6, 2020
817e9f0
Modified group name used to copy file to server pod jenkins-ignore
hzhao-github Sep 8, 2020
a7e043c
Chagnes from PR 1906
rjeberhard Sep 15, 2020
7ca1524
Changes to prevent handing during tests
rjeberhard Sep 15, 2020
00a7beb
changes for OWLS-83431
ankedia Aug 5, 2020
d1daf8a
changes for owls-83431
ankedia Aug 10, 2020
17acaf9
Chnages to address PR review comments
ankedia Aug 11, 2020
2e20d17
changes to suppresserror from synchronous call
ankedia Aug 11, 2020
37b7d77
cleanup changes based on PR comments
ankedia Aug 11, 2020
cd707be
changes to fix javadoc and variable name
ankedia Aug 12, 2020
66af24c
Last changes for single server schedule support
rjeberhard Sep 16, 2020
873e59a
Change log
rjeberhard Sep 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Oracle is finding ways for organizations using WebLogic Server to run important
The fastest way to experience the operator is to follow the [Quick Start guide](https://oracle.github.io/weblogic-kubernetes-operator/quickstart/), or you can peruse our [documentation](https://oracle.github.io/weblogic-kubernetes-operator), read our [blogs](https://blogs.oracle.com/weblogicserver/updated-weblogic-kubernetes-support-with-operator-20), or try out the [samples](https://oracle.github.io/weblogic-kubernetes-operator/samples/).

***
The [current release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 3.0.1.
This release was published on August 13, 2020.
The [current release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 3.0.2.
This release was published on September 15, 2020.
***

# Documentation
Expand Down
2 changes: 1 addition & 1 deletion buildDockerImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ while getopts "t:" optname; do
esac
done

IMAGE_NAME=${name:-oracle/weblogic-kubernetes-operator:3.0.1}
IMAGE_NAME=${name:-oracle/weblogic-kubernetes-operator:3.0.2}
SCRIPTPATH="$( cd "$(dirname "$0")" > /dev/null 2>&1 ; pwd -P )"

# Proxy settings
Expand Down
2 changes: 1 addition & 1 deletion buildtime-reports/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<artifactId>operator-parent</artifactId>
<groupId>oracle.kubernetes</groupId>
<version>3.0.1</version>
<version>3.0.2</version>
</parent>

<artifactId>buildtime-reports</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions docs-source/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ using the operator to deploy and run a WebLogic domain container-packaged web ap
***
#### Current production release

The [current release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 3.0.1.
This release was published on August 13, 2020. See the operator prerequisites and supported environments [here]({{< relref "/userguide/introduction/introduction#operator-prerequisites" >}}).
The [current release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 3.0.2.
This release was published on September 15, 2020. See the operator prerequisites and supported environments [here]({{< relref "/userguide/introduction/introduction#operator-prerequisites" >}}).

This release introduces _non-backward compatible_ changes; however, operators using this release can be run in the same
Kubernetes cluster as operators using the 2.6.0 version allowing for staged migration. You can replace a 2.6.0 operator with a 3.x operator without needing to recreate any existing domains; however, you must delete the 2.6.0 Helm release and then install the 3.x version rather than using a Helm upgrade. When the 3.x operator starts, it will roll any running WebLogic Server instances
Expand Down
95 changes: 75 additions & 20 deletions docs-source/content/faq/external-clients.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs-source/content/faq/namespace-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ elkIntegrationEnabled: false
externalDebugHttpPort: 30999
externalRestEnabled: false
externalRestHttpsPort: 31001
image: oracle/weblogic-kubernetes-operator:3.0.1
image: oracle/weblogic-kubernetes-operator:3.0.2
imagePullPolicy: IfNotPresent
internalDebugHttpPort: 30999
istioEnabled: false
Expand Down
2 changes: 1 addition & 1 deletion docs-source/content/quickstart/get-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ and accept the license agreement for the [WebLogic Server image](https://hub.doc
1. Pull the operator image:

```bash
$ docker pull oracle/weblogic-kubernetes-operator:3.0.1
$ docker pull oracle/weblogic-kubernetes-operator:3.0.2
```

1. Pull the Traefik load balancer image:
Expand Down
2 changes: 1 addition & 1 deletion docs-source/content/quickstart/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ $ helm install traefik-operator stable/traefik \
```bash
$ helm install sample-weblogic-operator kubernetes/charts/weblogic-operator \
--namespace sample-weblogic-operator-ns \
--set image=oracle/weblogic-kubernetes-operator:3.0.1 \
--set image=oracle/weblogic-kubernetes-operator:3.0.2 \
--set serviceAccount=sample-weblogic-operator-sa \
--set "domainNamespaces={}" \
--wait
Expand Down
21 changes: 19 additions & 2 deletions docs-source/content/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ date: 2019-03-15T11:25:28-04:00
draft: false
---

### Recent changes
### Releases

| Date | Version | Introduces backward incompatibilities | Change |
| Date | Version | Introduces backward incompatibilities? | Changes |
Copy link
Member

@rosemarymarano rosemarymarano Sep 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes -> Change (I let this go before but it was a mistake. It should be singular, Change, just like all the other headings are singular, Date, Version, Issue, and Description. The question mark after Introduces backward incompatibilities? is ok.) I looked at the Change log in the Hugo UI and it all looks fine, definitely good to go.

| --- | --- | --- | --- |
| September 15, 2020 | v3.0.2 | no | This release contains several fixes, including improvements to log rotation and a fix that avoids unnecessarily updating the domain status. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we list the fixes that went into 3.0.2 for user reference?

| August 13, 2020 | v3.0.1 | no | Fixed an issue preventing the REST interface from working after a Helm upgrade. Helm 3.1.3+ now required. |
| July 17, 2020 | v3.0.0 | yes | Adds Model in Image feature and support for applying topology and configuration override changes without downtime. Removal of support for Helm 2.x. Operator performance improvements to manage many domains in the same Kubernetes cluster. |
| June 22, 2020 | v2.6.0 | no | Kubernetes 1.16, 1.17, and 1.18 support. Removal of support for Kubernetes 1.13 and earlier. This release can be run in the same cluster with operators of either 2.5.0 and below, or with 3.x providing an upgrade path. Certified support of Oracle Linux Cloud Native Environment (OLCNE) 1.1 with Kubernetes 1.17.0.
Expand All @@ -26,6 +27,22 @@ draft: false
| April 4, 2018 | 0.2 | yes | Many Kubernetes artifact names and labels have changed. Also, the names of generated YAML files for creating a domain's PV and PVC have changed. Because of these changes, customers must recreate their operators and domains.
| March 20, 2018 | | yes | Several files and input parameters have been renamed. This affects how operators and domains are created. It also changes generated Kubernetes artifacts, therefore customers must recreate their operators and domains.

### Change log

#### Operator 3.0.2

* Removed unnecessary duplicated parameter in initialize-internal-operator-identity.sh script ([#1867](https://github.com/oracle/weblogic-kubernetes-operator/pull/1867)).
* Support nodeAffinity and nodeSelector for the operator in its Helm chart ([#1869](https://github.com/oracle/weblogic-kubernetes-operator/pull/1869)).
* Log file rotation enhancements and documentation ([#1872](https://github.com/oracle/weblogic-kubernetes-operator/pull/1872), [#1827](https://github.com/oracle/weblogic-kubernetes-operator/pull/1827)).
* Production support for the NGINX ingress controller ([#1878](https://github.com/oracle/weblogic-kubernetes-operator/pull/1878)).
* Prevent unnecessary changes to Domain status that were causing churn to the resourceVersion ([#1879](https://github.com/oracle/weblogic-kubernetes-operator/pull/1879)).
* Better reflect introspector status in the Domain status ([#1832](https://github.com/oracle/weblogic-kubernetes-operator/pull/1832)).
* Create each pod after any previous pods have been scheduled to allow for correct anti-affinity behavior ([#1855](https://github.com/oracle/weblogic-kubernetes-operator/pull/1855)).

#### Operator 3.0.1

* Resolved an issue where a Helm upgrade was incorrectly removing the operator's private key thereby disabling the operator's REST interface ([#1846](https://github.com/oracle/weblogic-kubernetes-operator/pull/1846)).

### Known issues

| Issue | Description |
Expand Down
2 changes: 1 addition & 1 deletion docs-source/content/userguide/introduction/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The operator is packaged in a [Docker image](https://hub.docker.com/r/oracle/web

```
$ docker login
$ docker pull oracle/weblogic-kubernetes-operator:3.0.1
$ docker pull oracle/weblogic-kubernetes-operator:3.0.2
```

For more details on acquiring the operator image and prerequisites for installing the operator, consult the [Quick Start guide]({{< relref "/quickstart/_index.md" >}}).
Expand Down
2 changes: 1 addition & 1 deletion docs-source/content/userguide/introduction/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Detailed instructions are available [here]({{< relref "/userguide/managing-opera

### Operator prerequisites

For the current production release 3.0.1:
For the current production release 3.0.2:

* Kubernetes 1.14.8+, 1.15.7+, 1.16.0+, 1.17.0+, and 1.18.0+ (check with `kubectl version`).
* Flannel networking v0.9.1-amd64 or later (check with `docker images | grep flannel`) *or* OpenShift SDN on OpenShift 4.3 systems.
Expand Down
68 changes: 66 additions & 2 deletions docs-source/content/userguide/managing-domains/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ description: "Important considerations for WebLogic domains in Kubernetes."
* [About the Domain resource](#about-the-domain-resource)
* [Managing life cycle operations](#managing-life-cycle-operations)
* [Scaling clusters](#scaling-clusters)
* [Log files](#log-files)

#### Important considerations for WebLogic domains in Kubernetes

Expand All @@ -32,9 +33,10 @@ Be aware of the following important considerations for WebLogic domains running
[WebLogic domain in Docker image protection]({{<relref "/security/domain-security/image-protection#weblogic-domain-in-docker-image-protection">}}).
{{% /notice %}}

* _Log File Locations:_ The operator can automatically override WebLogic domain and server log locations using
configuration overrides. This occurs if the Domain `logHomeEnabled` field is explicitly set to `true`, or if `logHomeEnabled` isn't set
* _Log File Locations:_ The operator can automatically override WebLogic Server, domain, and introspector log locations.
This occurs if the Domain `logHomeEnabled` field is explicitly set to `true`, or if `logHomeEnabled` isn't set
and `domainHomeSourceType` is set to `PersistentVolume`. When overriding, the log location will be the location specified by the `logHome` setting.
For additional log file tuning information, see [Log files](#log-files).

* _Listen Address Overrides:_ The operator will automatically override all WebLogic domain default,
SSL, admin, or custom channel listen addresses (using situational configuration overrides). These will become `domainUID` followed by a
Expand Down Expand Up @@ -132,3 +134,65 @@ The operator let's you initiate scaling of clusters in various ways:
* [Using the operator's REST APIs]({{< relref "/userguide/managing-domains/domain-lifecycle/scaling#calling-the-operators-rest-scale-api" >}})
* [Using WLDF policies]({{< relref "/userguide/managing-domains/domain-lifecycle/scaling#using-a-wldf-policy-rule-and-script-action-to-call-the-operators-rest-scale-api" >}})
* [Using a Prometheus action]({{< relref "/userguide/managing-domains/domain-lifecycle/scaling#using-a-prometheus-alert-action-to-call-the-operators-rest-scale-api" >}})

### Log files

The operator can automatically override WebLogic Server, domain, and introspector `.log` and `.out` locations.
This occurs if the Domain `logHomeEnabled` field is explicitly set to `true`, or if `logHomeEnabled` isn't set
and `domainHomeSourceType` is set to `PersistentVolume`. When overriding, the log location will be the location specified by the `logHome` setting.

If you want to fine tune the `.log` and `.out` rotation behavior for WebLogic Servers and domains, then
you can update the related `Log MBean` in your WebLogic configuration. Alternatively, for WebLogic
Servers, you can set corresponding system properties in `JAVA_OPTIONS`:

- Here are some WLST offline examples for creating and accessing commonly tuned Log MBeans:

```bash
# domain log
cd('/')
create(dname,'Log')
cd('/Log/' + dname);

# configured server log for a server named 'sname'
cd('/Servers/' + sname)
create(sname, 'Log')
cd('/Servers/' + sname + '/Log/' + sname)

# templated (dynamic) server log for a template named 'tname'
cd('/ServerTemplates/' + tname)
create(tname,'Log')
cd('/ServerTemplates/' + tname + '/Log/' + tname)
```

- Here is sample WLST offline code for commonly tuned Log MBean attributes:

```bash
# minimum log file size before rotation in kilobytes
set('FileMinSize', 1000)

# maximum number of rotated files
set('FileCount', 10)

# set to true to rotate file every time on startup (instead of append)
set('RotateLogOnStartup', 'true')
```

- Here are the defaults for commonly tuned Log MBean attributes:

| Log MBean Attribute | Production Mode Default | Development Mode Default |
| --------- | ----------------------- | ------------------------ |
| FileMinSize (in kilobytes) | 5000 | 500 |
| FileCount | 100 | 7 |
| RotateLogOnStartup | false | true |

- For WebLogic Server `.log` and `.out` files (including both dynamic and configured servers), you can alternatively
set logging attributes using system properties that start with `weblogic.log.`
and that end with the corresponding Log MBean attribute name.

For example, you can include `-Dweblogic.log.FileMinSize=1000 -Dweblogic.log.FileCount=10 -Dweblogic.log.RotateLogOnStartup=true` in `domain.spec.serverPod.env.name.JAVA_OPTIONS` to set the behavior for all WebLogic Servers in your domain. For information about setting `JAVA_OPTIONS`, see [Domain resource]({{< relref "/userguide/managing-domains/domain-resource/_index.md#jvm-memory-and-java-option-environment-variables" >}}).

{{% notice warning %}}
Kubernetes stores pod logs on each of its nodes, and, depending on the Kubernetes implementation, extra steps may be necessary to limit their disk space usage.
For more information, see [Kubernetes Logging Architecture](https://kubernetes.io/docs/concepts/cluster-administration/logging/).
{{% /notice %}}

Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ d. Update the `image` field of the Domain YAML file, specifying the new image na
```
domain:
spec:
image: oracle/weblogic-updated:3.0.1
image: oracle/weblogic-updated:3.0.2
```
e. The operator will now initiate a rolling restart, which will apply the updated image, for all the servers in the domain.

Expand Down
Loading