Discover Packages
github.com/daticahealth/datikube
command
module
Version:
v0.0.0-...-6694955
Opens a new window with list of versions in this module.
Published: Mar 29, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
datikube
CLI tool to make interfacing with Datica -managed Kubernetes clusters easy.
Workflow
Required inputs:
Context name: We strongly recommend using the provided cluster name for your context. This will be similar to "yourorg-stg-01"
Kubernetes API Server Load Balancer URL: This is provided by Datica when we hand off your cluster.
Cluster Certificate Authority: This file is provided by Datica when we hand off your cluster.
datikube set-context yourorg-stg-01 https://yourorg-stg-01-apiserver-abc123.example.com/ /path/to/my/ca.pem
Sign in with your Datica credentials.
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:
datikube refresh
Installation
Follow the instructions on the latest release .
Usage Help
datikube --help
Building from source
Install Go (>= 1.9). Make sure$GOBIN
and $GOPATH
are set.
Install kubectl .
Clone this repo inside of $GOPATH/src/github.com/daticahealth
.
go build
./datikube --help
Handling dependencies
Make sure Dep is installed.
Add: dep ensure -add github.com/whoever/whatever
Update: dep ensure -update github.com/whoever/whatever
Update all: dep ensure -update
(please don't run this unless you absolutely have to )
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.