Install Service Catalog using Helm
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 Services from Service Brokers without needing detailed knowledge about how those services are created or managed.
Use
Once Helm is installed, add the service-catalog Helm repository to your local machine by executing the following command: Check to make sure that it installed successfully by executing the following command: If the installation was successful, the command should output the following: Your Kubernetes cluster must have RBAC enabled, which requires your Tiller Pod(s) to have When using Minikube v0.25 or older, you must run Minikube with RBAC explicitly enabled: When using Minikube v0.26+, run: With Minikube v0.26+, do not specify If you are using By default, Configure Tiller to have Install Service Catalog from the root of the Helm repository using the following command:Before you begin
hack/local-up-cluster.sh
, ensure that the KUBE_ENABLE_CLUSTER_DNS
environment variable is set, then run the install script.helm init
to install Tiller, the server-side component of Helm.Add the service-catalog Helm repository
helm repo add svc-cat https://kubernetes-sigs.github.io/service-catalog
helm search repo service-catalog
NAME CHART VERSION APP VERSION DESCRIPTION
svc-cat/catalog 0.2.1 service-catalog API server and controller-manager helm chart
svc-cat/catalog-v0.2 0.2.2 service-catalog API server and controller-manager helm chart
Enable RBAC
cluster-admin
access.minikube start --extra-config=apiserver.Authorization.Mode=RBAC
minikube start
--extra-config
. The flag has since been changed to --extra-config=apiserver.authorization-mode and Minikube now uses RBAC by default. Specifying the older flag may cause the start command to hang.hack/local-up-cluster.sh
, set the AUTHORIZATION_MODE
environment variable with the following values:AUTHORIZATION_MODE=Node,RBAC hack/local-up-cluster.sh -O
helm init
installs the Tiller Pod into the kube-system
namespace, with Tiller configured to use the default
service account.--tiller-namespace
or --service-account
flags when running helm init
, the --serviceaccount
flag in the following command needs to be adjusted to reference the appropriate namespace and ServiceAccount name.
cluster-admin
access:kubectl create clusterrolebinding tiller-cluster-admin \
--clusterrole=cluster-admin \
--serviceaccount=kube-system:default
Install Service Catalog in your Kubernetes cluster
helm install catalog svc-cat/catalog --namespace catalog
helm install svc-cat/catalog --name catalog --namespace catalog
What's next