github.com/verrazzano/verrazzano@v1.7.0/application-operator/testdata/templates/wls_domain.yaml (about)

     1  # Copyright (C) 2020, 2022, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  apiVersion: weblogic.oracle/v8
     4  kind: Domain
     5  metadata:
     6    annotations:
     7      app.oam.dev/generation: "1"
     8      description: ToDo example
     9      kubectl.kubernetes.io/last-applied-configuration: |
    10        {"apiVersion":"core.oam.dev/v1alpha2","kind":"ApplicationConfiguration","metadata":{"annotations":{"description":"ToDo example","version":"v1.0.0"},"name":"todo","namespace":"todo"},"spec":{"components":[{"componentName":"todo-wls","traits":[{"trait":{"apiVersion":"oam.verrazzano.io/v1alpha1","kind":"MetricsTrait"}},{"trait":{"apiVersion":"oam.verrazzano.io/v1alpha1","kind":"IngressTrait","spec":{"rules":[{"hosts":["*"],"paths":[{"path":"/todo","pathType":"Prefix"}]}]}}}]}]}}
    11      version: v1.0.0
    12    creationTimestamp: "2020-12-07T16:55:53Z"
    13    generation: 2
    14    labels:
    15      app.oam.dev/component: ##OAM_COMP_NAME##
    16      app.oam.dev/name: ##OAM_APP_NAME##
    17      app.oam.dev/resourceType: WORKLOAD
    18      app.oam.dev/revision: ##DOMAIN_NAME##-wls-v1
    19      weblogic.domainUID: ##DOMAIN_NAME##
    20      weblogic.resourceVersion: domain-v8
    21    name: ##DOMAIN_NAME##
    22    namespace: ##DOMAIN_NAMESPACE##
    23    ownerReferences:
    24      - apiVersion: core.oam.dev/v1alpha2
    25        blockOwnerDeletion: true
    26        controller: true
    27        kind: ApplicationConfiguration
    28        name: todo
    29        uid: e0fa6696-7709-40ee-b91f-8fd4dc918bd6
    30    resourceVersion: "6806316"
    31    selfLink: /apis/weblogic.oracle/v8/namespaces/todo/domains/todo
    32    uid: 8b7c0b2c-62bc-46b1-9ba6-b842d7dd7c4c
    33  spec:
    34    clusters:
    35      - clusterName: cluster-1
    36    configuration:
    37      introspectorJobActiveDeadlineSeconds: 600
    38      model:
    39        domainType: WLS
    40        runtimeEncryptionSecret: ##DOMAIN_NAME##domain-runtime-encrypt-secret
    41      secrets:
    42        - tododomain-jdbc-tododb
    43    domainHome: /u01/oracle/user_projects/domains/tododomain
    44    domainHomeSourceType: FromModel
    45    domainUID: tododomain
    46    image: fake-image
    47    imagePullSecrets:
    48      - name: ocir
    49    includeServerOutInPodLog: true
    50    logHome: /scratch/logs/tododomain
    51    logHomeEnabled: false
    52    replicas: 1
    53    serverPod:
    54      annotations:
    55        verrazzano.io_metricsTraitAnno: test-trait-anno-1
    56      env:
    57        - name: JAVA_OPTIONS
    58          value: -Dweblogic.StdoutDebugEnabled=false
    59        - name: USER_MEM_ARGS
    60          value: '-Djava.security.egd=file:/dev/./urandom -Xms64m -Xmx256m '
    61        - name: WL_HOME
    62          value: /u01/oracle/wlserver
    63        - name: MW_HOME
    64          value: /u01/oracle
    65      labels:
    66        verrazzano.io_metricsTraitLabel: test-trait-label-1
    67    webLogicCredentialsSecret:
    68      name: tododomain-weblogic-credentials
    69  status:
    70    clusters:
    71      - clusterName: cluster-1
    72        maximumReplicas: 5
    73        minimumReplicas: 0
    74        readyReplicas: 1
    75        replicas: 1
    76        replicasGoal: 1
    77    conditions:
    78      - lastTransitionTime: "2020-12-07T17:18:29.631Z"
    79        reason: ServersReady
    80        status: "True"
    81        type: Available
    82    introspectJobFailureCount: 0
    83    replicas: 1
    84    servers:
    85      - desiredState: RUNNING
    86        health:
    87          activationTime: "2020-12-07T17:11:12.293Z"
    88          overallHealth: ok
    89          subsystems:
    90            - subsystemName: ServerRuntime
    91              symptoms: []
    92        nodeName: 10.11.12.13
    93        serverName: AdminServer
    94        state: RUNNING
    95      - clusterName: cluster-1
    96        desiredState: RUNNING
    97        health:
    98          activationTime: "2020-12-07T17:18:07.842Z"
    99          overallHealth: ok
   100          subsystems:
   101            - subsystemName: ServerRuntime
   102              symptoms: []
   103        nodeName: 10.11.12.13
   104        serverName: managed-server1
   105        state: RUNNING
   106      - clusterName: cluster-1
   107        desiredState: SHUTDOWN
   108        serverName: managed-server2
   109      - clusterName: cluster-1
   110        desiredState: SHUTDOWN
   111        serverName: managed-server3
   112      - clusterName: cluster-1
   113        desiredState: SHUTDOWN
   114        serverName: managed-server4
   115      - clusterName: cluster-1
   116        desiredState: SHUTDOWN
   117        serverName: managed-server5
   118    startTime: "2020-12-07T16:55:53.254Z"