Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 2f54041

Browse files
committed
formatting
1 parent a976a0b commit 2f54041

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

workshop/Lab7/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Expand the credential and take note of the **url** parameter. We will be using t
2626

2727
### Save your credentials in a Kubernetes `secret`
2828

29-
k
29+
TODO `kubectl create url secret`
3030

3131

3232
Once completed, [skip ahead to the next section](##Next-Steps)
@@ -37,7 +37,7 @@ The Operator Framework provides support for Kubernetes-native extensions to mana
3737

3838
With the IBM Cloud Kubernetes Service clusters at version 1.16 and later, the Operator Framework is already installed. So all you will need to do is install the IBM Cloud Operator. New clusters created after March 1st, 2020 should all be at this level (or later).
3939

40-
## Installing the IBM Cloud operator
40+
### Installing the IBM Cloud operator
4141

4242
1. With the OLM framework and marketplace support installed, it's time to install the IBM Cloud operator. This operator will use an IBM Cloud API key to manage resources within the cluster. Begin to configure the IBM Cloud operator by logging in to the IBM Cloud account using the IBM Cloud CLI. Start by logging in to IBM Cloud
4343

@@ -98,7 +98,7 @@ With the IBM Cloud Kubernetes Service clusters at version 1.16 and later, the Op
9898
ibmcloud-operator-system ibmcloud-operator-controller-manager-56c8548f89-stzdq 2/2 Running 0 14m
9999
```
100100
101-
## Understanding Operators
101+
### Understanding Operators
102102
103103
The [Operator Pattern](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/) is an emerging approach to extend through automation the expertise of human operators into the cluster environment. Operators are intended to support applications and management of other resources in and related to kubernetes clusters starting at installation, but continuing to day 2 operations of monitoring, backup, fault recovery and, of course, updates.
104104
@@ -111,11 +111,11 @@ In addition to the IBM Cloud Operator, there are many operators that can manage
111111
Your cluster now has the IBM Cloud operator installed. This operator is able to configure two custom resources in the cluster, a **Service** and a **Binding**. The **Service** defines a specific IBM Cloud service instance type to create, and the **Binding** specifies a named binding of a service instance to a secret in the cluster. For more details about the IBM Cloud operator see the [project repository](https://github.com/IBM/cloud-operators)
112112
113113
114-
# Creating an instance of Cloudant
114+
### Creating an instance of Cloudant
115115
116116
For an application running within a Kubernetes cluster to be able to access an IBM Cloud service, the service needs to be created and the credentials to access the service must be added to the cluster so that they can be read by deployed applications. The Kubernetes cluster running the application accessing the service instance can be anywhere, but in this case you'll be using your Kubernetes cluster on IBM Cloud. We will be using a Cloudant DB service on IBM Cloud for this lab because it is free, json document datastore that will be easy for us to swap from our previous MongoDB database connection.
117117
118-
## Create the service instance and bind to the cluster
118+
### Create the service instance and bind to the cluster
119119
120120
1. Change into the `yaml` directory. apply the `cloudant-ibmcloud.yaml` file.
121121
@@ -153,14 +153,14 @@ For an application running within a Kubernetes cluster to be able to access an I
153153
154154
With the credentials added to the current namespace, you will be able to deploy guestbook application that uses the analyzer microservice. But first, let's do a little checking of the actions by the IBM Cloud operator.
155155
156-
## Debug
156+
### Debug
157157
If the credentials have not been created after a few moments, check the logs of the kubernetes object you created.
158158
159159
```
160160
kubectl describe service.ibmcloud.ibm.com/mycloudant
161161
```
162162
163-
## Check the IBM Cloud console - verify the Cloudant DB service
163+
### Check the IBM Cloud console - verify the Cloudant DB service
164164
165165
You can return to your IBM Cloud console and see that the tone analyzer service was created as specified in the `cloudant-ibmcloud.yaml` resource file.
166166
@@ -183,7 +183,7 @@ You can return to your IBM Cloud console and see that the tone analyzer service
183183
184184
Notice how the string displayed is exactly the same as the service API Key visible from the control panel for the service.
185185
186-
## Lifecycle management with the IBM Cloud operator
186+
### Lifecycle management with the IBM Cloud operator
187187
188188
Let's take a look at the custom resource definition (CRD) file that was used in this exercise (`cloudant-ibmcloud.yaml`).
189189

0 commit comments

Comments
 (0)