在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):gluster/gluster-kubernetes开源软件地址(OpenSource Url):https://github.com/gluster/gluster-kubernetes开源编程语言(OpenSource Language):Shell 95.0%开源软件介绍(OpenSource Introduction):gluster-kubernetesGlusterFS Native Storage Service for Kubernetesgluster-kubernetes is a project to provide Kubernetes administrators a mechanism to easily deploy GlusterFS as a native storage service onto an existing Kubernetes cluster. Here, GlusterFS is managed and orchestrated like any other app in Kubernetes. This is a convenient way to unlock the power of dynamically provisioned, persistent GlusterFS volumes in Kubernetes. Component Projects
PresentationsYou can find slides and videos of community presentations here. >>> Video demo of the technology! <<< Documentation
QuickstartIf you already have a Kubernetes cluster you wish to use, make sure it meets the prerequisites outlined in our setup guide. This project includes a vagrant setup in the
To spin up the cluster, simply run NOTE: If you plan to run ./up.sh more than once the vagrant setup supports caching packages and container images. Please read the vagrant directory README for more information on how to configure and use the caching support. Next, copy the You will have to provide your own topology file. A sample topology file is
included in the
If you used the provided vagrant libvirt setup, you can run: $ vagrant ssh-config > ssh-config
$ scp -rF ssh-config ../deploy master:
$ vagrant ssh master
[vagrant@master]$ cd deploy
[vagrant@master]$ mv topology.json.sample topology.json The following commands are meant to be run with administrative privileges
(e.g. At this point, verify the Kubernetes installation by making sure all nodes are Ready: $ kubectl get nodes
NAME STATUS AGE
master Ready 22h
node0 Ready 22h
node1 Ready 22h
node2 Ready 22h NOTE: To see the version of Kubernetes (which will change based on
latest official releases) simply do Next, to deploy heketi and GlusterFS, run the following: $ ./gk-deploy -g If you already have a pre-existing GlusterFS cluster, you do not need the
After this completes, GlusterFS and heketi should now be installed and ready
to go. You can set the $ export HEKETI_CLI_SERVER=$(kubectl get svc/heketi --template 'http://{{.spec.clusterIP}}:{{(index .spec.ports 0).port}}')
$ echo $HEKETI_CLI_SERVER
http://10.42.0.0:8080
$ curl $HEKETI_CLI_SERVER/hello
Hello from Heketi Your Kubernetes cluster should look something like this: $ kubectl get nodes,pods
NAME STATUS AGE
master Ready 22h
node0 Ready 22h
node1 Ready 22h
node2 Ready 22h
NAME READY STATUS RESTARTS AGE
glusterfs-node0-2509304327-vpce1 1/1 Running 0 1d
glusterfs-node1-3290690057-hhq92 1/1 Running 0 1d
glusterfs-node2-4072075787-okzjv 1/1 Running 0 1d
heketi-3017632314-yyngh 1/1 Running 0 1d You should now also be able to use Hello World application using GlusterFS Dynamic Provisioning ContactThe gluster-kubernetes developers hang out in #sig-storage on the Kubernetes Slack and on IRC channels in #gluster and #heketi at freenode network. And, of course, you are always welcomed to reach us via Issues and Pull Requests on GitHub. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论