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