daticahealth/datikube

Name: datikube

Owner: Datica

Description: CLI tool for interacting with Datica-managed Kubernetes clusters.

Created: 2018-04-19 22:09:50.0

Updated: 2018-05-23 17:24:07.0

Pushed: 2018-05-23 17:24:09.0

Homepage:

Size: 3367

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

datikube

CLI tool to make interfacing with Datica-managed Kubernetes clusters easy.

Workflow
  1. datikube set-context my-cluster https://my-cluster.example.com:1234/ /path/to/my/ca.pem
  2. Sign in with your Datica credentials.
  3. kubectl --context my-cluster get pods

Datica account sessions expire after 24 hours (kubectl will give an error of “You must be logged in to the server (Unauthorized).” if the token has expired) To get a new token:

  1. datikube refresh
Installation

Follow the instructions on the latest release.

Usage Help
kube --help
Building from source
  1. Install Go (>= 1.9). Make sure$GOBIN and $GOPATH are set.
  2. Install kubectl.
  3. Clone this repo inside of $GOPATH/src/github.com/daticahealth.
  4. go build
  5. ./datikube --help
Handling dependencies

Make sure Dep is installed.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.