Comments (3)
Hey @jadhad this sounds like an issue outside of the Helm chart itself, but let me see if I can help.
I see you're using a non-default StorageClass
because the chart doesn't allow you to specify it, so that's something we can fix later, but can you tell me what plugin or provider that storage class uses? Does it require additional options/annotations to be set on the PersistentVolumeClaim
object? I suspect that this might be an issue with the provisioning of the disk that's causing some permissions issues. The chart itself only creates the Kubernetes API objects, but I haven't tested it against Kubernetes 1.22, so it's possible that some modifications could be required.
Have you tried testing the setup locally following the steps under ./test-local/
? You can modify the Makefile
to tweak the parameters to k3d
to pin it to a specific Kubernetes version.
from freqtrade-helm-chart.
First of all - Great Job !!!
The idea to run these pods in kubernetes is much easier then editing the docker-compose files all the time.
As for you comments:
- I changed the PersistentVolumeClaim chart a bit:
`apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: freqtrade-sqlite
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: {{ .Values.bot.pvc_size }}
apiVersion: v1
kind: PersistentVolume
metadata:
name: freqtrade-pv
spec:
capacity:
storage: 1Gi
accessModes:
-
ReadWriteOnce
hostPath:
path: /home/k8s-user/sqlite`but it still didn't help.
- What version of Kubernetes you used to develop the chart?
- I will try to use the 'test-local' and update.
Thank you very much!
from freqtrade-helm-chart.
Did you add the PersistentVolume
object yourself (either manually or on the chart)? The chart assumes that the storage class will automatically provision the PV given a PersistentVolumeClaim
. If your storage class plugin requires manual steps, then it's likely this is a configuration issue on that side. Maybe the volume at that path (/home/k8s-user/sqlite
) is being created with permissions such that it isn't accessible to the Docker daemon in the host?
I believe when I developed this chart I was using something like Kubernetes 1.18 or 1.19 if that helps.
from freqtrade-helm-chart.
Related Issues (4)
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 freqtrade-helm-chart.