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