kubey
v1.1.0
Published
k8 deploys made easy!!!
Downloads
12
Maintainers
Readme
kubey
k8 deploys made easy!!!
Install
yarn global add kubey
Usage
$ npm install -g kubey
$ kubey COMMAND
running command...
$ kubey (-v|--version|version)
kubey/1.1.0 linux-x64 node-v10.8.0
$ kubey --help [COMMAND]
USAGE
$ kubey COMMAND
...
.kubey.json :star:
The .kuby.json file is there to help make deployments even easier.
{
"name":"<your app name>",
"namespace":{
"working":"",
"production":""
},
"context":{
"working":"",
"production":""
}
}
And that is the only configuration you need !!! :tada: :tada: Using the example-project dir as an example, while inside run
kubey deploy ./deploy -e ./.env -w
and all of your deployments and secrets will be deployed to your working cluster described in your .kubey.json !! :zap: :zap: :zap:
Commands
kubey bones [TYPE]
Make a deployment file skeleton
USAGE
$ kubey bones [TYPE]
OPTIONS
-d, --dir=dir Gimmi that dir name!
-h, --help show CLI help
See code: src/commands/bones.ts
kubey deploy [DIR]
Use this command to deploy your kubey..yml files!
USAGE
$ kubey deploy [DIR]
OPTIONS
-d, --dry have a dry run to see if your files are goot!
-e, --env=env Path to an env file
-h, --help show CLI help
-p, --prod Pass this bb in to use the prod versions of your kubey.json
-w, --working Pass this bb in to use the working versions of your kubey.json
See code: src/commands/deploy.ts
kubey help [COMMAND]
display help for kubey
USAGE
$ kubey help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
kubey deploy [DIR]
Use this command to deploy your kubey..yml files!
USAGE
$ kubey deploy [DIR]
OPTIONS
-d, --dry have a dry run to see if your files are goot!
-e, --env=env Path to an env file
-h, --help show CLI help
-p, --prod Pass this bb in to use the prod versions of your .kubey.json
-w, --working Pass this bb in to use the working versions of your .kubey.json
See code: src/commands/deploy.ts