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, reboot or relink network will pull image again #974

Open brealisty opened 2 years ago

brealisty commented 2 years ago

All the steps have completed, and the Workspace run well. but re-pull images when the local machine reboot or relink network. Is there any way to resolve it? save image cahe or somethingelse?

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

Machine information

malfonsoNeoris commented 2 years ago

hi, have you solved the issue? i also want to install onepanel on a local PC ( with gpu) and im still unable to do it

im at the config 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, ...)

skytodmoon commented 2 years ago

I met the same problem. If it can change the policy to local first.

6betari commented 2 years ago

And I met the same problem (ubuntu 20.04, mikrok8s)

Allen-labs commented 1 year ago

I met the same problem. I solved it by modifying "imagePullPolicy: Always" to "imagePullPolicy: IfNotPresent".