https://github.com/danitrod/wml-delete-deployments
Watson Machine Learning deployment auto deleter
https://github.com/danitrod/wml-delete-deployments
watson-machine-learning
Last synced: 2 months ago
JSON representation
Watson Machine Learning deployment auto deleter
- Host: GitHub
- URL: https://github.com/danitrod/wml-delete-deployments
- Owner: danitrod
- License: apache-2.0
- Created: 2020-03-18T22:22:22.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-18T22:30:21.000Z (about 5 years ago)
- Last Synced: 2025-02-05T06:30:16.596Z (4 months ago)
- Topics: watson-machine-learning
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IBM Cloud Machine Learning CLI - delete deployments
## Introduction
If you use the Watson Machine Learning Lite plan, and can't create any more Watson Machine Learning deployments because you already created 5, it can be annoying to delete one by one.
Therefore, I created this script to delete all your deployments for you.
## Requirements
- Having [Python 3 installed](https://www.python.org/downloads/)
- Having [IBM Cloud CLI installed](https://cloud.ibm.com/docs/cli?topic=cloud-cli-getting-started)## Instructions
1. Install IBM Cloud ML plugin
`ibmcloud plugin install machine-learning`
2. Find your WML instance `ibmcloud ml list instances`
3. Set the WML instance you wish to delete deployments `ibmcloud ml set instance `
4. Clone and acces the repo `git clone https://github.com/danitrod/wml-delete-deployments.git && cd wml-delete-deployments`
5. Run the script `sh deleteDeployments.sh`## License
Copyright 2020 Daniel T. Rodrigues
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.