diff --git a/.github/workflows/publish-cli.yml b/.github/workflows/publish-cli.yml index d71b49a19..b9e814931 100644 --- a/.github/workflows/publish-cli.yml +++ b/.github/workflows/publish-cli.yml @@ -4,7 +4,6 @@ on: branches: - develop - main - - my-temp-release-check jobs: docker: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 502fcde99..0c7e586c0 100644 --- a/README.md +++ b/README.md @@ -32,16 +32,35 @@ Pick one from the [Releases](https://github.com/up9inc/mizu/releases) page. ## Examples +Run `mizu help` for usage options + + To tap specific pod - ``` - $ kubectl get pods | grep front-end + $ kubectl get pods NAME READY STATUS RESTARTS AGE front-end-649fc5fd6-kqbtn 2/2 Running 0 7m + .. + $ mizu tap front-end-649fc5fd6-kqbtn +front-end-649fc5fd6-kqbtn Web interface is now available at http://localhost:8899 ^C ``` +To tap multiple pods using regex - +``` + $ kubectl get pods + NAME READY STATUS RESTARTS AGE + carts-66c77f5fbb-fq65r 2/2 Running 0 20m + catalogue-5f4cb7cf5-7zrmn 2/2 Running 0 20m + front-end-649fc5fd6-kqbtn 2/2 Running 0 20m + .. + $ mizu tap "^ca.*" + +carts-66c77f5fbb-fq65r + +catalogue-5f4cb7cf5-7zrmn + Web interface is now available at http://localhost:8899 + ^C +``` diff --git a/cli/Makefile b/cli/Makefile index 3dd9f043a..ef97249c7 100644 --- a/cli/Makefile +++ b/cli/Makefile @@ -29,7 +29,7 @@ build-all: ## build for all supported platforms @# $(MAKE) GOOS=windows GOARCH=amd64 @# $(MAKE) GOOS=linux GOARCH=386 @# $(MAKE) GOOS=windows GOARCH=386 - @# $(MAKE) GOOS=darwin GOARCH=arm64 + @$(MAKE) GOOS=darwin GOARCH=arm64 @# $(MAKE) GOOS=linux GOARCH=arm64 @# $(MAKE) GOOS=windows GOARCH=arm64 @echo "---------"