Environment Cleanup¶
In this section you will clean up the different things you made during the lab in order to free up resources for other projects you intend to embark on in the community cloud as well as for other users of the environment.
Pipelines Section Cleanup¶
From the Pipelines
section of the OpenShift UI, please complete the following cleanup tasks:
-
Delete the trigger for your pipeline
-
Choose to remove the trigger
- Click the 3 dots
- Choose
Remove Trigger
-
Confirm the trigger removal
- Choose your trigger from the dropdown menu
- Click
Remove
-
-
Delete the pipeline
- Click the 3 dots
- Choose
Delete Pipeline
Topology Section Cleanup¶
From the Topology
section of the OpenShift UI, please complete the following cleanup tasks:
-
Delete the
spring-petclinic-staging
deployment and its associated resources-
Right-click on the icon and choose
Delete Deployment
-
Click
Delete
(keep box checked to also delete dependent objects of this resource)
-
-
Delete
mysql
deployment config and its associated resources-
Right-click on the icon and choose
Delete DeploymentConfig
-
Click
Delete
(keep box checked to also delete dependent objects of this resource)
-
Delete Leftover Resources¶
-
Click on the
Search
tab from the OpenShift menu -
Click on the
Resources
drop down menu -
Check (click the checkbox) the following resources (you can search for them individually)
-
Secret
Secret
-
Route (route.openshift.io/v1)
Route
-
Service (core/v1)
Service
-
ImageStream
ImageStream
-
ConfigMap
ConfigMap
-
PersistentVolumeClaim
PersistentVolumeClaim
-
-
Select
Name
for the filter -
Delete the resources for
mysql
-
Search for the Name
mysql
mysql
-
Click on the 3 dots to the right of the first individual resource
-
Confirm the deletion in the following window
-
Repeat this for all of the other resources that appear for
mysql
Tip
This should include 2 secrets (
mysql
and one starting withmysql-ephemeral-parameters-
) and 1mysql
service.
-
-
Delete the resources for the Name
spring-petclinic
spring-petclinic
Tip
This should include 2 secrets, 1 route, 1 service, 2 imageStreams, and 2 configMaps.
-
Delete the resources for the Name
event-listener
event-listener
Tip
This should include 1 route.
-
Delete the
persistentVolumeClaim
associated with your pipeline-
Leave the Name field blank and go to the PersistentVolumeClaim section of the page
-
Delete the
persistentVolumeClaim
(if there are more than 1, delete the 1 created for this lab [you can look at the creation time to double check this])
Tip
This should include 1
persistentVolumeClaim
. -
GitHub Section Cleanup¶
Finally, you will cleanup the GitHub fork you made on your GitHub account with the following steps:
-
Navigate to the settings for your forked GitHub repository
-
Scroll to the bottom of the settings page (to the
danger zone
) and choose to delete your repository -
Confirm repository delete (retyping your forked repository's name)
Thank You for Cleaning Up! ¶
Created: May 28, 2021