Skip to content

Commit

Permalink
updated README and added better description, fixed auto set version
Browse files Browse the repository at this point in the history
  • Loading branch information
NimbleArchitect committed Mar 3, 2022
1 parent 79f8732 commit 44feabd
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update new version in krew-index
uses: rajatjindal/krew-release-bot@v0.0.38
# - name: Update new version in krew-index
# uses: rajatjindal/krew-release-bot@v0.0.38
10 changes: 5 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
project_name: ice
project_name: kubectl-ice
release:
github:
owner: NimbleArchitect
name: kubectl-ice
builds:
- id: ice
- id: kubectl-ice
goos:
- linux
- windows
Expand All @@ -18,11 +18,11 @@ builds:
- GO111MODULE=on
main: cmd/plugin/main.go
ldflags: -s -w
-X github.com/NimbleArchitect/kubectl-ice/cmd/plugin/cli.version=
-X github.com/NimbleArchitect/kubectl-ice/cmd/plugin/cli.version={{ .Version }}
archives:
- id: ice
- id: kubectl-ice
builds:
- ice
- kubectl-ice
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# kubectl-ice

This plugin shows useful information about the containers inside a pod useful for trouble shooting container issues

With ice you can peer inside a pod and easily see volume, image, port and exec configurations, along with cpu and memory metrics all at the container level (requires metrics server)

supports all the standard kubectl flags including:

Flags:
-A, --all-namespaces list containers form pods in all namespaces
--context string The name of the kubeconfig context to use
-n, --namespace string If present, the namespace scope for this CLI request
-l, --selector string Selector (label query) to filter on

# Installation

## From binary
Expand Down
20 changes: 11 additions & 9 deletions release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: ice
name: kubectl-ice
spec:
version: "v0.1.0"
platforms:
Expand All @@ -12,36 +12,36 @@ spec:
uri: https://github.com/NimbleArchitect/kubectl-ice/releases/download/v0.1.0/ice_linux_amd64.tar.gz
sha256: ""
files:
- from: "./ice"
- from: "./kubectl-ice"
to: "."
- from: LICENSE
to: "."
bin: "ice"
bin: "kubectl-ice"
- selector:
matchLabels:
os: darwin
arch: amd64
uri: https://github.com/NimbleArchitect/kubectl-ice/releases/download/v0.1.0/ice_darwin_amd64.tar.gz
sha256: ""
files:
- from: "./ice"
- from: "./kubectl-ice"
to: "."
- from: LICENSE
to: "."
bin: "ice"
bin: "kubectl-ice"
- selector:
matchLabels:
os: windows
arch: amd64
uri: https://github.com/NimbleArchitect/kubectl-ice/releases/download/v0.1.0/ice_windows_amd64.zip
sha256: ""
files:
- from: "/ice.exe"
- from: "/kubectl-ice.exe"
to: "."
- from: LICENSE
to: "."
bin: "ice.exe"
shortDescription: A new plugin
bin: "kubectl-ice.exe"
shortDescription: ice lets you view configuration settings of containers inside pods.
homepage: https://github.com/NimbleArchitect/kubectl-ice
caveats: |
Usage:
Expand All @@ -52,4 +52,6 @@ spec:
or https://github.com/NimbleArchitect/kubectl-ice/blob/v0.1.0/doc/USAGE.md
description: |
ice lets you view configuration settings of containers inside pods.
With ice you can peer inside a pod and easily see volume, image, port and exec configurations,
along with cpu and memory metrics all at the container level (requires metrics server)

0 comments on commit 44feabd

Please sign in to comment.