lab-ossm icon indicating copy to clipboard operation
lab-ossm copied to clipboard

fix errors with Rate Limiting lab

Open gbengataylor opened this issue 4 years ago • 0 comments

Problem 1:

Before Starting Section - In the previous lab, the destination rule for the recommendation was deleted so when the user runs

oc -n user1-tutorial get istio-io

It won't include the destination rule like the guide says

Problem 2:

Rate Limiting Section - The istio resources are created in the -scmp folder, rather than the -tutorial folder and as a result the lab doesn't work. For example, the current script for user1 is

sed -e "s/USERNAME/$JUPYTERHUB_USER/" /opt/app-root/workshop/content/src/istiofiles/recommendation_rate_limit.yml \
| oc create -n user1-smcp -f -

it should be

sed -e "s/USERNAME/$JUPYTERHUB_USER/" /opt/app-root/workshop/content/src/istiofiles/recommendation_rate_limit.yml \
| oc create -n user1-tutorial -f -

gbengataylor avatar Jan 21 '20 22:01 gbengataylor