daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest May 16th, 2018 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: batch/v1
  2. kind: Job
  3. metadata:
  4.   name: sgstest-locustmaster
  5.   labels:
  6.     app: sgstest_locustmaster
  7. spec:
  8.   template:
  9.     spec:
  10.       containers:
  11.       - name: sgstest-locustmaster
  12.         image: docker.sendgrid.net/sendgrid/sgstest_locustmaster
  13.       restartPolicy: Never
  14. ---
  15. apiVersion: v1
  16. kind: Service
  17. metadata:
  18.   name: sgstest-locustmaster-service
  19. spec:
  20.   selector:
  21.     app: sgstest_locustmaster
  22.   ports:
  23.   - name: locust
  24.     protocol: TCP
  25.     port: 5557
  26.     targetPort: 5557
  27.   - name: locust-alt
  28.     protocol: TCP
  29.     port: 5558
  30.     targetPort: 5558
  31. ---
  32. apiVersion: batch/v1
  33. kind: Job
  34. metadata:
  35.   name: sgstest-locustslave
  36.   labels:
  37.     app: sgstest_locustslave
  38. spec:
  39.   template:
  40.     spec:
  41.       containers:
  42.       - name: sgstest-locustslave
  43.         image: docker.sendgrid.net/sendgrid/sgstest_locustslave
  44.       restartPolicy: Never
RAW Paste Data
Top