/cloud-provider-harvester

Harvester Cloud Provider

Primary LanguageGoApache License 2.0Apache-2.0

Harvester Cloud Provider

Build Status Go Report Card Releases

Harvester Cloud Provider implements the Kubernetes Cloud Controller Manager and makes Harvester a Kubernetes cloud provider.

Manifests and Deploying

Before deploying the Harvester cloud provider, your Kubernetes should be configured to allow external cloud providers.
The ./manifests folder contains useful YAML manifests to use for deploying and developing the Harvester Cloud provider. The simply YAML creates a Deployment using the rancher/harvester-cloud-provider container.
It's recommended to deploy the Harvester cloud provider at the same time when spin up the Kubernetes cluster using the Harvester node driver.

Deploy in the RKE

  • Select the external cloud provider option.

  • Generate addon configuration and add it in the rke yaml.

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

Deploy in the RKE2

Select the harvester cloud provider, and the node driver will help deploy both the CSI driver and CCM automatically.

Helm chart

To find the helm chart in the harvester helm chart repo.

License

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