Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrueNAS SCALE support? #34

Open
UnderEu opened this issue Feb 25, 2023 · 16 comments
Open

TrueNAS SCALE support? #34

UnderEu opened this issue Feb 25, 2023 · 16 comments
Labels
enhancement New feature or request Stale

Comments

@UnderEu
Copy link

UnderEu commented Feb 25, 2023

Not sure if this is the right place to do so but it'd be great if I can install this one on my TrueNAS SCALE server - Tried pulling the image directly from its Docker Compose tool but it didn't manage to deploy.

TrueNAS SCALE supports 3rd-party apps via its docker/k3s environment and there are a 3rd-party repository called TrueCharts, may be you could give them a call and make this happen.

@elliotmatson
Copy link
Owner

Interesting, did TrueNAS give you any logs or indication of why the Docker-compose stack didn't deploy properly?

I'll have to look at the TrueCharts, looks like they are essentially helm charts? I'm currently looking at installing TrueNAS on my QNAP, so I could look at it then

@qiqiandfei
Copy link

First of all, please forgive my poor English. I will continue to work hard to learn English
I get the same problem,I try to run this yaml with “docker-compose” in TrueNAS.But it is not worked.Is there any suggestion?
Looking forward to receiving a reply.Thanks!
==========================================Detail=================================
TrueNAS Scale Version: 22.12.2

TrueCharts docker-compose version: 23.0.6_6.0.14

k8s describe command output:

root@2cf05d9f821a[...oRAID_18T/applications/Docker/Davinci]# k3s kubectl describe pod davinci-docker-compose-7466ffbb85-5xqdc -n ix-davinci
Name: davinci-docker-compose-7466ffbb85-5xqdc
Namespace: ix-davinci
Priority: 0
Service Account: default
Node:
Labels: app=docker-compose-6.0.14
app.kubernetes.io/instance=davinci
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=docker-compose
app.kubernetes.io/version=23.0.6
helm-revision=3
helm.sh/chart=docker-compose-6.0.14
pod-template-hash=7466ffbb85
pod.name=main
release=davinci
Annotations: rollme: TjGUk
Status: Pending
IP:
IPs:
Controlled By: ReplicaSet/davinci-docker-compose-7466ffbb85
Containers:
davinci-docker-compose:
Image: tccr.io/truecharts/docker-in-docker:v23.0.6@sha256:f0392a7e7a7b9f977733bea6904754332e8e8279bad0be3437b6ae845cbf1a40
Port: 2376/TCP
Host Port: 0/TCP
Limits:
cpu: 4
memory: 8Gi
Requests:
cpu: 10m
memory: 50Mi
Liveness: tcp-socket :2376 delay=10s timeout=5s period=10s #success=1 #failure=5
Readiness: tcp-socket :2376 delay=10s timeout=5s period=10s #success=2 #failure=5
Startup: tcp-socket :2376 delay=10s timeout=2s period=5s #success=1 #failure=60
Environment:
TZ: Asia/Shanghai
UMASK: 0022
UMASK_SET: 0022
NVIDIA_VISIBLE_DEVICES: void
PUID: 568
USER_ID: 568
UID: 568
PGID: 0
GROUP_ID: 0
GID: 0
COMPOSE_FILE: /mnt/NoRAID_18T/applications/Docker/Davinci/docker-compose.yml
DOCKER_TLS_CERTDIR: /certs
Mounts:
/config from docker-certs-ca (rw)
/dev/shm from devshm (rw)
/docker-certs-ca from persist-list-0 (rw)
/shared from shared (rw)
/tmp from tmp (rw)
/var/logs from varlogs (rw)
/var/run from varrun (rw)
Conditions:
Type Status
PodScheduled False
Volumes:
devshm:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium: Memory
SizeLimit:
docker-certs-ca:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: davinci-docker-compose-docker-certs-ca
ReadOnly: false
persist-list-0:
Type: HostPath (bare host directory volume)
Path: /mnt/NoRAID_18T/applications/Docker/Davinci/cert
HostPathType:
shared:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit:
tmp:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit:
varlogs:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit:
varrun:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium: Memory
SizeLimit:
QoS Class: Burstable
Node-Selectors:
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message


Warning FailedScheduling 2m1s default-scheduler 0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.

@elliotmatson
Copy link
Owner

Just an update, I finally got around to installing TrueNAS on my QNAP, so I'm starting to look at this again!

@Geoff-Ilmax
Copy link

I am also a TrueNAS Scale user and interested in running this as a Docker Image. Any help I can offer please let me know and I will be happy to assist as best I can.

@elliotmatson
Copy link
Owner

I'm hoping to take some time this weekend to look at this! I'm still learning about TrueNAS charts and how exactly they differ from Helm charts.

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 13, 2023
@elliotmatson
Copy link
Owner

Still planning on working on this, just been busy with some personal stuff!

@elliotmatson elliotmatson added enhancement New feature or request and removed Stale labels Oct 13, 2023
@elliotmatson
Copy link
Owner

I think this would likely be best served by another project, since this won't use docker-compose at all. I'm going to close this issue, and start working on that here

@elliotmatson
Copy link
Owner

Just saw this, looks like TrueNAS is making a shift towards Docker Compose, so I'll reevaluate once Electric Eel is released! Given this, I probably won't put any work into a k3s version given this information

@elliotmatson elliotmatson reopened this May 30, 2024
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jul 30, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 6, 2024
@elliotmatson
Copy link
Owner

Still waiting for the final release of TrueNAS 24.10, then I can work on this

@elliotmatson elliotmatson reopened this Sep 27, 2024
@github-actions github-actions bot removed the Stale label Sep 27, 2024
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@elliotmatson
Copy link
Owner

Now that 24.10 is out, I'll start taking a look at this in the next few weeks!

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

4 participants