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

Commit 6d0c713

Browse files
committed
Lab 2 updates
1 parent ef9ed30 commit 6d0c713

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

workshop/Lab2/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ Following topics are covered in this exercise:
1515
Review the [storage classes](https://cloud.ibm.com/docs/containers?topic=containers-file_storage#file_storageclass_reference) for file storage. In addition to the standard set of storage classes, [custom storage classes](https://cloud.ibm.com/docs/containers?topic=containers-file_storage#file_custom_storageclass) can be defined to meet the storage requirements.
1616

1717
```bash
18-
kubectl get storageclasses | grep file
18+
kubectl get storageclasses
1919
```
2020

2121
Expected output:
2222
```
23-
$ kubectl get storageclasses | grep file
23+
$ kubectl get storageclasses
2424
2525
default ibm.io/ibmc-file Delete Immediate false 27m
2626
ibmc-file-bronze ibm.io/ibmc-file Delete Immediate false 27m
@@ -36,7 +36,7 @@ ibmc-file-silver ibm.io/ibmc-file Delete Immediate
3636
ibmc-file-silver-gid ibm.io/ibmc-file Delete Immediate false 27m
3737
```
3838

39-
This lab uses the storage class `ibm-file-silver`. Note that the default class is `ibmc-file-gold` is allocated if storgage class is not expliciity definded.
39+
IKS comes with storage class definitions for file storage. This lab uses the storage class `ibm-file-silver`. Note that the default class is `ibmc-file-gold` is allocated if storgage class is not expliciity definded.
4040

4141
```
4242
$ kubectl describe storageclass ibmc-file-silver
@@ -252,7 +252,7 @@ Note the Filesystem `fsf-dal1003d-fz.adn.networklayer.com:/IBM02SEV2058850_2177/
252252
Find the URL for the guestbook application by joining the worker node external IP and service node port.
253253

254254
```
255-
HOSTNAME=`ibmcloud ks workers --cluster $CLUSTERNAME | grep Ready | head -n 1 | awk '{print $2}'`
255+
HOSTNAME=`kubectl get nodes -ojsonpath='{.items[0].metadata.labels.ibm-cloud\.kubernetes\.io\/external-ip}'`
256256
SERVICEPORT=`kubectl get svc guestbook -o=jsonpath='{.spec.ports[0].nodePort}'`
257257
echo "http://$HOSTNAME:$SERVICEPORT"
258258
```

0 commit comments

Comments
 (0)