I use Ubuntu Terminal to manage my work. I have created some aliases that allow me to do the job faster.
$ aka kprod = "kubectl - namespace = hello"
Then use it like this:
$ kprod get pods
One of my main responsibilities is to find out when my application can run in the cloud. That's why I call this code:
$ kprod gets pods | grep APPNAME
But I have to keep it running until it's done. I want to use
see Command to simplify this task. Unfortunately, the clock does not work there
kprod is alias.
$ watch kprod gets pods sh: 1: kprod: not found
- Is this possible to solve this particular problem?
Is it possible to create a more general solution that "translates" the command for the actual expression? For example:
$ kprod gets pods | TRANSLATE
kubectl –namespace = Hello, get pods
what it works with
see and another application?