-
Notifications
You must be signed in to change notification settings - Fork 218
Owls 103828 - Fix for the Cluster and Domain 'Available' conditions for admin only domains and intentionally shutdown clusters #3602
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
Conversation
…no servers expected to run.
@ankedia @lennyphan Does this PR include all the changes from PR 3597 for OWLS-103825? Do we still need PR 3597? |
This PR includes the changes from PR 3597. We made a conflicting change so decided it was best to resolve both JIRA's in one PR, if possible. |
Please also update the doc to something similar to what we discussed in the Slack...
|
documentation/staging/content/managing-domains/accessing-the-domain/status-conditions.md
Outdated
Show resolved
Hide resolved
The doc update LGTM. |
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. Please update PR comment with Never serverStartPolicy related changes. Also, please ask Rosemary to review the doc change. Thanks.
Updated. @rosemarymarano - please review the doc changes.
Kudos, SonarCloud Quality Gate passed! |
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.
review edits and suggestions
- The `status` attribute is set to `True` when a sufficient number of WebLogic Server pods are | ||
ready in the cluster. Both of the following must be true: | ||
- At least one pod in the cluster is expected to run and is `ready`. | ||
- The number of `not ready` server pods which are expected to run |
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.
pods which are expected to run -> pods, which are expected to run, (two commas needed)
ready in the cluster. Both of the following must be true: | ||
- At least one pod in the cluster is expected to run and is `ready`. | ||
- The number of `not ready` server pods which are expected to run | ||
is less than or equal to `cluster.spec.maxUnavailable` which defaults to `1`. |
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.
is less than or equal to cluster.spec.maxUnavailable
, which defaults to 1
. -> (at a minimum, you need a comma before the word "which')
If you want to make it more explicit, then consider this wording -> is less than or equal to the value of cluster.spec.maxUnavailable
, which defaults to 1
.
- Examples: | ||
- If a cluster has `serverStartPolicy` `Never` or `replicas` `0`, | ||
or a cluster is in a domain with `serverStartPolicy` `AdminOnly` or `Never`, | ||
then the cluster will have `Available` `False`. |
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.
Re-write (I can hardly understand the meaning of this sentence, but here's a stab at it): If a cluster has a serverStartPolicy
of Never
, (comma) or replicas
is 0
, or a cluster is in a domain with a serverStartPolicy
of AdminOnly
or Never
, (comma) then the cluster will be Available
, False
.
…or admin only domains and intentionally shutdown clusters (oracle#3602) * Fix for the Cluster and Domain 'Available' conditions for admin only domains and intentionally shutdown clusters Co-authored-by: Lenny Phan <lenny.phan@oracle.com>
…or admin only domains and intentionally shutdown clusters (#3602) * Fix for the Cluster and Domain 'Available' conditions for admin only domains and intentionally shutdown clusters Co-authored-by: Lenny Phan <lenny.phan@oracle.com>
Owls 103828 - Fix for the Cluster and Domain 'Available' Conditions for admin only domains and intentionally shutdown clusters. In addition, it contains fix for Completed:false for domain with NEVER policy. This PR includes changes from the PR # 3597 (OWLS-103825 branch).
Completed
Condition to true if domain start policy is NEVER.Integration test run - https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/13685/console