You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://sigs.k8s.io/cluster-api-provider-ibmcloud/releases"Cluster API provider IBM Cloud latest release")
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
6
-
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
7
-
**Table of Contents***generated with [DocToc](https://github.com/thlorenz/doctoc)*
8
-
9
-
-[Kubernetes Cluster API Provider IBM Cloud](#kubernetes-cluster-api-provider-ibm-cloud)
10
-
-[What is the Cluster API Provider IBM Cloud](#what-is-the-cluster-api-provider-ibm-cloud)
11
-
-[Getting Started](#getting-started)
12
-
-[Prerequisites](#prerequisites)
13
-
-[How to provision a simple workload cluster in IBM Cloud VPC Gen2 from local bootstrap cluster](#how-to-provision-a-simple-workload-cluster-in-ibm-cloud-vpc-gen2-from-local-bootstrap-cluster)
-[Provision local boostrap management cluster:](#provision-local-boostrap-management-cluster)
16
-
-[Provision Workload Cluster in IBM Cloud VPC](#provision-workload-cluster-in-ibm-cloud-vpc)
17
-
-[Community, discussion, contribution, and support](#community-discussion-contribution-and-support)
18
-
-[Code of conduct](#code-of-conduct)
19
-
20
-
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
21
-
22
5
# Kubernetes Cluster API Provider IBM Cloud
23
6
24
7
<ahref="https://github.com/kubernetes-sigs/cluster-api"><imgsrc="https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png"width="100"></a><ahref="https://www.ibm.com/cloud/"><imghspace="90px"src="./docs/images/ibm-cloud.svg"alt="Powered by IBM Cloud"height="100"></a>
@@ -31,204 +14,31 @@ This repository hosts a concrete implementation of an IBM Cloud provider for the
31
14
32
15
The [Cluster API](https://github.com/kubernetes-sigs/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 IBM Cloud hybrid deployments of Kubernetes.
33
16
34
-
## Getting Started
35
-
36
-
### Prerequisites
37
-
38
-
1. Install `kubectl` (see [here](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-binary-with-curl-on-linux)). Because `kustomize` was included into `kubectl` and it's used by `cluster-api-provider-ibmcloud` in generating yaml files, so version `1.14.0+` of `kubectl` is required, see [integrate kustomize into kubectl](https://github.com/kubernetes/enhancements/issues/633) for more info.
39
-
2. You can use either VM, container or existing Kubernetes cluster act as the bootstrap cluster.
40
-
- If you want to use container, install [kind](https://github.com/kubernetes-sigs/kind#installation-and-usage). This is preferred.
41
-
- If you want to use VM, install [minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/), version 0.30.0 or greater.
42
-
- If you want to use existing Kubernetes cluster, prepare your kubeconfig.
43
-
3. Install a [driver](https://github.com/kubernetes/minikube/blob/master/docs/drivers.md)**if you are using minikube**. For Linux, we recommend kvm2. For MacOS, we recommend VirtualBox.
44
-
4. An appropriately configured [Go development environment](https://golang.org/doc/install)
45
-
5. Install `clusterctl` tool (see [here](https://cluster-api.sigs.k8s.io/user/quick-start.html#install-clusterctl))
46
-
47
-
## How to provision a simple workload cluster in IBM Cloud VPC Gen2 from local bootstrap cluster
48
-
49
-
### Build workload cluster image:
50
-
51
-
1. Build a qcow2 image suitable for use as a Kubernetes cluster machine as detailed in the image builder [book](https://image-builder.sigs.k8s.io/capi/providers/raw.html).
52
-
53
-
**Note:** Rename the output image to add the `.qcow2` extension. This is required by the next step.
54
-
55
-
56
-
2. Create a VPC Gen2 custom image based on the qcow2 image built in the previous step as detailed in the VPC [documentation](https://cloud.ibm.com/docs/vpc?topic=vpc-planning-custom-images).
57
-
58
-
### Provision local boostrap management cluster:
59
-
60
-
1. Create simple, local bootstrap cluster with a control-plane and worker node
61
-
62
-
Using [kind](https://kind.sigs.k8s.io/docs/user/quick-start/):
The sample IAM_ENDPOINT below points to Production and the SERVICE_ENDPOINT points to the `us-east` VPC region. Make sure these values reflect your target VPC environment in IBM Cloud.
## Compatibility with Cluster API and Kubernetes Versions
218
27
219
-
7. Experiment with machinedeployment alterations in your management cluster
28
+
This provider's versions are compatible with the following versions of Cluster API:
220
29
221
-
With your management *(local)* and workload *(IBM Cloud)* clusters successfully provisioned, you can now experiment with altering the number of machine deployment replicas in your management cluster and see the replica counts reconciled in your workload cluster.
0 commit comments