Skip to content

Commit

Permalink
Add support for enhanced cluster and virtual node pool
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamradhakrishnan committed May 30, 2023
1 parent cdd9474 commit b9cf802
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
- [Custom Networking](./networking/custom-networking.md)
- [Private Cluster](./networking/private-cluster.md)
- [Managed Clusters (OKE)](./managed/managedcluster.md)
- [Virtual Nodes and Enhanced Clusters](./managed/virtual-nodes-and-enhanced-clusters.md)
- [Boot volume expansion](./managed/boot-volume-expansion.md)
- [Networking customizations](./managed/networking.md)
- [Reference](./reference/reference.md)
Expand Down
32 changes: 32 additions & 0 deletions docs/src/managed/virtual-nodes-and-enhanced-clusters.md
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

0 comments on commit b9cf802

Please sign in to comment.