Skip to content

Commit bbcc868

Browse files
authored
Merge pull request #714 from oracle/develop-server-lifecle-site-doc-pod-obsolete-fix
Develop server lifecle site doc pod obsolete fix
2 parents bd86b2e + e78e8ec commit bbcc868

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class ServerPod {
104104
private List<V1VolumeMount> volumeMounts = new ArrayList<>();
105105

106106
/**
107-
* The labels to be attached to pods.
107+
* The labels to be attached to pods. The label names must not start with 'weblogic.'.
108108
*
109109
* @since 2.0
110110
*/
@@ -120,7 +120,7 @@ class ServerPod {
120120
private Map<String, String> podAnnotations = new HashMap<>();
121121

122122
/**
123-
* The labels to be attached to Service.
123+
* The labels to be attached to Service. The label names must not start with 'weblogic.'.
124124
*
125125
* @since 2.0
126126
*/

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)