Name: longhorn-manager
Owner: Rancher
Description: Millions and millions of volumes orchestrated
Created: 2017-05-03 18:17:50.0
Updated: 2018-05-24 06:52:17.0
Pushed: 2018-05-24 09:09:27.0
Size: 6924
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Manager for Longhorn.
iscsiadm
/open-iscsi
has been installed on the host.jq
, findmnt
, curl
has been installed on the host, for the Longhorn Flexvolume Driver.make
kubectl create -Rf deploy
It will deploy the following components in the longhorn-system
namespace:
kubectl delete -Rf deploy
You will need to create cluster-admin role binding for yourselves before creating the deployment, see here for details.
ctl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=<name@example.com>
By default we're using the default Flexvolume Plugin directory, which is /usr/libexec/kubernetes/kubelet-plugins/volume/exec/
.
For GKE 1.8+, it should be at: /home/kubernetes/flexvolume
.
You may need to change deploy/deploy.yaml
volume flexvolume-longhorn-mount
location according to your own environment.
Copyright (c) 2014-2018 Rancher Labs, Inc.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.