GithubHelp home page GithubHelp logo

step-kubectl's Introduction

kubectl

This step vendors the kubectl executable, and allows the user to execute a command. Most options are passed along to the kubectl executable as is.

Options:

  • debug (optional, default: false) List the kubectl before running it. Warning, all environment variables are expanded, including the password.
  • cmd (optional) The kubectl command which needs to be run.
  • raw-global-args (optional) Arguments that are placed before cmd.
  • raw-args (optional) Arguments that are placed after cmd.

Kubectl flags

The following options are available as wercker properties. The values are passed directly to the kubectl command. See the kubectl for the documentation.

  • all
  • current-replicas
  • deployment-label-key
  • file
  • grace-period
  • image
  • insecure-skip-tls-verify
  • interactive
  • output
  • overwrite
  • password
  • patch
  • pod
  • poll-interval
  • replicas
  • resource-version
  • rollback
  • selector
  • server
  • stdin
  • template
  • timeout
  • token
  • tty
  • update-period
  • username

If a flag is not available, use the raw-global-args or the raw-args option.

Example

deploy:
    steps:
      - kubectl:
          server: $KUBERNETES_MASTER
          username: $KUBERNETES_USERNAME
          password: $KUBERNETES_PASSWORD
          insecure-skip-tls-verify: true
          command: create -f cities-controller.json

License

The MIT License (MIT)

Changelog

3.15.0

  • Update to kubectl version 1.16.0

3.14.0

  • Update to kubectl version 1.15.0

3.9.0

  • Update to kubectl to version 1.10.5

3.5.0

  • Update to kubectl to version 1.7.6

3.4.0

  • Update to kubectl to version 1.6.2

3.3.0

  • Update to kubectl to version 1.5.3

3.2.0-kube1.5.2

  • Update to kubectl to version 1.5.2

3.1.0

  • Update to kubectl to version 1.4.4

3.0.0

  • Update to kubectl to version 1.3.4

2.1.0

  • Add certificate-authority, client-certificate, client-key

2.0.0

  • Update to kubectl to version 1.2.0

1.1.0

  • Update to kubectl to version 1.1.3

1.0.0

  • Initial release

step-kubectl's People

Contributors

alexkappa avatar cescoferraro avatar faiq avatar flenter avatar gilbode avatar hatchan avatar maikumori avatar metral avatar nhumrich avatar sekka1 avatar termie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.