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