Skip to content

Commit 1532b88

Browse files
committed
Make server lifecyle site doc match the operator runtime. Document that user-specified pod and service label names must not start with 'weblogic.'.
1 parent 568af2c commit 1532b88

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

model/src/main/java/oracle/kubernetes/weblogic/domain/v2/ServerPod.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ class ServerPod {
105105

106106
/**
107107
* The labels to be attached to pods.
108+
* The label names must not start with 'weblogic.'.
108109
*
109110
* @since 2.0
110111
*/
@@ -121,6 +122,7 @@ class ServerPod {
121122

122123
/**
123124
* The labels to be attached to Service.
125+
* The label names must not start with 'weblogic.'.
124126
*
125127
* @since 2.0
126128
*/

site/server-lifecycle.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ The `restartVersion` property on the domain resource lets you force the operator
131131
The operator runtime does rolling restarts of clustered servers so that service is maintained.
132132

133133
### Properties that cause servers to be restarted
134-
The operator will restart servers when any of the follow properties on the domain resource that affect the server, are changed:
134+
The operator will restart servers when any of the follow properties on the domain resource that affect the server are changed:
135135
* `annotations`
136136
* `containerSecurityContext`
137137
* `domainHome`
@@ -145,16 +145,15 @@ The operator will restart servers when any of the follow properties on the domai
145145
* `logHomeEnabled`
146146
* `logHome`
147147
* `livenessProbe`
148+
* `nodeSelector`
148149
* `podSecurityContext`
149150
* `readinessProbe`
151+
* `resources`
150152
* `restartVersion`
151153
* `serverStartState`
152154
* `volumes`
153155
* `volumeMounts`
154156

155-
**Note**: The operator does not restart affected servers when `nodeSelector` or `resources` is changed on the domain resource.
156-
In these cases, you can use `restartVersion` to force the operator to restart the servers.
157-
158157
### Rolling restarts
159158

160159
Clustered servers that need to be restarted are gradually restarted (for example, `rolling restarted`) so that the cluster is not taken out of service and in-flight work can be migrated to other servers in the cluster.

0 commit comments

Comments
 (0)