Kodo is a command line interface to build and deploy applications on Openshift.
git clone https://github.com/cli-playground/kodo.git
cd kodo
go build -o bin/kodo main.go
git checkout -b feature/fooBar
)git commit -am 'Add some fooBar'
)git push origin feature/fooBar
)Before running commands, Set Path to $HOME/kodo/bin/.
count : Command to count resources like pods running on cluster\
kodo count <resources>
\
For example, kodo count pods --server=<server url> --token=<token>
will output count of running pods of a given cluster.
deploy : Command to deploy an image \
kodo deploy --image=<image> --replicas=<no of replicas> --port=<port number> --token=<token> --server=<cluster url> --namespace=<namespace>
build: Command to create new BuildConfig and ImageStream from Dockerfile in github repo \
kodo build --source=<github url> --namespace=<namespace> --token=<Token>--server=<cluster url>
help: Command to help user to list all available commands and flags\
kodo help
version : Command to check current version \
kodo version