Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Remove load generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj Poddar committed Jul 19, 2020
1 parent 7e1725e commit 13389f1
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions section_1/online-boutique-manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -455,39 +455,39 @@ spec:
port: 7070
targetPort: 7070
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: loadgenerator
spec:
selector:
matchLabels:
app: loadgenerator
replicas: 1
template:
metadata:
labels:
app: loadgenerator
annotations:
sidecar.istio.io/rewriteAppHTTPProbers: "true"
spec:
terminationGracePeriodSeconds: 5
restartPolicy: Always
containers:
- name: main
image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.2.0
env:
- name: FRONTEND_ADDR
value: "frontend:80"
- name: USERS
value: "10"
resources:
requests:
cpu: 300m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
#apiVersion: apps/v1
#kind: Deployment
#metadata:
# name: loadgenerator
#spec:
# selector:
# matchLabels:
# app: loadgenerator
# replicas: 1
# template:
# metadata:
# labels:
# app: loadgenerator
# annotations:
# sidecar.istio.io/rewriteAppHTTPProbers: "true"
# spec:
# terminationGracePeriodSeconds: 5
# restartPolicy: Always
# containers:
# - name: main
# image: gcr.io/google-samples/microservices-demo/loadgenerator:v0.2.0
# env:
# - name: FRONTEND_ADDR
# value: "frontend:80"
# - name: USERS
# value: "10"
# resources:
# requests:
# cpu: 300m
# memory: 256Mi
# limits:
# cpu: 500m
# memory: 512Mi
---
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit 13389f1

Please sign in to comment.