Skip to content

Commit ee88e28

Browse files
Merge pull request ivankatliarchuk#49 from ivankatliarchuk/chore/added
chore: go aliases and kubectl health checks
2 parents 569a408 + edce2b3 commit ee88e28

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

shell/aliase/kube

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ else
1515
: # do nothing as we may switch to context an there is no need to realod
1616
fi
1717

18+
## Health
19+
alias k.h='kubectl get cs'
20+
alias k.health="kubectl get --raw='/readyz?verbose"
21+
1822
## Nodes
1923
# sort nodes by timestamp
2024
alias k.nstamp='kubectl get nodes --sort-by=.metadata.creationTimestamp'

shell/aliases

+8
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,14 @@ alias g.pl=gpull
297297
alias g.t='_gtag'
298298
alias g.tremove='git-remove-tag' # + tag id
299299

300+
301+
## Golang
302+
alias go.get='go get ./...; go get -t ./...'
303+
alias go.clean='go mod verify && go mod tidy -mod=mod'
304+
alias go.getall='go get -u -v -f all'
305+
306+
## FZF
307+
300308
alias fgit=_gt
301309
alias fgitdif=_gdif
302310
alias fgitbranch=_gbranch

0 commit comments

Comments
 (0)