Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
t-katsumura committed Mar 18, 2024
1 parent 01c7892 commit 24606e4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Publish Docker image

on:
push:
branches:
- "main"
tags:
- '*'

jobs:
push_to_registry:
Expand All @@ -21,13 +21,12 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: tomopiro/netperf:latest
labels: netperf,iperf,iperf2,iperf3
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x
tags: tomopiro/netperf:latest,tomopiro/netperf:${GITHUB_REF##*/}
labels: netperf,iperf,iperf2,iperf3,ubuntu
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM ubuntu:24.04

RUN apt-get update && apt-get install -y \
vim \
curl \
iperf \
iperf3 \
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# k8s-network-performance

This project provides some containers for network performance tests.
This project provides a container for network performance tests.

Supported tools are
The container is available at [DockerHub](https://hub.docker.com/r/tomopiro/netperf).

Installed tools are

- [**iperf2**](https://sourceforge.net/projects/iperf2/)
- [**iperf3**](https://github.com/esnet/iperf)
- [**netperf**](https://github.com/HewlettPackard/netperf)

and curl, vim as utils.

Note that the iperf2 and iperf3 are not compatible.
See the [Iperf 2 & Iperf 3 Comparison Table](https://iperf2.sourceforge.io/IperfCompare.html).

Expand Down

0 comments on commit 24606e4

Please sign in to comment.