Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: batch/v1
- kind: Job
- metadata:
- name: sgstest-locustmaster
- labels:
- app: sgstest_locustmaster
- spec:
- template:
- spec:
- containers:
- - name: sgstest-locustmaster
- image: docker.sendgrid.net/sendgrid/sgstest_locustmaster
- restartPolicy: Never
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: sgstest-locustmaster-service
- spec:
- selector:
- app: sgstest_locustmaster
- ports:
- - name: locust
- protocol: TCP
- port: 5557
- targetPort: 5557
- - name: locust-alt
- protocol: TCP
- port: 5558
- targetPort: 5558
- ---
- apiVersion: batch/v1
- kind: Job
- metadata:
- name: sgstest-locustslave
- labels:
- app: sgstest_locustslave
- spec:
- template:
- spec:
- containers:
- - name: sgstest-locustslave
- image: docker.sendgrid.net/sendgrid/sgstest_locustslave
- restartPolicy: Never
Add Comment
Please, Sign In to add comment