Giter Site home page Giter Site logo

How can I use this in k8s about kube-linstor HOT 4 CLOSED

kvaps avatar kvaps commented on May 20, 2024
How can I use this in k8s

from kube-linstor.

Comments (4)

kvaps avatar kvaps commented on May 20, 2024

Hi, try to follow the official LINSTOR documentation from this point
https://linbit.com/drbd-user-guide/linstor-guide-1_0-en/#s-kubernetes-basic-configuration-and-deployment

You need to create StorageClass and PersistentVolumeClaims in your Kubernetes cluster

from kube-linstor.

deadjoker avatar deadjoker commented on May 20, 2024

I followed the guide but the pvc created failed.

Events:
  Type     Reason                Age               From                                                                                                 Message
  ----     ------                ----              ----                                                                                                 -------
  Normal   ExternalProvisioning  8s (x2 over 12s)  persistentvolume-controller                                                                          waiting for a volume to be created, either by external provisioner "linstor.csi.linbit.com" or manually created by system administrator
  Normal   Provisioning          6s (x4 over 12s)  linstor.csi.linbit.com_linstor-csi-controller-68f44f88b7-bq6w9_128e8442-8b79-4940-8a66-00ecb4bfe3ba  External provisioner is provisioning volume for claim "default/my-first-linstor-volume"
  Warning  ProvisioningFailed    6s (x4 over 12s)  linstor.csi.linbit.com_linstor-csi-controller-68f44f88b7-bq6w9_128e8442-8b79-4940-8a66-00ecb4bfe3ba  failed to provision volume with StorageClass "linstor-basic-storage-class": rpc error: code = Internal desc = CreateVolume failed for pvc-567b72ed-636d-476f-ac57-e0e2707c8bc1: Message: 'Not enough available nodes'; Details: 'Not enough nodes fulfilling the following auto-place criteria:
 * has a deployed storage pool named TransactionList [my-linstor-lvm-thin]
 * the storage pools have to have at least '512000' free space
 * the current access context has enough privileges to use the node and the storage pool
 * the node is online
Auto-place configuration details:
  Additional place count: 1
  Don't place with resource (List): [pvc-567b72ed-636d-476f-ac57-e0e2707c8bc1]
  Storage pool name: TransactionList [my-linstor-lvm-thin]
  Layer stack: [DRBD, STORAGE]
Auto-placing resource: pvc-567b72ed-636d-476f-ac57-e0e2707c8bc1'

It is said that all satellites are online, and I create storagepool. For k8s, I create storageclass and then create pvc. I'm not sure where is the problem

from kube-linstor.

deadjoker avatar deadjoker commented on May 20, 2024

solved :)

from kube-linstor.

zchef2k avatar zchef2k commented on May 20, 2024

solved :)

How did you solve this? I'm facing the same issue.

from kube-linstor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.