Code Monkey home page Code Monkey logo

Comments (9)

Heavybullets8 avatar Heavybullets8 commented on June 6, 2024 1

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.

jallen-tech avatar jallen-tech commented on June 6, 2024 1

I am running "TrueNAS-SCALE-22.12.3.3". v2.4.1 resolved my issues!

You rock!

from heavy_script.

Heavybullets8 avatar Heavybullets8 commented on June 6, 2024

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.

m42j avatar m42j commented on June 6, 2024

It's built from "Launch Docker Image" button. I don't use Truecharts.

from heavy_script.

Heavybullets8 avatar Heavybullets8 commented on June 6, 2024

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.

m42j avatar m42j commented on June 6, 2024
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.

jallen-tech avatar jallen-tech commented on June 6, 2024

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.

Heavybullets8 avatar Heavybullets8 commented on June 6, 2024

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.

Heavybullets8 avatar Heavybullets8 commented on June 6, 2024

Nevermind, hang tight. I found the issue.

from heavy_script.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.