Install Service Catalog using Helm
It provides a way to list, provision, and bind with external Managed Services from without needing detailed knowledge about how those services are created or managed.
Use Helm to install Service Catalog on your Kubernetes cluster. Up to date information on this process can be found at the repo.
- Understand the key concepts of Service Catalog.
- Service Catalog requires a Kubernetes cluster running version 1.7 or higher.
- You must have a Kubernetes cluster with cluster DNS enabled.
- If you are using , ensure that the
KUBE_ENABLE_CLUSTER_DNS
environment variable is set, then run the install script.
- If you are using , ensure that the
- v1.7 or higher. Make sure it is configured to connect to the Kubernetes cluster.
- Install Helm v2.7.0 or newer.
- Follow the .
- If you already have an appropriate version of Helm installed, execute
helm init
to install Tiller, the server-side component of Helm.
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:
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
Your Kubernetes cluster must have RBAC enabled, which requires your Tiller Pod(s) to have access.
When using Minikube v0.25 or older, you must run Minikube with RBAC explicitly enabled:
When using Minikube v0.26+, run:
minikube start
With Minikube v0.26+, do not specify --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.
AUTHORIZATION_MODE=Node,RBAC hack/local-up-cluster.sh -O
By default, helm init
installs the Tiller Pod into the namespace, with Tiller configured to use the default
service account.
Note: If you used the --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.
Configure Tiller to have cluster-admin
access:
Install Service Catalog from the root of the Helm repository using the following command:
helm install svc-cat/catalog --name catalog --namespace catalog
- View sample service brokers.
- Explore the project.