Giter Club home page Giter Club logo

k's Introduction

k

k is the CLI tool used to interact with the Reclaim the Stack platform. It wraps kubectl and some other CLI tools and interfaces with configured ArgoCD gitops repos.

Installation

Note: A recent version of ruby is recommended to run k. You may get away with the MacOS default Ruby installation but there are probably commands which won't work correctly. We recommend a version manager such as rbenv to install and use the latest Ruby version. Once things stabilize we'll likely package k with a pre-baked Ruby runtime to avoid the dependency.

Via Homebrew

brew install --HEAD reclaim-the-stack/tap/k

Without Homebrew

Install the dependencies: kubectl

Then download the latest k release package and put it in your PATH.

Configuration

The first step when using k will be to configure a "context". A context is a combination of:

  1. A GitHub repository containing ArgoCD platform and applications manifests
  2. A Kubernetes cluster (ie. a locally configured kubectl context)
  3. A Docker registry + namespace containing Docker images to be deployed as applications

Run k contexts:add <github-gitops-url> to add your first context.

Note that k stores all its configuration in YAML at ~/.k/config. Feel free to inspect this file and make changes by hand if you so desire.

Usage

Run k to get a list of commands.

We don't provide any rigorous documentation as of yet. If you've used the Heroku CLI tool a lot of things will seem familiar. Feel free to explore the available commands and provide feedback if something is hard to understand or broken.

k's People

Contributors

dbackeus avatar scart88 avatar joakimk 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.