Skip to content

Commit cecd8d9

Browse files
Fix template URLs (#3)
1 parent be6d8df commit cecd8d9

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

docs/src/gs/create-workload-cluster.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
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+
39
The 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 \
4147
NAMESPACE=default \
4248
WORKER_MACHINE_COUNT=1 \
4349
clusterctl 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 \
6167
NAMESPACE=default \
6268
WORKER_MACHINE_COUNT=1 \
6369
clusterctl 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 \
7884
NAMESPACE=default \
7985
WORKER_MACHINE_COUNT=1 \
8086
clusterctl 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> \
137143
clusterctl 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

docs/src/gs/install-cluster-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
```yaml
1919
providers:
2020
- name: oci
21-
url: OCI_CAPI_PROVIDER_LATEST_URL
21+
url: https://github.com/oracle/cluster-api-provider-oci/releases/v0.1.0/infrastructure-components.yaml
2222
type: InfrastructureProvider
2323
```
2424

0 commit comments

Comments
 (0)