github.phpd.cn/cilium/cilium@v1.6.12/test/k8sT/manifests/bookinfo-v1.yaml (about) 1 # Copyright 2017 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 17 ################################################################################################## 18 apiVersion: v1 19 kind: Service 20 metadata: 21 name: details 22 labels: 23 app: details 24 spec: 25 ports: 26 - port: 9080 27 name: http 28 selector: 29 app: details 30 --- 31 apiVersion: apps/v1 32 kind: Deployment 33 metadata: 34 name: details-v1 35 spec: 36 selector: 37 matchLabels: 38 app: details 39 version: v1 40 track: stable 41 zgroup: bookinfo 42 replicas: 1 43 template: 44 metadata: 45 labels: 46 app: details 47 version: v1 48 track: stable 49 zgroup: bookinfo 50 spec: 51 terminationGracePeriodSeconds: 0 52 containers: 53 - name: details 54 image: docker.io/istio/examples-bookinfo-details-v1:1.6.0 55 imagePullPolicy: IfNotPresent 56 ports: 57 - containerPort: 9080 58 --- 59 ################################################################################################## 60 # Reviews service 61 ################################################################################################## 62 apiVersion: v1 63 kind: Service 64 metadata: 65 name: reviews 66 labels: 67 app: reviews 68 spec: 69 ports: 70 - port: 9080 71 name: http 72 selector: 73 app: reviews 74 --- 75 apiVersion: apps/v1 76 kind: Deployment 77 metadata: 78 name: reviews-v1 79 spec: 80 selector: 81 matchLabels: 82 app: reviews 83 version: v1 84 track: stable 85 zgroup: bookinfo 86 replicas: 1 87 template: 88 metadata: 89 labels: 90 app: reviews 91 version: v1 92 track: stable 93 zgroup: bookinfo 94 spec: 95 terminationGracePeriodSeconds: 0 96 containers: 97 - name: reviews 98 image: docker.io/istio/examples-bookinfo-reviews-v1:1.6.0 99 imagePullPolicy: IfNotPresent 100 ports: 101 - containerPort: 9080 102 --- 103 ################################################################################################## 104 # Productpage service 105 ################################################################################################## 106 apiVersion: v1 107 kind: Service 108 metadata: 109 name: productpage 110 labels: 111 app: productpage 112 spec: 113 ports: 114 - port: 9080 115 name: http 116 selector: 117 app: productpage 118 --- 119 apiVersion: apps/v1 120 kind: Deployment 121 metadata: 122 name: productpage-v1 123 spec: 124 selector: 125 matchLabels: 126 app: productpage 127 version: v1 128 track: stable 129 zgroup: bookinfo 130 replicas: 1 131 template: 132 metadata: 133 labels: 134 app: productpage 135 version: v1 136 track: stable 137 zgroup: bookinfo 138 spec: 139 terminationGracePeriodSeconds: 0 140 containers: 141 # Use v0.2.3 because it still contains 'wget', necessary for tests. 142 - name: productpage 143 image: docker.io/istio/examples-bookinfo-productpage-v1:0.2.3 144 imagePullPolicy: IfNotPresent 145 ports: 146 - containerPort: 9080 147 ---