Giter Club home page Giter Club logo

k8s-cog's Introduction

Kubernetes Bundle for Cog

Commands

k8s:deploy <cluster> <sha> - (similar to: kubectl apply)
k8s:pods <cluster> - (similar to: kubectl get pods)
k8s:pod <cluster> <pod_name> - (similar to: kubectl describe pod <pod_name>)
k8s:svc <cluster> - (similar to: kubectl get svc)
k8s:pv <cluster> - (similar to: kubectl get pv)
k8s:pvc <cluster> - (similar to: kubectl get pvc)

Configuration

K8S_DEFAULT_CLUSTER=<the default cluster idx when one is not specified>
K8S_CLUSTER_COUNT=<the number of clusters configured>

K8S_CLUSTER_0_NAME=<a friendly name to use to reference the cluster in commands>
K8S_CLUSTER_0_ENDPOINT=<the endpoint of the cluster with protocol, ip and port>
K8S_CLUSTER_0_CA_CERT=<ca cert data, base64 encoded, if the cluster requires an untrusted cert>
K8S_CLUSTER_0_AUTH_TYPE=<username | token | cert>
K8S_CLUSTER_0_USERNAME=<username, when auth_type is set to username>
K8S_CLUSTER_0_PASSWORD=<password, when auth_type is set to username>
K8S_CLUSTER_0_AUTH_TOKEN=<token, when auth_type is set to token>
K8S_CLUSTER_0_CLIENT_CERT=<auth cert, when auth_type is set to cert>
K8S_CLUSTER_0_CLIENT_KEY=<private key, when auth_type is set to cert>
K8S_CLUSTER_0_GITHUB_REPO=<"owner/repo" pointing to public Github repo containing deployment files>
K8S_CLUSTER_0_GITHUB_BRANCH=<name of branch to use when discovering deployment files>

K8S_CLUSTER_1_NAME=<a friendly name to use to reference the cluster in commands>
K8S_CLUSTER_1_ENDPOINT=<the endpoint of the cluster with protocol, ip and port>
K8S_CLUSTER_1_CA_CERT=<ca cert data, base64 encoded, if the cluster requires an untrusted cert>
K8S_CLUSTER_1_AUTH_TYPE=<username | token | cert>
K8S_CLUSTER_1_USERNAME=<username, when auth_type is set to username>
K8S_CLUSTER_1_PASSWORD=<password, when auth_type is set to username>
K8S_CLUSTER_1_AUTH_TOKEN=<token, when auth_type is set to token>
K8S_CLUSTER_1_CLIENT_CERT=<auth cert, when auth_type is set to cert>
K8S_CLUSTER_1_CLIENT_KEY=<private key, when auth_type is set to cert>
K8S_CLUSTER_1_GITHUB_REPO=<"owner/repo" pointing to public Github repo containing deployment files>
K8S_CLUSTER_1_GITHUB_BRANCH=<name of branch to use when discovering deployment files>

Building

Clone this repo and then:

make build

This project is written in TypeScript, targeting Node 7.1.x

k8s-cog's People

Contributors

zhaytee avatar marccampbell avatar

Watchers

Josh Kalderimis avatar  avatar Ethan Mosbaugh avatar James Cloos avatar Dmitriy Ivolgin avatar Grant Miller avatar Andrew Reed avatar Marcus Berglof avatar Andrew Lavery avatar Sloane Smith avatar Kevin Herro avatar Amber Alston avatar  avatar  avatar  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.