apiVersion: v1
kind: ReplicationController
metadata:
  name: vegeta
spec:
  template:
    metadata:
      labels:
        run: vegeta
    spec:
      containers:
      - name: vegeta
        image: gcr.io/google_containers/loader:0.5
        resources:
          requests:
            cpu: 100m
        command:
          - /loader
          - -host=nginx
          - -rate=1000
          - -address=:8080
          - -workers=10
          - -duration=1s
      dnsPolicy: ClusterFirst
