Comments (3)
What's the purpose for stopping multiple/all applications?
from heavy_script.
Currently trying to solve an unscheduled reboot issue I am having with ix and they wanted me to try to replicate with all applications stopped and I realized that was not easy to do without using the stop function in the UI which TrueCharts does not advise you doing.
from heavy_script.
While the proposed feature isn't currently planned due to its limited scope beyond testing and bug tracing, the issue will remain open for anyone interested in implementing it. The potential solution could involve calling heavyscript app --stop *
or a similar command.
In the meantime, here's a simple script you can use to stop each application:
#!/bin/bash
# Retrieve application names
mapfile -t apps < <(cli -m csv -c 'app chart_release query name' | tail -n +2 | sort | tr -d " \t\r" | awk 'NF')
# Stop each application with heavyscript stop function
for app in "${apps[@]}"; do
heavyscript app --stop "$app"
echo
done
echo "All applications have been stopped."
Make sure to adjust the heavyscript app --stop "$app"
command to match your heavyscript installation path, if it wasn't installed with the one-liner. For example: bash /root/heavy_script/heavy_script.sh app --stop "$app"
.
from heavy_script.
Related Issues (20)
- Feature request: Interactive chart upgrades HOT 1
- Feature: Enable external access to k8s API HOT 3
- Failed to find dump folder HOT 9
- Feature to tail container logs HOT 2
- [Feature Request] let pod command accept app name as argument
- [Feature Request] integrate questions.yaml and values.yaml HOT 1
- Handle spaces in pool names HOT 2
- install error This script must be run as root. HOT 9
- Make dpkg executable when apt is enabled
- Prometheus DNS check outputs wrong url
- No PVCs shown HOT 8
- Script updates and starts stopped apps HOT 12
- HeavyScript vs. TrueTools HOT 2
- backup Nextcloud database, possible? HOT 2
- Feature to enable remote api HOT 6
- Feature: Allow install into non root user HOT 3
- Prune gives ReadTimeoutError HOT 3
- Show versions whem upgrade is held back HOT 3
- Mounted PVCs are sometimes not deleted. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heavy_script.