From e2a6010ef245a6f608176f488fdc2d67cef32c41 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Sat, 25 Jul 2020 23:35:21 +0900 Subject: [PATCH] Copy tasks/service-catalog/install-service-catalog-using-sc.md from en/ directory. --- .../ja/docs/tasks/service-catalog/_index.md | 6 ++ .../install-service-catalog-using-sc.md | 83 +++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100755 content/ja/docs/tasks/service-catalog/_index.md create mode 100644 content/ja/docs/tasks/service-catalog/install-service-catalog-using-sc.md diff --git a/content/ja/docs/tasks/service-catalog/_index.md b/content/ja/docs/tasks/service-catalog/_index.md new file mode 100755 index 0000000000..77e5fa25e4 --- /dev/null +++ b/content/ja/docs/tasks/service-catalog/_index.md @@ -0,0 +1,6 @@ +--- +title: "Service Catalog" +description: Install the Service Catalog extension API. +weight: 150 +--- + diff --git a/content/ja/docs/tasks/service-catalog/install-service-catalog-using-sc.md b/content/ja/docs/tasks/service-catalog/install-service-catalog-using-sc.md new file mode 100644 index 0000000000..a45474e297 --- /dev/null +++ b/content/ja/docs/tasks/service-catalog/install-service-catalog-using-sc.md @@ -0,0 +1,83 @@ +--- +title: Install Service Catalog using SC +reviewers: +- chenopis +content_type: task +--- + + +{{< glossary_definition term_id="service-catalog" length="all" prepend="Service Catalog is" >}} + +You can use the GCP [Service Catalog Installer](https://github.com/GoogleCloudPlatform/k8s-service-catalog#installation) +tool to easily install or uninstall Service Catalog on your Kubernetes cluster, linking it to +Google Cloud projects. + +Service Catalog itself can work with any kind of managed service, not just Google Cloud. + + + + +## {{% heading "prerequisites" %}} + +* Understand the key concepts of [Service Catalog](/docs/concepts/service-catalog/). +* Install [Go 1.6+](https://golang.org/dl/) and set the `GOPATH`. +* Install the [cfssl](https://github.com/cloudflare/cfssl) tool needed for generating SSL artifacts. +* Service Catalog requires Kubernetes version 1.7+. +* [Install and setup kubectl](/docs/tasks/tools/install-kubectl/) so that it is configured to connect to a Kubernetes v1.7+ cluster. +* 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= + + + + + +## Install `sc` in your local environment + +The installer runs on your local computer as a CLI tool named `sc`. + +Install using `go get`: + +```shell +go get github.com/GoogleCloudPlatform/k8s-service-catalog/installer/cmd/sc +``` + +`sc` should now be installed in your `GOPATH/bin` directory. + +## Install Service Catalog in your Kubernetes cluster + +First, verify that all dependencies have been installed. Run: + +```shell +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: + +```shell +sc install --etcd-backup-storageclass "standard" +``` + +## Uninstall Service Catalog + +If you would like to uninstall Service Catalog from your Kubernetes cluster using the `sc` tool, run: + +```shell +sc uninstall +``` + + + + +## {{% heading "whatsnext" %}} + +* View [sample service brokers](https://github.com/openservicebrokerapi/servicebroker/blob/master/gettingStarted.md#sample-service-brokers). +* Explore the [kubernetes-incubator/service-catalog](https://github.com/kubernetes-incubator/service-catalog) project. + +