You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Generated YAML Files for Operators and Domains
31
+
### Generated YAML files for operators and domains
32
32
33
33
The create scripts generate a number of YAML files that are used to configure the corresponding Kubernetes artifacts for the operator and the domains.
34
34
Typically, customers do not use these YAML files. However, customers can look at them. They can also change the operator and domain configuration by editing these files and reapplying them.
35
35
36
-
#### Directory for the Generated YAML Files
36
+
#### Directory for the generated YAML files
37
37
38
38
Previously, these files were placed in the `kubernetes` directory (for example, `kubernetes/weblogic-operator.yaml`). Now, they are placed in per-operator and per-domain directories (because a Kubernetes cluster can have more than one operator and an operator can manage more than one domain).
39
39
40
-
The customer must create a directory that will parent the per-operator and per-domain directories, and use the `-o` option to pass the name of that directory to the create script, for example:
40
+
The customer must create a directory that will parent the per-operator and per-domain directories, and use the `-o` option to pass the name of that directory to the create script, for example,
The pathname can be either a full path name or a relative path name. If it's a relative pathname, then it's relative to the directory of the shell invoking the create script.
44
44
45
-
The per-operator directory name is:
45
+
The per-operator directory name is
46
46
`<user project dir from -o>/weblogic-operators/<operator namespace from the input YAML file's namespace property>`.
47
47
48
-
Similarly, the per-domain directory name is:
48
+
Similarly, the per-domain directory name is
49
49
`<user project dir from -o>/weblogic-domains/<domain uid from the input YAML file's domainUid property>`.
50
50
51
-
#### What If I Mess Up Creating a Domain or Operator And Want To Do It Again?
51
+
#### What if I mess up creating a domain or operator and want to do it again?
52
52
53
53
* Remove the resources that were created for the domain:
@@ -61,7 +61,7 @@ Similarly, the per-domain directory name is:
61
61
62
62
If you run the create script without cleaning up the previously generated directory, the create script will tell you about the offending files and then exit without creating anything.
63
63
64
-
#### Location of the Input YAML Files
64
+
#### Location of the input YAML files
65
65
66
66
The create scripts support an `-i` option for specifying the location of the inputs file. Similar to the `-o` option, the path can be either a full path name or a relative path name. Relative path names are relative to the directory of the shell invoking the create script.
67
67
@@ -72,19 +72,19 @@ Previously, `kubernetes/create-domain-job.sh` used `kubernetes/create-domain-job
72
72
Also, we do not want the customer to have to change files in the operator's install directory. Because of this, the `-i` option MUST be specified when calling `kubernetes/create-weblogic-operator.sh`. The basic flow is:
73
73
74
74
* Pick a user projects directory, for example, `/scratch/my-user-projects`
75
-
*`mkdir /scratch/my-user-projects`
75
+
*`mkdir /scratch/my-user-projects`
76
76
* Pick a unique ID for the domain, for example, `foo.com`
|`createDomainScript`| This property has been removed |
130
130
|`domainUid`|`domainUID`|
@@ -141,27 +141,27 @@ Some of the contents of the inputs files have changed:
141
141
|`persistenceVolumeName`| This property has been removed |
142
142
|`secretName`|`weblogicCredentialsSecretName`|
143
143
144
-
#### Properties That Must be Customized
144
+
#### Properties that must be customized
145
145
The following input properties, which used to have default values, now must be uncommented and customized.
146
146
147
-
| Previous Property Name| New Property Name| Previous Default Value | Notes |
147
+
| Previous property name| New property name| Previous Default Value | Notes |
148
148
| --- | --- | --- | --- |
149
149
|`domainUid`|`domainUID`|`domain1`| Because the domain UID is supposed to be unique across the Kubernetes cluster, the customer must choose one. |
150
150
|`persistencePath`|`weblogicDomainStoragePath`|`/scratch/k8s_dir/persistentVolume001`| The customer must select a directory for the domain's storage. |
151
151
|`nfsServer`|`weblogicDomainStorageNFSServer`|`nfsServer`| If `weblogicDomainStorageType` is NFS, then the customer must specify the name or IP of the NFS server. |
152
152
153
-
#### Property Values
153
+
#### Property values
154
154
155
-
| Previous Property Name| New Property Name| Old Property Value| New Property Value|
155
+
| Previous property name| New property name| Old property value| New property value|
0 commit comments