Skip to content

Conversation

@tbarnes-us
Copy link

...plus:

  • Add description of 'old way' (model layer on WL base image) to the WL images doc.
  • Various minor aux image related doc tweaks.
  • Change to kubectl explain for modelHome and wdtInstallHome.

Tom Barnes added 2 commits December 14, 2022 06:51
…on-aux instructions in the WL images doc, plus some other aux image related doc/explain tweaks and fixes.
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 14, 2022
Copy link
Contributor

@rosemarymarano rosemarymarano left a comment

Choose a reason for hiding this comment

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

Edits and suggestions.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@ankedia ankedia left a comment

Choose a reason for hiding this comment

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

LGTM. I have minor comments and a question on whether we should change the name of auxiliary images created in the samples to something simpler (e.g. model-in-image-ai:WLS-v1 or model-in-image:WLS-v1) and have a different name for the image with model files layered on the WebLogic image.


{{% notice note %}}
If you set `modelHome` and `wdtInstallHome` to a non-default value,
then the operator will ignore WDT model and installation files
Copy link
Member

Choose a reason for hiding this comment

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

Should this say "domain" instead of the operator and "in Auxiliary images" similar to line 116-117 in documentation/4.0/content/managing-domains/model-in-image/auxiliary-images.md ?

Copy link
Author

Choose a reason for hiding this comment

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

Probably. That's the original wording copied from before these changes. I changed it to domain in other locations IIRC.

Since the pull is already merged, I will create a new pull.


{{% notice note %}}
If you set `modelHome` and `wdtInstallHome` to a non-default value,
then the operator will ignore WDT model and installation files
Copy link
Member

Choose a reason for hiding this comment

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

Should this say "domain" instead of the operator similar to line 116 in documentation/4.0/content/managing-domains/model-in-image/auxiliary-images.md?

Copy link
Author

Choose a reason for hiding this comment

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

Probably. That's the original wording copied from before these changes. I changed it to domain in other locations IIRC.

Since the pull is already merged, I will create a new pull.


- Image `model-in-image:WLS-v1` with:
- A WebLogic installation
- Auxiliary image `model-in-image:WLS-AI-v1` with:
Copy link
Member

Choose a reason for hiding this comment

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

Since we are changing the default to use auxiliary images, I wonder if we should change the MII image name/tag to something like model-in-image-ai:WLS-v1 or just model-in-image:WLS-v1 and then have a different tag for the non-auxiliary image models.

Copy link
Author

Choose a reason for hiding this comment

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

The sample directory structure, internal sample helper scripts, and testing solely rely on the ":" suffix throughout to distinguish images, so changing the predicate is impractical.

As for changing the suffix, how about we think about changing the current "WLS-v1" to "WLS-LI-v1", where LI indicates 'Layered Image' as opposed to 'Auxiliary Image'? We could then leave "WLS-AI-v1" unchanged. Plus this is more clear IMO, as then all tags would rigorously have a second component of either 'LI' or 'AI' that is meaningful rather than relying on knowing that a shorter tag indicates something important...

Note that this is a change that's not directly in the scope of this merge as the nomenclature was chosen well before 4.0 (plus the merge already occurred).

Copy link
Author

Choose a reason for hiding this comment

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

Thoughts? @rjeberhard ?

@rjeberhard rjeberhard merged commit 7694bcb into main Dec 14, 2022
@rjeberhard rjeberhard deleted the owls-95633 branch December 14, 2022 22:51
rjeberhard pushed a commit to rjeberhard/weblogic-kubernetes-operator that referenced this pull request Apr 14, 2023
* Convert MII sample instructions to use aux images, supply 'old way' non-aux instructions in the WL images doc, plus some other aux image related doc/explain tweaks and fixes.
robertpatrick pushed a commit that referenced this pull request Apr 26, 2023
* Convert MII sample instructions to use aux images, supply 'old way' non-aux instructions in the WL images doc, plus some other aux image related doc/explain tweaks and fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants