Skip to content

Commit

Permalink
Update bookinfo samples from maistra/istio 2.6
Browse files Browse the repository at this point in the history
Signed-off-by: yxun <yuanlin.yxu@gmail.com>
  • Loading branch information
yxun committed Jul 9, 2024
1 parent 49044a3 commit 9e7666d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/app/yaml/bookinfo-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
istio: ingressgateway # use istio default controller
servers:
- port:
number: 80
number: 8080
name: http
protocol: HTTP
hosts:
Expand Down
4 changes: 3 additions & 1 deletion pkg/app/yaml/bookinfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ spec:
version: v1
spec:
serviceAccountName: bookinfo-ratings
terminationGracePeriodSeconds: 0 # TODO: remove when ratings honors SIGINT
containers:
- name: ratings
image: {{ image "bookinfo-ratings-v1" }}
Expand Down Expand Up @@ -318,6 +317,9 @@ spec:
template:
metadata:
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9080"
prometheus.io/path: "/metrics"
sidecar.istio.io/inject: "true"
labels:
app: productpage
Expand Down

0 comments on commit 9e7666d

Please sign in to comment.