kubemngr

command module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

README

kubemngr

Releases License Travis

Introduction

kubemngr is a cli tool to manage kubectl binaries for developers who work with different versions of Kubernetes clusters within their environments. This way the developer can keep in sync with the kubernetes cluster version. This tool was written in Golang using Cobra

99% of the case - developers will not have a problem using kubectl across different versions of k8s clusters with api requests for getting pods, ingress and services etc. However, there is the small chance that some requests will return with:

> kubectl describe ing <name>
Error from server (NotFound): the server could not find the requested resource

This tool was written based on this experience and for learning opportunities/experiences.

Install

via Go:

go get -u github.com/zee-ahmed/kubemngr

It can also be installed by downloading the binary from the Github release page Github Releases

Usage

> kubemngr --help
This tool is to help developers run different versions of kubectl within their workspace and to support working
with different versions of Kubernetes clusters.

Usage:
  kubemngr [command]

Available Commands:
  help        Help about any command
  install     A tool manage different kubectl versions inside a workspace.
  list        List installed kubectl binary versions. For available versions, see --remote
  remove      Remove a kubectl version from machine
  use         Use a specific version of one of the downloaded kubectl binaries
  version     Show the kubemngr client version

Flags:
  -h, --help     help for kubemngr
  -t, --toggle   Help message for toggle

Use "kubemngr [command] --help" for more information about a command.

Contributing

Please raise an issue or pull request if you have any issues, questions or features.

Documentation

Overview

Copyright © 2019 Zee Ahmed <zee@simplyzee.dev>

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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