Skip to content

Conversation

@SimonBaeumer
Copy link
Contributor

No description provided.

@@ -0,0 +1,10 @@
alias k="kubectl -n stackrox"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is an implementation detail, I think it would be better not to be so terse.
How about just abbreviating to kcst ?

Comment on lines +3 to +10
alias ksensordelete="k delete pod -l app=sensor"
alias ksensorlogs="k logs -f -lapp=sensor"
alias ksensoryaml="k get pod -lapp=sensor -o yaml"

alias kcentraldelete="k delete pod -l app=central"
alias kcentrallogs="k logs -f -lapp=central"
alias kcentralyaml="k get pod -lapp=central -o yaml"
alias kcentralport="k port-forward svc/central 8000:443"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the other hand, is the k prefix really needed here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants