Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,46 +124,46 @@ You can now access the application at http://localhost:3000

3. Log into your IBM Cloud account
```
bx login
ibmcloud login
```

If you have a federated ID, use bx login --sso to log in to the IBM Cloud CLI.
If you have a federated ID, use ibmcloud login --sso to log in to the IBM Cloud CLI.

4. Install the Container Registry plug-in.
```
bx plugin install container-registry -r Bluemix
ibmcloud plugin install container-registry -r Bluemix
```

5. Install the Container Service plug-in.
```
bx plugin install IBM-Containers -r Bluemix
ibmcloud plugin install IBM-Containers -r Bluemix
```

6. [Install kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl)

7. Create cluster
```
bx cs cluster-create --name YOUR_CLUSTER_NAME
ibmcloud cs cluster-create --name YOUR_CLUSTER_NAME
```

8. Configure Kubernetes cluster
```
$ bx cs cluster-config YOUR_CLUSTER_NAME
$ ibmcloud cs cluster-config YOUR_CLUSTER_NAME
```

Copy and paste response in CLI

9. Choose a name for your first namespace, and create that namespace. Use this namespace for the rest of the Quick Start.
```
$ bx cr namespace-add YOUR_NAMESPACE
$ ibmcloud cr namespace-add YOUR_NAMESPACE
```


### 1. Build image

Build image in the IBM Container Registry:
```
$ bx cr build -t registry.<ibm_cloud_region>.bluemix.net/<your_namespace>/deploy-react-kubernetes .
$ ibmcloud cr build -t registry.<ibm_cloud_region>.bluemix.net/<your_namespace>/deploy-react-kubernetes .
```

### 2. Deploy the application
Expand All @@ -188,7 +188,7 @@ $ kubectl expose deployment/deploy-react-kubernetes-deployment

```
# For clusters provisioned with IBM Cloud
$ bx cs workers YOUR_CLUSTER_NAME
$ ibmcloud cs workers YOUR_CLUSTER_NAME
```

```
Expand Down