11# Create a workload cluster
22
3+ ## Workload Cluster Templates
4+
5+ The workload cluster templates can be downloaded from the [ latest released artifacts] [ latest-release ] .
6+
7+ ## Workload Cluster Parameters
8+
39The following Oracle Cloud Infrastructure (OCI) configuration parameters are available when creating a workload cluster on OCI:
410
511| Parameter | Default Value | Description |
@@ -41,7 +47,7 @@ KUBERNETES_VERSION=v1.20.10 \
4147NAMESPACE=default \
4248WORKER_MACHINE_COUNT=1 \
4349clusterctl generate cluster < cluster-name> \
44- --from < DEFAULT_TEMPLATE_FILE_URL > | kubectl apply -f -
50+ --from cluster-template.yaml | kubectl apply -f -
4551```
4652
4753## Using an Ubuntu custom image on bare metal instances
@@ -61,7 +67,7 @@ KUBERNETES_VERSION=v1.20.10 \
6167NAMESPACE=default \
6268WORKER_MACHINE_COUNT=1 \
6369clusterctl generate cluster < cluster-name> \
64- --from < DEFAULT_TEMPLATE_FILE_URL > | kubectl apply -f -
70+ --from cluster-template.yaml | kubectl apply -f -
6571```
6672
6773## Using an Oracle Linux custom image on virtual instances
@@ -78,7 +84,7 @@ KUBERNETES_VERSION=v1.20.10 \
7884NAMESPACE=default \
7985WORKER_MACHINE_COUNT=1 \
8086clusterctl generate cluster < cluster-name> \
81- --from < ORACLE_LINUX_TEMPLATE_FILE_URL > | kubectl apply -f -
87+ --from cluster-template-oraclelinux.yaml | kubectl apply -f -
8288```
8389
8490### Access workload cluster Kubeconfig
@@ -137,10 +143,11 @@ OCI_SSH_KEY=<ssh-key> \
137143clusterctl generate cluster < cluster-name> --kubernetes-version v1.20.10 \
138144--target-namespace default \
139145--control-plane-machine-count=1 \
140- --from < ADDONS_TEMPLATE_FILE_URL > | kubectl apply -f -
146+ --from cluster-template-oci-addons.yaml | kubectl apply -f -
141147```
142148
143149[ antrea ] : ../networking/antrea.md
144150[ calico ] : ../networking/calico.md
145151[ cni ] : https://www.cni.dev/
146152[ oci-ccm ] : https://github.com/oracle/oci-cloud-controller-manager
153+ [ latest-release ] : https://github.com/oracle/cluster-api-provider-oci/releases/tag/v0.1.0
0 commit comments