Watch videos with subtitles in your language, upload your videos, create your own subtitles! Click here to learn more on "how to Dotsub"

opensds provide ceph storage as a service through kubernetes service catalog

0 (0 Likes / 0 Dislikes)
In this video, we will show a demo that demonstrates our latest work with opensds that provide storage as a service through Service Catalog. First of all, check the status of opensds cluster (volume and profile), to make sure everything works well. Then the good show begins. Suggest we have local cluster installed, firstly we need to register opensds service broker into service catalog system. After it done, we will find a service class called "opensds service" here, and some service plans inside, which is exactly the profile defined in opensds. In the second step, we can choose a service plan and create a service instance. In our example, we choose the default service plan and specify the capacity of storage resource. After that, check the status of opensds volume again, we will find a new volume created. Now we have created a service instance, but how to use it for our applicaiton? The third step is to create a service binding, that generates the credential as secrets for connecting the service instance. After the service binding being created, you will find a secret called "opensds-instance-secret" here. Since secret is the namespace of kubernetes, it can be directly opened through kubernetes CLI or UI. Inside it, we will see some fields generated in the form of base64 in secret data. To reduce the complex work of translating these data, we can get them directly from ceph backend. In the last step, we will create a wordpress app to consume the storage service. Here we plan to create a blog server container and register a service, and use the mounted volume (mounted in /mnt/rbd) to store the data. As you can see, our blog app has been deployed, we can open it on brower. Before we start the testing, let's register an account first. So to prove the storage is available, we can create a blog article with some pictures, and then check if they are stored in blog container. Now let's enter the container to find out. In the content directory, the "jounery.db" in data directory store all text data. And you can find all uploaded images in the images directory. That's all, thank you for watching!

Video Details

Duration: 3 minutes and 52 seconds
Country:
Language: English
License: Dotsub - Standard License
Genre: None
Views: 8
Posted by: leonwanghui on Aug 19, 2017

In this video, we will show how opensds manages ceph storage resources and provide them to users as storage service by utilizing kubernetes service catalog.

Caption and Translate

    Sign In/Register for Dotsub to translate this video.