service-catalog-cli

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: MIT

README

Service Catalog CLI

CircleCI

This project is a command line interface (CLI) for interacting with Kubernetes Service Catalog resources.

🚨 Our releases follow semver and the project is in alpha status. This means that no assurances are made about backwards compatibility or stability. Before we hit v1.0.0, breaking changes are indicated by bumping the minor version.

The goal of the CLI is to provide an easy user interface for Service Catalog users to inspect and modify the state of the resources in the system.

Install

Bash

curl -sLO https://servicecatalogcli.blob.core.windows.net/cli/latest/$(uname -s)/$(uname -m)/svcat
chmod +x ./svcat
mv ./svcat /usr/local/bin/
svcat --version

Powershell

iwr 'https://servicecatalogcli.blob.core.windows.net/cli/latest/Windows/x86_64/svcat.exe' -UseBasicParsing -OutFile svcat.exe
mkdir -f ~\bin
$env:PATH += ";${pwd}\bin"
svcat --version

The snippet above adds a directory to your PATH for the current session only. You will need to find a permanent location for it and add it to your PATH.

Manual

  1. Download the appropriate binary for your operating system:
  2. Make the binary executable.
  3. Move the binary to a directory on your PATH.

Use

This CLI is called svcat on the command line. See below for a description of the commands that svcat offers.

Commands for ClusterServiceBrokers

To list all the brokers in the cluster:

svcat get brokers

To get the status of an individual broker:

svcat get broker <broker name>

Commands for ClusterServiceClasses

To get a list of all the ClusterServiceClasses in the cluster (i.e. the catalog):

svcat get classes

Commands for ClusterServicePlans

To get a list of all the ClusterServicePlans in the cluster (i.e. the catalog):

svcat get plans

Commands for ServiceInstances

To get a list of all the ServiceInstances in a namespace:

svcat get instances -n <namespace>

Commands for ServiceBindings

To get a list of all the ServiceBindings in a namespace:

svcat get bindings -n <namespace>

Contributing

For details on how to contribute to this project, please see contributing.md.

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Directories

Path Synopsis
cmd
svcat command
pkg

Jump to

Keyboard shortcuts

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