Comments (11)
hi @mulbane, it should provide ingresses for all components. Could you please take a look at the logs of the operator itself and post it here?
from k8s-mediaserver-operator.
{"level":"error","ts":1635279279.759793,"logger":"controller-runtime.manager.controller.k8smediaserver-controller","msg":"Reconciler error","name":"k8smediaserver-sample","namespace":"default","error":"failed to install release: PersistentVolumeClaim "mediaserver-pv" is invalid: spec.storageClassName: Invalid value: "[]": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(\.a-z0-9?)*')","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:253\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:214"}
from k8s-mediaserver-operator.
The readme says a PV is needed, i just assumed the PVC would be created with the setup.
from k8s-mediaserver-operator.
can you please set storageClassName: ""
in your resource if you are providing the PV?
from k8s-mediaserver-operator.
I'm trying to set that but it is expecting a subdomain, but i don't understand what that subdomain is supposed to be. I'm sorry if i'm being dense.
from k8s-mediaserver-operator.
i got past that issue i believe, and now am running into something else I'm debugging. I tried to only change the namespace and hostnames in the config along with TLS configs and such, but i'm running into this:
{"level":"error","ts":1635287795.0483408,"logger":"controller-runtime.manager.controller.k8smediaserver-controller","msg":"Reconciler error","name":"k8smediaserver-sample","namespace":"mediaserver","error":"Operation cannot be fulfilled on k8smediaservers.kubealex.com \"k8smediaserver-sample\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:253\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:214"}
from k8s-mediaserver-operator.
Seems to me the issue is that this requires ReadWriteMany on the PVC, and local-storage doesn't support this. I have tried to override the option in the template, but it doesn't seem to be working for me. Sorry for complaining, just been beating my head against a wall.
I should clarify that i'm using k3s, and trying to make this work as-is for now.
from k8s-mediaserver-operator.
I guess the question i have left here is what storage provisioner is expected to be used by the charts? it doesn't seem very clear to me but I am also new to kubernetes this in-depth.
from k8s-mediaserver-operator.
@mulbane if you have a provisioner in place, you can use the storage class field to let the template create the pvc and pv for you. If you are going to use an 'on premise' NFS server, you need to leave the storage class blank and just reference it in the Mediaserver resource.
It just depeneds if provisioning is automatic (then storageclass is needed) or manual with NFS. It's not meant to use the emptydir or hostpath storage :)
from k8s-mediaserver-operator.
Yeah, I switched to NFS, still trying to figure out why it's not working now... I actually got it working with longhorn but retained volumes weren't re-attaching when I re-deployed, so I would lose my configs every time unfortunately.
from k8s-mediaserver-operator.
I removed the possibility to specify NFS volumes manually to have the PV created.
A PV or a StorageClass linked to a provisioner are needed in order to create the PVC.
from k8s-mediaserver-operator.
Related Issues (20)
- [BR] Error when enabling AdditionalLB for Jellyfin HOT 1
- [BR] unable to use NFS mount as per read me HOT 3
- [BR] Folder is not writable by user abc on K3s using longhorn HOT 5
- [FR] Add an nginx security/protection container in the mix HOT 3
- [FR] Support Overseerr
- [BR] Docker image tags set to devel/latest HOT 2
- [DISC] Plex Client Setup HOT 4
- [BR] Nginx Ingress does not allow reuse of the same host name. HOT 7
- [BR] No PVC defined for Prowlarr in chart HOT 1
- [FR] guide on how exactly to use with helm including example of PV setup HOT 4
- [FR] Support native multi-arch build in workflow
- [FR] Bump operator-sdk version
- [BR] Readiness probes based on TCP should use httpGet instead.
- [FR] Helm Only and Additional Options HOT 8
- [FR] Add Ombi to the Stack
- [FR] Simplify with defaults
- [FR] Helm repository HOT 2
- [BR] Unable to connect to Plex HOT 13
- [FR] Add Helm Repo HOT 1
- [FR]Configure URL Base HOT 5
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 k8s-mediaserver-operator.