HOWTO
- https://oracle.github.io/weblogic-deploy-tooling/userguide/tools/discover/
- https://oracle.github.io/weblogic-deploy-tooling/userguide/tools/kubernetes/
See also
GitHub
Create Weblogic domain via config.sh
Discover domain via WDT
$ ./discoverDomain.sh -oracle_home /app/weblogic -domain_home /app/weblogic/user_projects/domains/base_domain/ -archive_file /git/weblogic/wdt/DiscoveredABDomain.zip -model_file /git/weblogic/wdt/DiscoveredABDomain.yaml -admin_user weblogic -admin_url t3://dave:7001
JDK version is 11.0.22+9-LTS-219
JAVA_HOME = /usr/java/jdk-11
WLST_EXT_CLASSPATH = /app/weblogic-deploy/lib/weblogic-deploy-core.jar
CLASSPATH = /app/weblogic-deploy/lib/weblogic-deploy-core.jar
WLST_PROPERTIES = -Dcom.oracle.cie.script.throwException=true -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig
/app/weblogic/oracle_common/common/bin/wlst.sh /app/weblogic-deploy/lib/python/discover.py -oracle_home /app/weblogic -domain_home /app/weblogic/user_projects/domains/base_domain/ -archive_file /git/weblogic/wdt/DiscoveredABDomain.zip -model_file /git/weblogic/wdt/DiscoveredABDomain.yaml -admin_user weblogic -admin_url t3://dave:7001
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
####<Mar 29, 2024 10:20:37 AM> <INFO> <WebLogicDeployToolingVersion> <logVersionInfo> <WLSDPLY-01750> <The WebLogic Deploy Tooling discoverDomain version is 3.5.4:.43d3afb:Mar 14, 2024 11:55 UTC>
####<Mar 29, 2024 10:20:37 AM> <INFO> <WLSDeployLoggingConfig> <logLoggingDirectory> <WLSDPLY-01755> <The discoverDomain program will write its log to directory /app/weblogic-deploy/logs>
####<Mar 29, 2024 10:20:37 AM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12328> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateRcuSchemasScript section>
####<Mar 29, 2024 10:20:37 AM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12321> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateDomainScript section>
Please enter the WebLogic administrator password:
####<Mar 29, 2024 10:20:44 AM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12328> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateRcuSchemasScript section>
####<Mar 29, 2024 10:20:44 AM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12321> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateDomainScript section>
####<Mar 29, 2024 10:20:44 AM> <INFO> <ModelContext> <__copy_from_args> <WLSDPLY-01050> <WebLogic version for aliases is 14.1.1.0.0>
####<Mar 29, 2024 10:20:44 AM> <INFO> <discover> <main> <WLSDPLY-06024> <No variable file provided. Model passwords will contain the token '-- FIX ME --'>
####<Mar 29, 2024 10:20:45 AM> <INFO> <discover> <_get_domain_name> <WLSDPLY-06022> <Discover domain base_domain>
####<Mar 29, 2024 10:20:46 AM> <INFO> <TopologyDiscoverer> <discover> <WLSDPLY-06600> <Discovering domain model topology>
####<Mar 29, 2024 10:20:47 AM> <INFO> <WlstHelper> <is_set> <WLSDPLY-00129> <Error calling isSet() for attribute ResourceManagement at location /: java.lang.AssertionError: java.lang.reflect.InvocationTargetException>
####<Mar 29, 2024 10:20:47 AM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain AdminConsole>
####<Mar 29, 2024 10:20:47 AM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain CdiContainer>
####<Mar 29, 2024 10:20:47 AM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain JMX>
####<Mar 29, 2024 10:20:48 AM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain JPA>
####<Mar 29, 2024 10:20:48 AM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain JTA>
####<Mar 29, 2024 10:20:48 AM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain Log>
####<Mar 29, 2024 10:20:49 AM> <INFO> <Discoverer> <discover_domain_mbean> <WLSDPLY-06644> <Adding Domain RestfulManagementServices>
####<Mar 29, 2024 10:20:49 AM> <INFO> <TopologyDiscoverer> <get_clusters> <WLSDPLY-06601> <Discovering 2 clusters>
####<Mar 29, 2024 10:20:49 AM> <INFO> <TopologyDiscoverer> <get_clusters> <WLSDPLY-06602> <Adding Cluster ClusterA>
####<Mar 29, 2024 10:20:52 AM> <INFO> <TopologyDiscoverer> <get_clusters> <WLSDPLY-06602> <Adding Cluster ClusterB>
####<Mar 29, 2024 10:20:54 AM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06603> <Discovering 5 servers>
####<Mar 29, 2024 10:20:54 AM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06604> <Adding Server AdminServer>
####<Mar 29, 2024 10:21:07 AM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06604> <Adding Server ManagedServerA1>
####<Mar 29, 2024 10:21:19 AM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06604> <Adding Server ManagedServerA2>
####<Mar 29, 2024 10:21:31 AM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06604> <Adding Server ManagedServerB1>
####<Mar 29, 2024 10:21:43 AM> <INFO> <TopologyDiscoverer> <get_servers> <WLSDPLY-06604> <Adding Server ManagedServerB2>
####<Mar 29, 2024 10:21:54 AM> <INFO> <TopologyDiscoverer> <get_migratable_targets> <WLSDPLY-06607> <Discovering 4 Migratable Targets>
####<Mar 29, 2024 10:21:54 AM> <INFO> <TopologyDiscoverer> <get_migratable_targets> <WLSDPLY-06608> <Adding Migratable Target ManagedServerA1 (migratable)>
####<Mar 29, 2024 10:21:54 AM> <INFO> <TopologyDiscoverer> <get_migratable_targets> <WLSDPLY-06608> <Adding Migratable Target ManagedServerA2 (migratable)>
####<Mar 29, 2024 10:21:55 AM> <INFO> <TopologyDiscoverer> <get_migratable_targets> <WLSDPLY-06608> <Adding Migratable Target ManagedServerB1 (migratable)>
####<Mar 29, 2024 10:21:55 AM> <INFO> <TopologyDiscoverer> <get_migratable_targets> <WLSDPLY-06608> <Adding Migratable Target ManagedServerB2 (migratable)>
####<Mar 29, 2024 10:21:55 AM> <INFO> <TopologyDiscoverer> <get_server_templates> <WLSDPLY-06605> <Discovering 0 server templates>
####<Mar 29, 2024 10:21:55 AM> <INFO> <TopologyDiscoverer> <get_unix_machines> <WLSDPLY-06609> <Discovering 2 Unix machines>
####<Mar 29, 2024 10:21:55 AM> <INFO> <TopologyDiscoverer> <get_machines> <WLSDPLY-06611> <Discovering 2 machines>
####<Mar 29, 2024 10:21:55 AM> <INFO> <TopologyDiscoverer> <get_machines> <WLSDPLY-06612> <Adding Machine machineA>
####<Mar 29, 2024 10:21:55 AM> <INFO> <TopologyDiscoverer> <get_machines> <WLSDPLY-06612> <Adding Machine machineB>
####<Mar 29, 2024 10:21:56 AM> <INFO> <TopologyDiscoverer> <discover_security_configuration> <WLSDPLY-06622> <Adding Security Configuration>
####<Mar 29, 2024 10:21:58 AM> <INFO> <TopologyDiscoverer> <get_embedded_ldap_configuration> <WLSDPLY-06639> <Skipping Embedded LDAP Server Configuration>
####<Mar 29, 2024 10:21:58 AM> <INFO> <TopologyDiscoverer> <_get_log_filters> <WLSDPLY-06628> <Discovering 0 Log Filters>
####<Mar 29, 2024 10:21:58 AM> <INFO> <TopologyDiscoverer> <_get_reliable_delivery_policies> <WLSDPLY-06630> <Discovering 0 Reliable Delivery Policies>
####<Mar 29, 2024 10:21:58 AM> <INFO> <TopologyDiscoverer> <_get_virtual_hosts> <WLSDPLY-06647> <Discovering 0 Virtual Hosts>
####<Mar 29, 2024 10:21:58 AM> <INFO> <TopologyDiscoverer> <_get_xml_entity_caches> <WLSDPLY-06632> <Discovering 0 XML Entity Caches>
####<Mar 29, 2024 10:21:58 AM> <INFO> <TopologyDiscoverer> <_get_xml_registries> <WLSDPLY-06634> <Discovering 0 XML Registries>
####<Mar 29, 2024 10:21:58 AM> <INFO> <TopologyDiscoverer> <_get_ws_securities> <WLSDPLY-06649> <Discovering 0 Web Service Securities>
####<Mar 29, 2024 10:21:58 AM> <INFO> <ResourcesDiscoverer> <discover> <WLSDPLY-06300> <Discovering domain model resources>
####<Mar 29, 2024 10:21:58 AM> <INFO> <GlobalResourcesDiscoverer> <get_self_tuning> <WLSDPLY-06441> <Adding Self Tuning>
####<Mar 29, 2024 10:21:58 AM> <INFO> <GlobalResourcesDiscoverer> <get_startup_classes> <WLSDPLY-06442> <Discovering 0 Startup Classes>
####<Mar 29, 2024 10:21:58 AM> <INFO> <GlobalResourcesDiscoverer> <get_shutdown_classes> <WLSDPLY-06445> <Discovering 0 Shutdown Classes>
####<Mar 29, 2024 10:21:58 AM> <INFO> <GlobalResourcesDiscoverer> <_get_webapp_container> <WLSDPLY-06615> <Cross Domain Security is enabled, do not remove SecurityConfiguration CredentialEncrypted>
####<Mar 29, 2024 10:21:58 AM> <INFO> <GlobalResourcesDiscoverer> <get_singleton_service> <WLSDPLY-06445> <Discovering 0 Shutdown Classes>
####<Mar 29, 2024 10:21:58 AM> <INFO> <GlobalResourcesDiscoverer> <get_jolt_connection_pool> <WLSDPLY-06449> <Discovering 0 Jolt Connection Pools>
####<Mar 29, 2024 10:21:58 AM> <INFO> <GlobalResourcesDiscoverer> <get_wtc_servers> <WLSDPLY-06451> <Discovering 0 WTC Servers>
####<Mar 29, 2024 10:21:58 AM> <INFO> <CommonResourcesDiscoverer> <get_datasources> <WLSDPLY-06340> <Discovering 0 JDBC System Resources>
####<Mar 29, 2024 10:21:58 AM> <INFO> <CommonResourcesDiscoverer> <get_foreign_jndi_providers> <WLSDPLY-06342> <Discovering 0 Foreign JNDI Providers>
####<Mar 29, 2024 10:21:58 AM> <INFO> <CommonResourcesDiscoverer> <get_mail_sessions> <WLSDPLY-06344> <Discovering 0 Mail Sessions>
####<Mar 29, 2024 10:21:58 AM> <INFO> <CommonResourcesDiscoverer> <get_file_stores> <WLSDPLY-06346> <Discovering 0 File Stores>
####<Mar 29, 2024 10:21:58 AM> <INFO> <CommonResourcesDiscoverer> <get_jdbc_stores> <WLSDPLY-06350> <Discovering 0 JDBC Stores>
####<Mar 29, 2024 10:21:58 AM> <INFO> <CommonResourcesDiscoverer> <get_path_services> <WLSDPLY-06355> <Discovering 0 Path Services>
####<Mar 29, 2024 10:21:58 AM> <INFO> <JmsResourcesDiscoverer> <get_jms_servers> <WLSDPLY-06470> <Discovering 0 JMS Servers>
####<Mar 29, 2024 10:21:58 AM> <INFO> <JmsResourcesDiscoverer> <get_saf_agents> <WLSDPLY-06472> <Discovering 0 SAF Agents>
####<Mar 29, 2024 10:21:58 AM> <INFO> <JmsResourcesDiscoverer> <get_jms_system_resources> <WLSDPLY-06478> <Discovering 0 JMS System Resources>
####<Mar 29, 2024 10:21:58 AM> <INFO> <JmsResourcesDiscoverer> <get_jms_bridge_destinations> <WLSDPLY-06474> <Discovering 0 JMS Bridge Destinations>
####<Mar 29, 2024 10:21:58 AM> <INFO> <JmsResourcesDiscoverer> <get_jms_bridges> <WLSDPLY-06476> <Discovering 0 JMS Messaging Bridges>
####<Mar 29, 2024 10:21:59 AM> <INFO> <CommonResourcesDiscoverer> <get_wldf_system_resources> <WLSDPLY-06357> <Discovering 0 WLDF System Resources>
####<Mar 29, 2024 10:21:59 AM> <INFO> <CommonResourcesDiscoverer> <_get_named_resources> <WLSDPLY-06364> <Discovering 0 SystemComponent elements>
####<Mar 29, 2024 10:21:59 AM> <INFO> <CoherenceResourcesDiscoverer> <_get_coherence_clusters> <WLSDPLY-06311> <Discovering 0 Coherence Cluster System Resources>
####<Mar 29, 2024 10:21:59 AM> <INFO> <DeploymentsDiscoverer> <discover> <WLSDPLY-06380> <Discovering domain model deployments>
####<Mar 29, 2024 10:21:59 AM> <INFO> <MultiTenantDiscoverer> <discover> <WLSDPLY-06700> <Discover Multi-tenant>
####<Mar 29, 2024 10:21:59 AM> <INFO> <MultiTenantTopologyDiscoverer> <discover> <WLSDPLY-06709> <Discover Multi-tenant Topology>
####<Mar 29, 2024 10:21:59 AM> <INFO> <MultiTenantResourcesDiscoverer> <discover> <WLSDPLY-06707> <Discover Multi-tenant Resources>
####<Mar 29, 2024 10:21:59 AM> <INFO> <filter_helper> <apply_filters> <WLSDPLY-20017> <No filter configuration file /app/weblogic-deploy/lib/model_filters.json>
####<Mar 29, 2024 10:21:59 AM> <INFO> <filter_helper> <apply_filters> <WLSDPLY-20016> <No filters of type discover found in filter configuration file /app/weblogic-deploy/lib/model_filters.json>
####<Mar 29, 2024 10:21:59 AM> <INFO> <variable_injector> <inject_variables_keyword_file> <WLSDPLY-19519> <No variables were inserted into the model during variable replacement>
####<Mar 29, 2024 10:21:59 AM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05002> <Performing validation in TOOL mode for WebLogic Server version 14.1.1.0.0 and WLST ONLINE mode>
####<Mar 29, 2024 10:21:59 AM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05003> <Performing model validation on the /git/weblogic/wdt/DiscoveredABDomain.yaml model file>
####<Mar 29, 2024 10:21:59 AM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05005> <Performing archive validation on the /git/weblogic/wdt/DiscoveredABDomain.zip archive file>
####<Mar 29, 2024 10:21:59 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the domainInfo section of the model file>
####<Mar 29, 2024 10:21:59 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the topology section of the model file>
####<Mar 29, 2024 10:21:59 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the resources section of the model file>
####<Mar 29, 2024 10:21:59 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05009> <Model file /git/weblogic/wdt/DiscoveredABDomain.yaml does not contain a resources section, validation of resources was skipped.>
####<Mar 29, 2024 10:21:59 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the appDeployments section of the model file>
####<Mar 29, 2024 10:21:59 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05009> <Model file /git/weblogic/wdt/DiscoveredABDomain.yaml does not contain a appDeployments section, validation of appDeployments was skipped.>
Issue Log for discoverDomain version 3.5.4 running WebLogic version 14.1.1.0.0 online mode:
Total: SEVERE : 0 WARNING : 0
discoverDomain.sh completed successfully (exit code = 0)
Created model
$ cat /git/weblogic/wdt/DiscoveredABDomain.yaml
# This model was created using the WebLogic Deploy Tooling 3.5.4 discoverDomain tool
# running in ONLINE mode against a domain using WebLogic Server 14.1.1.0.0.
#
domainInfo:
AdminUserName: --FIX ME--
AdminPassword: --FIX ME--
topology:
Name: base_domain
Cluster:
ClusterA: {}
ClusterB: {}
Server:
AdminServer:
Machine: machineA
ManagedServerA1:
ListenPort: 7003
Machine: machineA
Cluster: ClusterA
JTAMigratableTarget:
UserPreferredServer: ManagedServerA1
Cluster: ClusterA
ManagedServerA2:
ListenPort: 7004
Machine: machineA
Cluster: ClusterA
JTAMigratableTarget:
UserPreferredServer: ManagedServerA2
Cluster: ClusterA
ManagedServerB1:
ListenPort: 7005
Machine: machineB
Cluster: ClusterB
JTAMigratableTarget:
UserPreferredServer: ManagedServerB1
Cluster: ClusterB
ManagedServerB2:
ListenPort: 7006
Machine: machineB
Cluster: ClusterB
JTAMigratableTarget:
UserPreferredServer: ManagedServerB2
Cluster: ClusterB
MigratableTarget:
ManagedServerA1 (migratable):
Notes: This is a system generated default migratable target for a server.
Do not delete manually.
UserPreferredServer: ManagedServerA1
Cluster: ClusterA
ManagedServerA2 (migratable):
Notes: This is a system generated default migratable target for a server.
Do not delete manually.
UserPreferredServer: ManagedServerA2
Cluster: ClusterA
ManagedServerB1 (migratable):
Notes: This is a system generated default migratable target for a server.
Do not delete manually.
UserPreferredServer: ManagedServerB1
Cluster: ClusterB
ManagedServerB2 (migratable):
Notes: This is a system generated default migratable target for a server.
Do not delete manually.
UserPreferredServer: ManagedServerB2
Cluster: ClusterB
Machine:
machineA: {}
machineB: {}
SecurityConfiguration:
NodeManagerPasswordEncrypted: --FIX ME--
Extract domain
$ ./extractDomainResource.sh -oracle_home /app/weblogic -domain_home /app/weblogic/user_projects/domains/base_domain/ -model_file /git/weblogic/wdt/DiscoveredABDomain.yaml -output_dir /git/weblogic/wdt/resource/k8s -target wko
JDK version is 11.0.22+9-LTS-219
JAVA_HOME = /usr/java/jdk-11
CLASSPATH = /app/weblogic-deploy/lib/weblogic-deploy-core.jar:/app/weblogic/wlserver/server/lib/weblogic.jar
JAVA_PROPERTIES = -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console=
/usr/java/jdk-11/bin/java -cp /app/weblogic-deploy/lib/weblogic-deploy-core.jar:/app/weblogic/wlserver/server/lib/weblogic.jar -Djava.util.logging.config.class=oracle.weblogic.deploy.logging.WLSDeployLoggingConfig -Dpython.cachedir.skip=true -Dpython.console= -Dpython.path=/app/weblogic/wlserver/common/wlst/modules/jython-modules.jar/Lib org.python.util.jython /app/weblogic-deploy/lib/python/extract_resource.py -oracle_home /app/weblogic -domain_home /app/weblogic/user_projects/domains/base_domain/ -model_file /git/weblogic/wdt/DiscoveredABDomain.yaml -output_dir /git/weblogic/wdt/resource/k8s -target wko
####<Mar 29, 2024 10:35:25 AM> <INFO> <WebLogicDeployToolingVersion> <logVersionInfo> <WLSDPLY-01750> <The WebLogic Deploy Tooling extractDomainResource version is 3.5.4:.43d3afb:Mar 14, 2024 11:55 UTC>
####<Mar 29, 2024 10:35:25 AM> <INFO> <WLSDeployLoggingConfig> <logLoggingDirectory> <WLSDPLY-01755> <The extractDomainResource program will write its log to directory /app/weblogic-deploy/logs>
####<Mar 29, 2024 10:35:25 AM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12328> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateRcuSchemasScript section>
####<Mar 29, 2024 10:35:25 AM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12321> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateDomainScript section>
####<Mar 29, 2024 10:35:25 AM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12328> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateRcuSchemasScript section>
####<Mar 29, 2024 10:35:25 AM> <INFO> <DomainTypedef> <__init__> <WLSDPLY-12321> <Domain type WLS type definition file /app/weblogic-deploy/lib/typedefs/WLS.json version WLS_14 does not contain a postCreateDomainScript section>
####<Mar 29, 2024 10:35:25 AM> <INFO> <ModelContext> <__copy_from_args> <WLSDPLY-01050> <WebLogic version for aliases is 14.1.1.0.0>
####<Mar 29, 2024 10:35:26 AM> <INFO> <filter_helper> <apply_filters> <WLSDPLY-20016> <No filters of type extract found in filter configuration file /app/weblogic-deploy/lib/targets/wko/target.json>
####<Mar 29, 2024 10:35:26 AM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05002> <Performing validation in TOOL mode for WebLogic Server version 14.1.1.0.0 and WLST OFFLINE mode>
####<Mar 29, 2024 10:35:26 AM> <INFO> <Validator> <__validate_model_file> <WLSDPLY-05003> <Performing model validation on the /git/weblogic/wdt/DiscoveredABDomain.yaml model file>
####<Mar 29, 2024 10:35:26 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the domainInfo section of the model file>
####<Mar 29, 2024 10:35:26 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the topology section of the model file>
####<Mar 29, 2024 10:35:27 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the resources section of the model file>
####<Mar 29, 2024 10:35:27 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05009> <Model file /git/weblogic/wdt/DiscoveredABDomain.yaml does not contain a resources section, validation of resources was skipped.>
####<Mar 29, 2024 10:35:27 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05008> <Validating the appDeployments section of the model file>
####<Mar 29, 2024 10:35:27 AM> <INFO> <Validator> <__validate_model_section> <WLSDPLY-05009> <Model file /git/weblogic/wdt/DiscoveredABDomain.yaml does not contain a appDeployments section, validation of appDeployments was skipped.>
####<Mar 29, 2024 10:35:27 AM> <INFO> <vz_config_helper> <_create_file> <WLSDPLY-01662> <Creating target configuration file /git/weblogic/wdt/resource/k8s/wko-domain.yaml>
####<Mar 29, 2024 10:35:27 AM> <INFO> <crd_file_updater> <update_from_model> <WLSDPLY-01675> <Updating target output file "/git/weblogic/wdt/resource/k8s/wko-domain.yaml" from the kubernetes section of the model>
Issue Log for extractDomainResource version 3.5.4 running WebLogic version 14.1.1.0.0 offline mode:
Total: SEVERE : 0 WARNING : 0
extractDomainResource.sh completed successfully (exit code = 0)
$ cat /git/weblogic/wdt/resource/k8s/wko-domain.yaml
apiVersion: weblogic.oracle/v8
kind: Domain
metadata:
name: base-domain
namespace: base-domain
labels:
weblogic.domainUID: base-domain
spec:
domainHome: /app/weblogic/user_projects/domains/base_domain/
domainHomeSourceType: FromModel
image: '{{{imageName}}}'
# Add any credential secrets that are required to pull the image
imagePullSecrets: []
webLogicCredentialsSecret:
name: base-domain-weblogic-credentials
serverPod:
env:
- name: JAVA_OPTIONS
value: -Dweblogic.StdoutDebugEnabled=false
- name: USER_MEM_ARGS
value: '-Djava.security.egd=file:/dev/./urandom -Xms64m -Xmx256m '
clusters:
- clusterName: ClusterA
# replicas: 99 # Set a specific replica count for this cluster
serverPod:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: weblogic.clusterName
operator: In
values:
- $(CLUSTER_NAME)
topologyKey: kubernetes.io/hostname
- clusterName: ClusterB
# replicas: 99 # Set a specific replica count for this cluster
serverPod:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: weblogic.clusterName
operator: In
values:
- $(CLUSTER_NAME)
topologyKey: kubernetes.io/hostname
configuration:
istio:
enabled: false
introspectorJobActiveDeadlineSeconds: 900
model:
domainType: WLS
modelHome: '{{{modelHome}}}'
runtimeEncryptionSecret: base-domain-runtime-encryption-secret