istio.io/istio@v0.0.0-20240520182934-d79c90f27776/samples/bookinfo/platform/kube/bookinfo-details-v2.yaml (about)

     1  # Copyright Istio Authors
     2  #
     3  #   Licensed under the Apache License, Version 2.0 (the "License");
     4  #   you may not use this file except in compliance with the License.
     5  #   You may obtain a copy of the License at
     6  #
     7  #       http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  #   Unless required by applicable law or agreed to in writing, software
    10  #   distributed under the License is distributed on an "AS IS" BASIS,
    11  #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  #   See the License for the specific language governing permissions and
    13  #   limitations under the License.
    14  
    15  ##################################################################################################
    16  # Details service v2
    17  ##################################################################################################
    18  apiVersion: apps/v1
    19  kind: Deployment
    20  metadata:
    21    name: details-v2
    22    labels:
    23      app: details
    24      version: v2
    25  spec:
    26    replicas: 1
    27    selector:
    28      matchLabels:
    29        app: details
    30        version: v2
    31    template:
    32      metadata:
    33        labels:
    34          app: details
    35          version: v2
    36      spec:
    37        containers:
    38        - name: details
    39          image: docker.io/istio/examples-bookinfo-details-v2:1.19.1
    40          imagePullPolicy: IfNotPresent
    41          ports:
    42          - containerPort: 9080
    43          env:
    44          - name: DO_NOT_ENCRYPT
    45            value: "true"
    46  ---