github.com/dmaizel/tests@v0.0.0-20210728163746-cae6a2d9cee8/metrics/network/iperf3_kubernetes/runtimeclass_workloads/iperf3-daemonset.yaml (about)

     1  #
     2  # Copyright (c) 2021 Intel Corporation
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  apiVersion: apps/v1
     7  kind: DaemonSet
     8  metadata:
     9    name: iperf3-clients
    10    labels:
    11      app: iperf3-client
    12  spec:
    13    selector:
    14      matchLabels:
    15        app: iperf3-client
    16    template:
    17      metadata:
    18        labels:
    19          app: iperf3-client
    20      spec:
    21        tolerations:
    22          - key: node-role.kubernetes.io/master
    23            operator: Exists
    24            effect: NoSchedule
    25        containers:
    26        - name: iperf3-client
    27          image: networkstatic/iperf3
    28          command: ['/bin/sh', '-c', 'sleep infinity']
    29        terminationGracePeriodSeconds: 0