Service Catalog is an extension API that enables applications running in Kubernetes clusters to easily use external managed software offerings, such as a datastore service offered by a cloud provider.
It provides a way to list, provision, and bind with external Managed ServicesA software offering maintained by a third-party provider. from Service BrokersAn endpoint for a set of Managed Services offered and maintained by a third-party. without needing detailed knowledge about how those services are created or managed.
Use the Service Catalog Installer tool to easily install or uninstall Service Catalog on your Kubernetes cluster. This CLI tool is installed as sc
in your local environment.
sc
in your local environmentGOPATH
.The kubectl user must be bound to the cluster-admin role for it to install Service Catalog. To ensure that this is true, run the following command:
kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=<user-name>
sc
in your local environmentInstall the sc
CLI tool using the go get
command:
go get github.com/GoogleCloudPlatform/k8s-service-catalog/installer/cmd/sc
After running the above command, sc
should be installed in your GOPATH/bin
directory.
First, verify that all dependencies have been installed. Run:
sc check
If the check is successful, it should return:
Dependency check passed. You are good to go.
Next, run the install command and specify the storageclass
that you want to use for the backup:
sc install --etcd-backup-storageclass "standard"
If you would like to uninstall Service Catalog from your Kubernetes cluster using the sc
tool, run:
sc uninstall