github.com/verrazzano/verrazzano@v1.7.1/tests/testdata/test-applications/coherence/hello-coherence/hello-coherence-comp.yaml (about)

     1  # Copyright (c) 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  
     4  apiVersion: core.oam.dev/v1alpha2
     5  kind: Component
     6  metadata:
     7    name: hello-coherence
     8  spec:
     9    workload:
    10      apiVersion: oam.verrazzano.io/v1alpha1
    11      kind: VerrazzanoCoherenceWorkload
    12      spec:
    13        template:
    14          metadata:
    15            name: hello-coh
    16          spec:
    17            labels:
    18              app: hello-coh
    19              version: v1
    20            cluster: HelloCoherence
    21            role: HelloCoherenceRole
    22            replicas: 1
    23            image: ghcr.io/oracle/coherence-helidon-sockshop-catalog:1.2.2
    24            imagePullPolicy: IfNotPresent
    25            application:
    26              type: helidon
    27            jvm:
    28              memory:
    29                heapSize: 2g
    30            coherence:
    31              logLevel: 9
    32              metrics:
    33                enabled: true
    34            ports:
    35              - name: metrics
    36                port: 9612
    37                serviceMonitor:
    38                  enabled: true
    39              - name: http
    40                port: 7001
    41                service:
    42                  port: 7001
    43                serviceMonitor:
    44                  enabled: true