An open API service indexing awesome lists of open source software.

https://github.com/kubesphere/cluster-api-provider-qingcloud

The QingCloud provider implementation of the Cluster Management API
https://github.com/kubesphere/cluster-api-provider-qingcloud

Last synced: 2 months ago
JSON representation

The QingCloud provider implementation of the Cluster Management API

Awesome Lists containing this project

README

        

# Kubernetes Cluster API Provider QingCloud

------
Kubernetes-native declarative infrastructure for QingCloud.

## What is the Cluster API Provider QingCloud
The [Cluster API][cluster_api] brings
declarative, Kubernetes-style APIs to cluster creation, configuration and
management.

The API itself is shared across multiple cloud providers allowing for true QingCloud
hybrid deployments of Kubernetes. It is built atop the lessons learned from
previous cluster managers such as [kops][kops] and
[kubicorn][kubicorn].

## Launching a Kubernetes cluster on QingCloud
### Building OS image
Before using cluster-api-provider-qingcloud, you need to [build a system image](./docs/os-img.md) containing k8s components on QingCloud.
### Initialize the management cluster
#### Install Cluster-API
```shell
curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.1.3/clusterctl-linux-amd64 -o clusterctl
chmod +x ./clusterctl
sudo mv ./clusterctl /usr/local/bin/clusterctl
```
#### Init Cluster-API controllers
```shell
clusterctl init
```
#### Deploy cluster-api provider qingcloud
```shell
kubectl apply -f https://raw.githubusercontent.com/kubesphere/cluster-api-provider-qingcloud/main/manifests.yaml
```
#### Create api key secret for QingCloud
```shell
kubectl create secret generic -n capqc-system capqc-manager-bootstrap-credentials --from-literal=qy_access_key_id=${ACCESS_KEY_ID} --from-literal=qy_secret_access_key=${SECRET_ACCESS_KEY}
```
### Creating a workload cluster
#### Create cluster resource
```shell
cat <

[prow]: https://go.k8s.io/bot-commands
[issue]: https://github.com/kubernetes-sigs/cluster-api-provider-digitalocean/issues
[new_issue]: https://github.com/kubernetes-sigs/cluster-api-provider-digitalocean/issues/new
[good_first_issue]: https://github.com/kubernetes-sigs/cluster-api-provider-digitalocean/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22good+first+issue%22
[cluster_api]: https://github.com/kubernetes-sigs/cluster-api
[kops]: https://github.com/kubernetes/kops
[kubicorn]: http://kubicorn.io/
[tilt]: https://tilt.dev
[cluster_api_tilt]: https://master.cluster-api.sigs.k8s.io/developer/tilt.html