rancher-kontainer-engine

command module
v0.0.1-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

README

netes-machine

A tool like docker-machine to provision kubernetes cluster for different cloud providers

Building

make

Usage

netes-machine create --driver $driverName [OPTIONS] cluster-name

netes-machine inspect cluster-name

netes-machine ls

netes-machine update [OPTIONS] cluster-name

netes-machine rm cluster-name

To see what driver create options it has , run netes-machine create --driver $driverName --help

To see what update options for a cluster , run netes-machine update --help cluster-ame

A serviceAccountToken which binds to the clusterAdmin is automatically created for you, to see what it is, run netes-machine inspect clusterName

The current supported driver is gke(https://cloud.google.com/container-engine/)

Before running gke driver, make sure you have the credential. To get the credential, you can run any of the steps below

gcloud auth login or

export GOOGLE_APPLICATION_CREDENTIALS=$HOME/gce-credentials.json or

netes-machine create --driver gke --gke-credential-path /path/to/credential cluster-name

Running

./bin/netes-machine

License

Copyright (c) 2014-2016 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package generic_driver is a generated protocol buffer package.
Package generic_driver is a generated protocol buffer package.
gke

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL