-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for enhanced cluster and virtual node pool
- Loading branch information
1 parent
cdd9474
commit b9cf802
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# OKE Enhanced Clusters and Virtual Nodes | ||
|
||
CAPOCI supports OKE [Enhanced Clusters][enhanced-cluster] and [Virtual Nodes][virtual-node-pool]. A cluster-template | ||
`cluster-template-managed-virtual-node.yaml` with Enhanced Cluster and Virtual Node Pool has been released in | ||
CAPOCI release artifacts which can be referred using the flavor `managed-virtual-node` in `clusterctl generate` | ||
command. | ||
|
||
|
||
## Create Enhanced Cluster | ||
The following `OCIManagedControlPlane` snippet can be used to create an enhanced OKE cluster. | ||
|
||
```yaml | ||
kind: OCIManagedControlPlane | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 | ||
spec: | ||
clusterType: "ENHANCED_CLUSTER" | ||
``` | ||
|
||
## Create Virtual Node Pool | ||
|
||
The following `OCIVirtualMachinePool` snippet can be used to create a Virtual Node Pool. Please read through [CAPOCI | ||
API Docs][api-docs] to see all the supported parameters of `OCIVirtualMachinePool`. | ||
|
||
```yaml | ||
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2 | ||
kind: OCIVirtualMachinePool | ||
spec: | ||
``` | ||
|
||
[enhanced-cluster]: https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcomparingenhancedwithbasicclusters_topic.htm | ||
[virtual-node-pool]: https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengworkingwithvirtualnodes.htm | ||
[api-docs]: ../reference/api-reference.md |