libopenstorage / stork

Stork - Storage Orchestration Runtime for Kubernetes
Apache License 2.0
394 stars 89 forks source link

Stork Driver Initialisation Issue #411

Open nik786 opened 5 years ago

nik786 commented 5 years ago

Im trying stork on kubeadm. But Im facing below mentioned error

time="2019-06-25T02:57:54Z" level=info msg="Starting stork version 2.1.0-c35fe71" time="2019-06-25T02:57:54Z" level=fatal msg="Error initializing Stork Driver pxd: Failed to get k8s service spec: services \"portworx-service\" not found"

disrani-px commented 5 years ago

@nik786 If you are using portworx (pxd) as the driver then you need to install Portworx and the corresponding specs. You can check the instructions to install Portworx (which will also install stork by default) here: https://docs.portworx.com/portworx-install-with-kubernetes/

nik786 commented 5 years ago

@disrani-px Can we configure it with out portworx??if yes then how can we do it?? I have cloned stork github then installed stork initializer

kubectl apply -f specs/stork-initializer.yaml

kubectl apply -f specs/stork-deployment.yaml

disrani-px commented 5 years ago

@nik786 You will need to implement the driver for the storage solution that you are trying to use with stork. What are you using for persistence?

nik786 commented 5 years ago

@disrani-px

Can we use flocker instead portworx??

I have tried to use overlay2 which did nt work

spec: containers:

imedaouidene commented 3 months ago

try to use px-csi-db storage class