Skip to content

Commit

Permalink
add odo delete
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrage committed Jun 7, 2022
1 parent 57a509e commit 039a16d
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1294,3 +1294,23 @@ Test your application by visiting the `DOMAIN_NAME` variable that you had set in

</TabItem>
</Tabs>

#### (OPTIONAL) 4. Delete the resources

After testing your application, you may optionally undeploy using the `odo delete component` command:

```console
odo delete component
Searching resources to delete, please wait...
This will delete "my-app" from the namespace "default".
• The component contains the following resources that will get deleted:
- Deployment: my-app
- Service: my-app
- Ingress: my-app
? Are you sure you want to delete "my-app" and all its resources? Yes
The component "my-app" is successfully deleted from namespace "default"
• There are still resources left in the cluster that might be belonging to the deleted component.
- Endpoints: svc
- Service: svc
If you want to delete those, execute `odo delete component --name my-app --namespace default`
```

0 comments on commit 039a16d

Please sign in to comment.