Comments (9)
Changes are finally pushed. Please try the new versions lifecylce operations and let me know if that doesnt work out by re-opening this issue, thank you both.
https://github.com/Heavybullets8/heavy_script/releases/tag/v2.4.1
from heavy_script.
I am running "TrueNAS-SCALE-22.12.3.3". v2.4.1 resolved my issues!
You rock!
from heavy_script.
Thank you. is this an app from a chart repo? Such as Truecharts, or the Official charts?
If not, is this built from the "Launch Docker Image" button or Truecharts Custom-App?
from heavy_script.
It's built from "Launch Docker Image" button. I don't use Truecharts.
from heavy_script.
Unfortunately I was not able to reproduce the error. Do you mind running this command?
midclt call chart.release.get_instance "$app_name" | jq '.config.controller.replicas // .config.workload.main.replicas // .pod_status.desired'
Replace $app_name with your apps name, such as:
midclt call chart.release.get_instance "unifi" | jq '.config.controller.replicas // .config.workload.main.replicas // .pod_status.desired'
from heavy_script.
root@nas[~]# midclt call chart.release.get_instance "unifi" | jq '.config.controller.replicas // .config.workload.main.replicas // .pod_status.desired'
1
root@nas[~]#
from heavy_script.
Same issue here.
Command below was built from the "Launch Docker Image":
root@truenas[~]# midclt call chart.release.get_instance "jellyfin" | jq '.config.controller.replicas // .config.workload.main.replicas // .pod_status.desired'
1
Command below was built from TrueCharts:
root@truenas[~]# midclt call chart.release.get_instance "nextcloud" | jq '.config.controller.replicas // .config.workload.main.replicas // .pod_status.desired'
2
from heavy_script.
Heavyscript runs that command to see how many replicas to scale the application to. It is unfortunately not as easy as telling the application to start, we also have to supply an integer to tell k3s how many replicas the application should be scaled to.
What is confusing, is the error message that HeavyScript output, was due to that command returning "null". So I am wondering if k3s timed out during the script run.
@jallen-tech are you on Truenas SCALE version: 22.12.3.3 as well?
The latest version is: 22.12.4.2 I am wondering if that has something to do with it.
Ill keep digging in the code for now.
from heavy_script.
Nevermind, hang tight. I found the issue.
from heavy_script.
Related Issues (20)
- An image used by a Scale app keeps being pruned HOT 7
- Disabeling Helm not working
- Retry failed updates HOT 3
- Failure to update stopped app HOT 5
- [Feature] Restart dependant containers on update HOT 1
- Suggestion for PVC storage and backup
- Setting velero namespace failed HOT 3
- [Feature] way of updating only 1 (or more) app - opposite of --ignore HOT 1
- disable-api doesnt work HOT 2
- Suggestion: output mode brief for updates
- Pull new container images HOT 2
- Failed during restore, it deletes current catalog dataset without create a new one HOT 1
- After upgrade to TrueNas SCALE dragonfish, Warning/Error on nightly upgrade script about symlink
- error: the server doesn't have a resource type "cluster" HOT 1
- Snapshot date formatter causes replication task to fail HOT 1
- Implement custom PVC backup/restore solution for unsupported storage classes in Dragonfish
- Implement Custom PVC Rollback Solution for Failed Updates in Unsupported Storage Classes
- Address Developer Mode Requirement for "Enable" Functions in TrueNAS SCALE Scripts
- Implement a way to purge any PV/PVCs marked as Released
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.