onepanelio / onepanel

The open source, end-to-end computer vision platform. Label, build, train, tune, deploy and automate in a unified platform that runs on any cloud and on-premises.
https://docs.onepanel.ai/
Apache License 2.0
710 stars 69 forks source link

Local machine install still not supported #972

Open thhart opened 2 years ago

thhart commented 2 years ago

Describe the bug In several issues there is mentioned starting with v0.20.0 there would be a local mode possible. However in the quickstart guide: https://docs.onepanel.ai/docs/getting-started/quickstart/ there is still an artifact provider necessary. It is not possible to init opctl without this. How is it supposed to work without any foreign services?

opctl init --provider microk8s \
           --enable-metallb \
           --artifact-repository-provider abs

opctl version

$ opctl version
CLI version: v1.0.2
Manifest version: v1.0.2
API version: v1.0.2
Web UI version: v1.0.2

Kubernetes information microk8s is running high-availability: no datastore master nodes: 127.0.0.1:19001 datastore standby nodes: none

Machine information Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal

malfonsoNeoris commented 2 years ago

hi, have you been able to deploy onepanel locally ? i have configured the PC.. done the line that you mention ( same as you, i dont have a remote storage).

then it fails in the next step KUBECONFIG=./kubeconfig opctl apply Starting deployment...

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x211296f]

goroutine 1 [running]: github.com/onepanelio/cli/cmd.GenerateKustomizeResult(0x253d44c, 0x1f, 0x2523233, 0xd, 0xc0004abe90, 0x1, 0x1, 0xc0004abe80, 0x1, 0x1, ...)

Allen-labs commented 1 year ago

@malfonsoNeoris @thhart hi, I had solved the probelm, you can deploy minio service locally, then use this command: opctl init --provider microk8s \ --enable-metallb \ --artifact-repository-provider s3