harvester-csi-driver

command module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

Harvester CSI Driver

The Harvester Container Storage Interface (CSI) Driver provides a CSI interface used by guest kubernetes clusters in Harvester. It connects to the host cluster and hot-plug host volumes to the VMs to provide native storage performance.

Building

make

Deploying

Prerequisites
  • The Kubernetes cluster is built on top of Harvester virtual machines.
  • The Harvester virtual machines running as guest Kubernetes nodes are in the same namespace.
Deploying with Harvester RKE2 node driver

When spin up a kubernetes cluster using Rancher RKE2 node driver, the Harvester CSI driver will be deployed when harvester cloud provider is selected.

Deploying with Harvester RKE1 node driver
  1. Select the external cloud provider option.

  2. Generate addon configuration and add it in the rke config yaml.

# depend on kubectl to operate the Harvester
./deploy/generate_addon.sh <serviceaccount name> <namespace>

License

Copyright (c) 2023 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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
csi

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL