-
Notifications
You must be signed in to change notification settings - Fork 212
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
OWLS-72816 Generate event and status when operator can't scale cluster past maximum #2097
Conversation
…s not valid for the weblogic cluster
operator/src/main/java/oracle/kubernetes/operator/steps/ManagedServersUpStep.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just one minor comment.
@@ -242,6 +243,39 @@ Source: | |||
Type: Warning | |||
Events: <none> | |||
|
|||
``` | |||
Example of a `InvalidReplicasValue` event: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change InvalidReplicasValue
to DomainValidationError
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks. updated with example of DomainValidationError.
@tbarnes-us, are your concerns addressed? |
When a replicas value is below the configured min cluster size, or above the configured max cluster size, generate events such as:
Also update
status.message
of the domain resource to:Also include in the PR a fix for a bug that was found in validation of
serverName
of specified inmanagedServer
, in that a validation warning message such as the following is added even though the server name exists in a dynamic cluster:"Managed Server 'managed-server1' specified in the domain resource does not exist in the WebLogic domain home configuration."
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/3334/