github.com/verrazzano/verrazzano@v1.7.1/tests/e2e/upgrade/pre-upgrade/metricsbinding/testdata/hello-helidon-deployment.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: apps/v1
     5  kind: Deployment
     6  metadata:
     7    name: hello-helidon-deployment
     8    annotations:
     9      app.verrazzano.io/metrics: custom-k8s-metrics-template
    10  spec:
    11    selector:
    12      matchLabels:
    13        app: hello-helidon-application
    14    replicas: 1
    15    template:
    16      metadata:
    17        labels:
    18          app: hello-helidon-application
    19      spec:
    20        containers:
    21        - name: hello-helidon-container
    22          image: ghcr.io/verrazzano/example-helidon-greet-app-v1:1.0.0-1-20210728181814-eb1e622
    23          imagePullPolicy: IfNotPresent
    24          ports:
    25          - name: web
    26            containerPort: 8080
    27            protocol: TCP
    28  ---
    29  apiVersion: v1
    30  kind: Service
    31  metadata:
    32    name: hello-helidon-service
    33    labels:
    34      app: hello-helidon-application
    35  spec:
    36    type: ClusterIP
    37    ports:
    38    - port: 8080
    39    selector:
    40      app: hello-helidon-application