Skip to content

Commit f9332a4

Browse files
committed
Merge branch 'rm/deprecate-MII-without-Aux-image' into 'main'
Add deprecation note for MII without auxiliary image See merge request weblogic-cloud/weblogic-kubernetes-operator!4269
2 parents 5475668 + 39ce63c commit f9332a4

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

documentation/4.0/content/base-images/custom-images.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -507,11 +507,7 @@ to create the domain home in Domain in Image.
507507
508508
#### Create a custom image with your model inside the image
509509
510-
{{% notice tip %}}
511-
This section describes an option for layering Model in Image model files on a WebLogic image.
512-
The preferred approach for supplying Model in Image files
513-
is to use [Auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}}) instead.
514-
{{% /notice %}}
510+
**NOTE**: Model in Image without auxiliary images (the WDT model and installation files are included in the same image with the WebLogic Server installation) will be deprecated in WebLogic Kubernetes Operator version 4.0.7. Oracle recommends that you use Model in Image _with_ auxiliary images. See [Auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}}).
515511
516512
{{% notice warning %}}
517513
The example in this section references a base image,

documentation/4.0/content/base-images/patch-images.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ of the WebLogic domain to update the Oracle Home of the servers.
7777

7878
#### Model in Image without auxiliary images
7979

80+
**NOTE**: Model in Image without auxiliary images (the WDT model and installation files are included in the same image with the WebLogic Server installation) will be deprecated in WebLogic Kubernetes Operator version 4.0.7. Oracle recommends that you use Model in Image _with_ auxiliary images. See [Auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}}).
81+
8082
For Model in Image domains _without_ using auxiliary images:
8183

8284
- The container image contains the JDK, WebLogic Server binaries,

documentation/4.0/content/managing-domains/choosing-a-model/_index.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ When using the operator to start WebLogic Server instances from a domain, you ha
2121
- Supply a WebLogic installation in an image and supply a WebLogic configuration in one of three ways:
2222
- As WDT model YAML file supplied in separate
2323
[auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}}).
24-
- As WebLogic Deployment Tool (WDT) model YAML file layered on the WebLogic installation image.
24+
- As WebLogic Deployment Tool (WDT) model YAML file layered on the WebLogic installation image. **NOTE**: Model in Image without auxiliary images (the WDT model and installation files are included in the same image with the WebLogic Server installation) will be deprecated in WebLogic Kubernetes Operator version 4.0.7. Oracle recommends that you use Model in Image _with_ auxiliary images. See [Auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}}).
2525
- As WDT model YAML file in a Kubernetes ConfigMap.
2626
- Supply WebLogic applications in one of two ways:
2727
- In auxiliary images.
@@ -31,6 +31,7 @@ When using the operator to start WebLogic Server instances from a domain, you ha
3131
supplied in a Kubernetes ConfigMap.
3232

3333
- **[Domain in Image]({{< relref "/samples/domains/domain-home-in-image/_index.md" >}})**:
34+
**NOTE**: The Domain in Image domain home source type is deprecated in WebLogic Kubernetes Operator version 4.0. Oracle recommends that you choose either Domain in PV or Model in Image, depending on your needs.
3435
- Set the domain resource `domain.spec.domainHomeSourceType` attribute to `Image`.
3536
- Supply a WebLogic installation in an image and supply a WebLogic configuration as a domain home layered on this image.
3637
- Supply WebLogic applications layered on the installation image.
@@ -62,7 +63,7 @@ There are advantages for each domain home source type where Model in Image is th
6263
| Patches can be applied by simply changing the image and rolling the domain. | To apply patches, you must update the domain-specific image and then restart or roll the domain depending on the nature of the patch. | Same as Domain in PV when using dedicated [auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}}) to supply model artifacts; same as Domain in Image otherwise. |
6364
| Many cloud providers do not provide persistent volumes that are shared across availability zones, so you may not be able to use a single persistent volume. You may need to use some kind of volume replication technology or a clustered file system. | Provided you do not store and state in containers, you do not have to worry about volume replication across availability zones because each pod has its own copy of the domain. WebLogic replication will handle propagation of any online configuration changes. | Same as Domain in Image. |
6465
| CI/CD pipelines may be more complicated because you would need to run WLST against the live domain directory to effect changes. | CI/CD pipelines are simpler because you can create the whole domain in the image and don't have to worry about a persistent copy of the domain. | CI/CD pipelines are even simpler because you don't need to generate a domain home. The operator will create a domain home for you based on the model that you supply. |
65-
| There are fewer images to manage and store, which could provide significant storage and network savings. | There are more images to manage and store in this approach. | Same as Domain in Image unless you use the [auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}}) approach. With auxiliary images, you can use a single image to distribute your WebLogic installation (similar to Domain on PV), plus one or more specific dedicated images that contain your WebLogic configuration and applications.|
66+
| There are fewer images to manage and store, which could provide significant storage and network savings. | There are more images to manage and store in this approach. | Same as Domain in Image unless you use the [auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}}) approach. With auxiliary images, you can use a single image to distribute your WebLogic installation (similar to Domain in PV), plus one or more specific dedicated images that contain your WebLogic configuration and applications.|
6667
| You may be able to use standard Oracle-provided images or, at least, a very small number of self-built images, for example, with patches installed. | You may need to do more work to set up processes to build and maintain your images. | Same as Domain in Image.|
6768

6869
### Use or create WebLogic images depending on domain home source type
@@ -74,6 +75,8 @@ There are advantages for each domain home source type where Model in Image is th
7475
* [Auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}})
7576

7677
* Model in Image domains that _do not_ use auxiliary images:
78+
**NOTE**: Model in Image without auxiliary images (the WDT model and installation files are included in the same image with the WebLogic Server installation) will be deprecated in WebLogic Kubernetes Operator version 4.0.7. Oracle recommends that you use Model in Image _with_ Auxiliary images. See [Auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}}).
79+
7780
* [Create a custom image with your model inside the image]({{< relref "/base-images/custom-images#create-a-custom-image-with-your-model-inside-the-image" >}})
7881

7982
* Domain in Image domains:

documentation/4.0/content/managing-domains/model-in-image/usage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ There are multiple methods for supplying Model in Image WDT artifacts:
9393
WDT binaries, WebLogic Server binaries, and WebLogic Server patches in an image.
9494
See [Create a custom image with your model inside the image]({{< relref "/base-images/custom-images#create-a-custom-image-with-your-model-inside-the-image" >}}).
9595

96+
**NOTE**: Model in Image without auxiliary images (the WDT model and installation files are included in the same image with the WebLogic Server installation) will be deprecated in WebLogic Kubernetes Operator version 4.0.7. Oracle recommends that you use Model in Image _with_ auxiliary images. See [Auxiliary images]({{< relref "/managing-domains/model-in-image/auxiliary-images.md" >}}).
97+
9698
- Use a Persistent Volume Claim (PVC):
9799
This method is for advanced use cases only. Supply WDT model YAML, variable, or archive files
98100
in a [Persistent Volume Claim]({{< relref "/managing-domains/persistent-storage/volumes.md" >}})

0 commit comments

Comments
 (0)