From 9a7b85d86765a03548db14f78dc275a7e96542f5 Mon Sep 17 00:00:00 2001 From: duyhenryer Date: Fri, 26 Jan 2024 15:51:50 +0700 Subject: [PATCH] Add README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6e19cd2..bb0e693 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Nettools to debugs. Container image with network tools for troubleshooting Kuber - To check some networking issues in a cluster: ```sh -kubectl run -it --image=ghcr.io/duyhenryer/nettools:1.0.0 nettools --restart=Never -n default +kubectl run -it --image=ghcr.io/duyhenryer/nettools:2.0.0 nettools --restart=Never -n default ``` - Pod template example: @@ -17,7 +17,7 @@ metadata: spec: containers: - name: nettools - image: ghcr.io/duyhenryer/nettools:1.0.0 + image: ghcr.io/duyhenryer/nettools:2.0.0 command: ["/bin/sleep", "infinity"] imagePullPolicy: IfNotPresent restartPolicy: Never @@ -41,7 +41,7 @@ spec: spec: containers: - name: nettools - image: ghcr.io/duyhenryer/nettools:1.0.0 + image: ghcr.io/duyhenryer/nettools:2.0.0 command: ["/bin/sleep", "infinity"] imagePullPolicy: IfNotPresent ``` @@ -58,5 +58,5 @@ kubectl exec -it nettools -n default bash - If you just want to use the network tools on a docker host: ```sh -docker run -it ghcr.io/duyhenryer/nettools:1.0.0 sh +docker run -it ghcr.io/duyhenryer/nettools:2.0.0 sh ``` \ No newline at end of file