kubey
k8 deploys made easy!!!
Last updated a year ago by williamlfish .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install kubey 
SYNC missed versions from official npm registry.

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.<name>.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.<name>.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

Current Tags

  • 1.1.0                                ...           latest (a year ago)

7 Versions

  • 1.1.0                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 0
Last Month 1
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |