Giter Club home page Giter Club logo

Comments (12)

patoarvizu avatar patoarvizu commented on June 3, 2024

Hello! Your question is kind of broad, so let me try to answer what I can.

Helm is a Kubernetes-specific framework, so it's not something you can run directly on an EC2 instance. You can of course run freqtrade itself directly on EC2 instances, but you wouldn't do that with Helm.

If you have access to a running Kubernetes cluster, you can follow the instructions on the Helm website on how to install a Helm chart. This repo isn't published to a proper Helm chart repository yet, so you'd have to clone it and install from your local copy. One tool that can help you try this out if you want to experiment on a local Kubernetes cluster is k3s. With k3s you can quickly spin up and tear down fully working Kubernetes clusters on your machine and iterate that way.

Lastly, I don't have any data in terms of resource utilization, maybe that's something that you can ask on the freqtrade repo.

I hope that helps!

from freqtrade-helm-chart.

koushikpr avatar koushikpr commented on June 3, 2024

Hey I was able to make it work on AWS EC2 Instance the only issue that I am facing is the strategy. So basically how did u transfer the Sample-strategy to /freqtrade/userdata/strategies ? somehow there seems to be a chown command occuring that changes all files to Read-Only mode which I didnt find anywhere in the code.
Screenshot 2023-09-06 151452

from freqtrade-helm-chart.

patoarvizu avatar patoarvizu commented on June 3, 2024

Are you running this on a Kubernetes server running on an EC2 instance? Or are you running freqtrade directly on the EC2 instance, without Kubernetes/Helm?

If it's the latter, that would be outside of the scope of this project and more of a question for the freqtrade repo (in case it's not clear, I'm not the maintainer of freqtrade, I just created this Helm chart to deploy it on Kubernetes).

Can you clarify how you're running this to see if it's something I can help you with?

from freqtrade-helm-chart.

koushikpr avatar koushikpr commented on June 3, 2024

I am running Kubernetes server on EC2 Instance. The following error that I am facing is in the strategy section. The logs that u are able to see are for the command kubectl logs -n freqtrade <pod_name>
I have made changes in the configurations based on the latest changes in freqtrade docker image.
Config contains the following data. StrategyCreator is my custom class I have prepared and saved in charts/strategies/ folder. Somehow that is not been transferred to freqtrade/user-data/strategies for utlization
backtesting:
enabled: false
download_data: true
timerange:
timeframes: 5m
fee:
strategy_list: StrategyCreator
pvc_size: 1Gi
results:
enable_export: true
reader_enabled: true
pvc_size: 1Gi

bot:
enabled: true
strategy_name: StrategyCreator
pvc_size: 1Gi

ingress:
enabled: true

create_config_configmap: true
create_strategies_configmap: true

strategies: {}

from freqtrade-helm-chart.

patoarvizu avatar patoarvizu commented on June 3, 2024

Mmhh I have a suspicion of what the issue might be. Can you tell me what version of Kubernetes you're running, and also, can you show me what the freqtrade-strategies configmap looks like? E.g. run kubectl get configmap freqtrade-strategies -o yaml.

from freqtrade-helm-chart.

koushikpr avatar koushikpr commented on June 3, 2024

{{- if .Values.create_strategies_configmap }}
apiVersion: v1
kind: ConfigMap
metadata:
name: freqtrade-strategies
data:

{{- if .Values.strategies }}
{{ .Values.strategies | toYaml | indent 2 }}
{{- else }}
{{ (.Files.Glob "strategies/*").AsConfig | indent 2 }}
{{- end }}
{{- end }}

from freqtrade-helm-chart.

koushikpr avatar koushikpr commented on June 3, 2024

image

from freqtrade-helm-chart.

patoarvizu avatar patoarvizu commented on June 3, 2024

And what version of Kubernetes are you running?

from freqtrade-helm-chart.

koushikpr avatar koushikpr commented on June 3, 2024

The latest one

from freqtrade-helm-chart.

patoarvizu avatar patoarvizu commented on June 3, 2024

Hi, sorry I hadn't been able to come back to this. Have you made any progress?

from freqtrade-helm-chart.

koushikpr avatar koushikpr commented on June 3, 2024

from freqtrade-helm-chart.

patoarvizu avatar patoarvizu commented on June 3, 2024

Mmhh ok. When I created this repo I didn't really expect to have any significant adoption and it hasn't been updated in a while, and also when I created it Kubernetes was at 1.17 or something so a lot of things may have changed that are no longer compatible. I'm going to try to spend a little bit of time on this and see if I can reproduce it.

You mentioned you're on the latest version of Kubernetes, but can you specify which one explicitly?

from freqtrade-helm-chart.

Related Issues (4)

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.