mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-08 20:29:11 +00:00
metrics: Add iperf3 daemonset for k8s
This PR adds the iperf3 daemonset for k8s. Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#
|
||||
# Copyright (c) 2021-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: iperf3-clients
|
||||
labels:
|
||||
app: iperf3-client
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: iperf3-client
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: iperf3-client
|
||||
spec:
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/master
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
containers:
|
||||
- name: iperf3-client
|
||||
image: networkstatic/iperf3
|
||||
command: ['/bin/sh', '-c', 'sleep infinity']
|
||||
terminationGracePeriodSeconds: 0
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2021 Intel Corporation
|
||||
# Copyright (c) 2021-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
Reference in New Issue
Block a user