1
1
# Create a workload cluster
2
2
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
+
3
9
The following Oracle Cloud Infrastructure (OCI) configuration parameters are available when creating a workload cluster on OCI:
4
10
5
11
| Parameter | Default Value | Description |
@@ -41,7 +47,7 @@ KUBERNETES_VERSION=v1.20.10 \
41
47
NAMESPACE=default \
42
48
WORKER_MACHINE_COUNT=1 \
43
49
clusterctl generate cluster < cluster-name> \
44
- --from < DEFAULT_TEMPLATE_FILE_URL > | kubectl apply -f -
50
+ --from cluster-template.yaml | kubectl apply -f -
45
51
```
46
52
47
53
## Using an Ubuntu custom image on bare metal instances
@@ -61,7 +67,7 @@ KUBERNETES_VERSION=v1.20.10 \
61
67
NAMESPACE=default \
62
68
WORKER_MACHINE_COUNT=1 \
63
69
clusterctl generate cluster < cluster-name> \
64
- --from < DEFAULT_TEMPLATE_FILE_URL > | kubectl apply -f -
70
+ --from cluster-template.yaml | kubectl apply -f -
65
71
```
66
72
67
73
## Using an Oracle Linux custom image on virtual instances
@@ -78,7 +84,7 @@ KUBERNETES_VERSION=v1.20.10 \
78
84
NAMESPACE=default \
79
85
WORKER_MACHINE_COUNT=1 \
80
86
clusterctl generate cluster < cluster-name> \
81
- --from < ORACLE_LINUX_TEMPLATE_FILE_URL > | kubectl apply -f -
87
+ --from cluster-template-oraclelinux.yaml | kubectl apply -f -
82
88
```
83
89
84
90
### Access workload cluster Kubeconfig
@@ -137,10 +143,11 @@ OCI_SSH_KEY=<ssh-key> \
137
143
clusterctl generate cluster < cluster-name> --kubernetes-version v1.20.10 \
138
144
--target-namespace default \
139
145
--control-plane-machine-count=1 \
140
- --from < ADDONS_TEMPLATE_FILE_URL > | kubectl apply -f -
146
+ --from cluster-template-oci-addons.yaml | kubectl apply -f -
141
147
```
142
148
143
149
[ antrea ] : ../networking/antrea.md
144
150
[ calico ] : ../networking/calico.md
145
151
[ cni ] : https://www.cni.dev/
146
152
[ 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