istio.io/istio@v0.0.0-20240520182934-d79c90f27776/samples/ambient-argo/application/ratings.yaml (about)

     1  ##################################################################################################
     2  # Ratings service
     3  ##################################################################################################
     4  apiVersion: v1
     5  kind: Service
     6  metadata:
     7    name: ratings
     8    labels:
     9      app: ratings
    10      service: ratings
    11  spec:
    12    ports:
    13    - port: 9080
    14      name: http
    15    selector:
    16      app: ratings
    17  ---
    18  apiVersion: v1
    19  kind: ServiceAccount
    20  metadata:
    21    name: bookinfo-ratings
    22    labels:
    23      account: ratings
    24  ---
    25  apiVersion: apps/v1
    26  kind: Deployment
    27  metadata:
    28    name: ratings-v1
    29    labels:
    30      app: ratings
    31      version: v1
    32  spec:
    33    replicas: 1
    34    selector:
    35      matchLabels:
    36        app: ratings
    37        version: v1
    38    template:
    39      metadata:
    40        labels:
    41          app: ratings
    42          version: v1
    43      spec:
    44        serviceAccountName: bookinfo-ratings
    45        containers:
    46        - name: ratings
    47          image: docker.io/istio/examples-bookinfo-ratings-v1:1.18.0
    48          imagePullPolicy: IfNotPresent
    49          ports:
    50          - containerPort: 9080