Bring up load generator (locust) UI (#2)
This commit also changes the way how image is constructed: slash after ${REPO_PREFIX} is dropped because quya.io doesn't support grouped repositories.
This commit is contained in:
parent
d492f30997
commit
32c4429dc3
8 changed files with 49 additions and 48 deletions
|
@ -112,7 +112,7 @@ metadata:
|
|||
service.beta.kubernetes.io/aws-load-balancer-healthcheck-interval: "5"
|
||||
service.beta.kubernetes.io/aws-load-balancer-healthcheck-timeout: "3"
|
||||
service.beta.kubernetes.io/aws-load-balancer-healthcheck-unhealthy-threshold: "2"
|
||||
external-dns.alpha.kubernetes.io/hostname: ${FRONTEND_URL}
|
||||
external-dns.alpha.kubernetes.io/hostname: demo.${DOMAIN}
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
|
|
|
@ -38,6 +38,8 @@ spec:
|
|||
restartPolicy: Always
|
||||
containers:
|
||||
- name: main
|
||||
ports:
|
||||
- containerPort: 8089
|
||||
image: loadgenerator
|
||||
env:
|
||||
- name: FRONTEND_ADDR
|
||||
|
@ -50,4 +52,38 @@ spec:
|
|||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
memory: 512Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: loadgenerator
|
||||
namespace: demo-env
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: loadgenerator
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 8089
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: loadgenerator-external
|
||||
namespace: demo-env
|
||||
annotations:
|
||||
service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
|
||||
service.beta.kubernetes.io/aws-load-balancer-healthcheck-interval: "5"
|
||||
service.beta.kubernetes.io/aws-load-balancer-healthcheck-timeout: "3"
|
||||
service.beta.kubernetes.io/aws-load-balancer-healthcheck-unhealthy-threshold: "2"
|
||||
external-dns.alpha.kubernetes.io/hostname: demo-load.${DOMAIN}
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: loadgenerator
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 8089
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue