Skip to content

Commit 1cf9a74

Browse files
authored
docs: updated docs, changed all references to OKE (#966)
Signed-off-by: Ali <[email protected]>
1 parent ce2de7a commit 1cf9a74

File tree

8 files changed

+34
-53
lines changed

8 files changed

+34
-53
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ Documentation for this module is available at:
66

77
- [Terraform OKE Module](https://oracle-terraform-modules.github.io/terraform-oci-oke/)
88

9-
This project implements a reusable Terraform module for [Oracle Cloud Infrastructure (OCI)](https://cloud.oracle.com/cloud-infrastructure) to provision an [Oracle Container Engine for Kubernetes (OKE)](https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm) cluster with supporting infrastructure.
9+
This project implements a reusable Terraform module for [Oracle Cloud Infrastructure (OCI)](https://cloud.oracle.com/cloud-infrastructure) to provision an [OCI Kubernetes Engine (OKE)](https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm) cluster with supporting infrastructure.
1010

1111

1212
## Further Documentation
1313

1414
- [Terraform OCI Provider](https://www.terraform.io/docs/providers/oci/index.html)
1515
- [Oracle Cloud Infrastructure](https://docs.cloud.oracle.com/iaas/Content/home.htm)
16-
- [Oracle Container Engine](https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm)
16+
- [OCI Kubernetes Engine](https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm)
1717

1818
## Acknowledgement
1919

@@ -24,4 +24,4 @@ Code derived and adapted from [Terraform OKE Sample](https://github.com/terrafor
2424
Learn how to [contribute](./CONTRIBUTING.md).
2525

2626
## License
27-
Copyright (c) 2017, 2023 Oracle Corporation and/or its affiliates. Licensed under the [Universal Permissive License 1.0](./LICENSE) as shown at [https://oss.oracle.com/licenses/upl](https://oss.oracle.com/licenses/upl/).
27+
Copyright (c) 2017, 2024 Oracle Corporation and/or its affiliates. Licensed under the [Universal Permissive License 1.0](./LICENSE) as shown at [https://oss.oracle.com/licenses/upl](https://oss.oracle.com/licenses/upl/).

docs/clusterautoscaler.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
= Using the Oracle Container Engine for Kubernetes Cluster Autoscaler
1+
= Using the OKE Cluster Autoscaler
22
:idprefix:
33
:idseparator: -
44
:sectlinks:
@@ -23,7 +23,7 @@
2323
:uri-upgrade-oke: https://docs.cloud.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengupgradingk8sworkernode.htm
2424
:uri-variables: {uri-rel-file-base}/variables.tf
2525

26-
This section documents how to deploy the Oracle Container Engine for Kubernetes (OKE) Cluster Autoscaler when using this project. At a high level, deploying the Kubernetes Cluster Autoscaler consists of 3 steps:
26+
This section documents how to deploy the OCI Kubernetes Engine(OKE) Cluster Autoscaler when using this project. At a high level, deploying the Kubernetes Cluster Autoscaler consists of 3 steps:
2727

2828
1. Deploy an _unmanaged_ node pool i.e. a node pool that is not managed by the Kubernetes Cluster Autoscaler. We'll refer to this node pool as the _autoscaler_ node pool.
2929
2. Create a dynamic group and policy to allow worker nodes to manage node pools. The dynamic group uses defined tags to add worker nodes from the autoscaler node pool to the managed node pools.

docs/src/gs/gs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ kubectl is installed on the operator host by default and the kubeconfig file is
170170
****
171171
The `instance principal` of the operator must be granted `MANAGE` on target cluster for configuration of an admin user context.
172172
* [Steps to Enable Instances to Call Services](https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm#setup)
173-
* [Writing Policies for Container Engine for Kubernetes](https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/contengpolicyreference.htm)
173+
* [Writing Policies for OCI Kubernetes Engine](https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/contengpolicyreference.htm)
174174
****
175175

176176
An alias "*k*" will be created for kubectl on the operator host.

docs/src/gs/intro.md

Lines changed: 21 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[uri-terraform-oci-drg]: https://github.com/oracle-terraform-modules/terraform-oci-drg
88
[uri-terraform-oci-oke]: https://github.com/oracle-terraform-modules/terraform-oci-oke
99
[uri-terraform-options]: ./inputs_submodule.html#cluster
10-
# Oracle Container Engine for Kubernetes (OKE) Terraform Module
10+
# OCI Kubernetes Engine (OKE) Terraform Module
1111

1212
## Introduction
1313

@@ -24,45 +24,26 @@ The documentation here is still being reorganised.
2424
## News
2525

2626
***
27-
### May 20 2024: Announcing v5.1.7
28-
- fix symlinks issues and cluster autoscaler defaults override
29-
30-
### May 18 2024: Announcing v5.1.6
31-
- fix: versions file in submodules
32-
33-
### April 11 2024: Announcing v5.1.5
34-
- Create OKE VCN DRG attachment when existing DRG is specified
35-
- fix FSS NSGs
36-
37-
### March 28 2024: Announcing v5.1.4
38-
- add nodepool support for max_pods_per_node
39-
- Add service account extension
40-
- Improve logic for kube_config datasource
41-
- fix: Remove unknown resource counts from derived inputs
42-
- fix issue introduced by #909 with new clusters and #873
43-
44-
### March 4 2024: Announcing v5.1.3
45-
- Fix in NSG rule for health check (incorrect direction, or incorrect description?)
46-
- feat: Configurable boot volume VPUs/GB on self-managed
47-
- docs: example of using this module in multi-cluster mode with Istio
48-
- Fix : Wrong control_plane_is_public behavior for OKE cluster
49-
- Update drg module version.
50-
51-
### February 6 2024: Announcing v5.1.2
52-
- Improve operator package installation
53-
54-
### January 17 2024: Announcing v5.1.1
55-
- feat: upgraded default Autonomous Linux to 8.8 by
56-
- fix: operator nsg is not created when cluster is disabled
57-
- feat: added ability to create rpc to peer vcn to other vcns
58-
59-
### November 29 2023: Announcing release v5.1.0
60-
- added Cilium CNI
61-
- https://github.com/oracle-terraform-modules/terraform-oci-oke/releases/tag/v5.1.0
62-
63-
***
64-
### October 25 2023: Announcing release v5.0.0
65-
- https://github.com/oracle-terraform-modules/terraform-oci-oke/releases
27+
### December 4, 2024: Announcing v5.2.2
28+
- feat: add support to reference module nsgs in the nsg rules
29+
30+
### November 18, 2024: Announcing v5.2.1
31+
- fix: operator custom cloud-init error by @mcouto-sossego in #950
32+
- feat: added rules to allow UDP to be used for node port ranges by @robo-cap in #961
33+
34+
### November 7, 2024: Announcing v5.2.0
35+
- Add support for stateless rules
36+
- Fix KMS policy - cluster dependency
37+
- Add cluster addon support
38+
- Allow cloud-init update for nodepools
39+
- Add several improvements and fixes
40+
- Cilium extension upgrade to 1.16
41+
- Fix pod nsg bug
42+
43+
### July 9, 2024: Announcing v5.1.8
44+
- allow user to add additional rules to the workers NSG
45+
- docs: updated main page, mdbook component versions
46+
- Add support to ignore_initial_pool_size attribute on nodepools
6647

6748
<!-- ***
6849
### August 24 2023: Announcing release v5.0.0-RC5

docs/src/guide/identity_policies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
* [Managing Dynamic Groups](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingdynamicgroups.htm)
1212
* [Managing Policies](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingpolicies.htm)
1313
* [Policy Configuration for Cluster Creation and Deployment](https://docs.oracle.com/en-us/iaas/Content/ContEng/Concepts/contengpolicyconfig.htm)
14-
* [About Access Control and Container Engine for Kubernetes](https://docs.oracle.com/en-us/iaas/Content/ContEng/Concepts/contengaboutaccesscontrol.htm)
14+
* [About Access Control and OCI Kubernetes Engine](https://docs.oracle.com/en-us/iaas/Content/ContEng/Concepts/contengaboutaccesscontrol.htm)
1515
* [KMS](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm)

docs/src/guide/terraform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ kubectl installed on the operator host by default and the kubeconfig file is set
2828
****
2929
The `instance principal` of the operator must be granted `MANAGE` on target cluster for configuration of an admin user context.
3030
* [Steps to Enable Instances to Call Services](https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm#setup)
31-
* [Writing Policies for Container Engine for Kubernetes](https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/contengpolicyreference.htm)
31+
* [Writing Policies for OCI Kubernetes Engine](https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/contengpolicyreference.htm)
3232
****
3333

3434
An alias "*k*" will be created for kubectl on the operator host.

docs/src/guide/workers_node_cycle.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Cycling nodes simplifies both the upgrading of the Kubernetes and host OS versions running on the managed worker nodes, and the updating of other worker node properties.
55

6-
When you set `node_cycling_enabled` to `true` for a node pool, Container Engine for Kubernetes will compare the properties of the existing nodes in the node pool with the properties of the node_pool. If any of the following attributes is not aligned, the node is marked for replacement:
6+
When you set `node_cycling_enabled` to `true` for a node pool, OKE will compare the properties of the existing nodes in the node pool with the properties of the node_pool. If any of the following attributes is not aligned, the node is marked for replacement:
77
- `kubernetes_version`
88
- `node_labels`
99
- `compute_shape` (`shape`, `ocpus`, `memory`)
@@ -16,9 +16,9 @@ When you set `node_cycling_enabled` to `true` for a node pool, Container Engine
1616
- `volume_kms_key_id`
1717
- `pv_transit_encryption`
1818

19-
The `node_cycling_max_surge` (default: `1`) and `node_cycling_max_unavailable` (default: `0`) node_pool attributes can be configured with absolute values or percentage values, calculated relative to the node_pool `size`. These attributes determine how the Container Engine for Kubernetes will replace the nodes with a stale config in the node_pool.
19+
The `node_cycling_max_surge` (default: `1`) and `node_cycling_max_unavailable` (default: `0`) node_pool attributes can be configured with absolute values or percentage values, calculated relative to the node_pool `size`. These attributes determine how OKE will replace the nodes with a stale config in the node_pool.
2020

21-
When cycling nodes, the Container Engine for Kubernetes cordons, drains, and terminates nodes according to the node pool's cordon and drain options.
21+
When cycling nodes, the OKE cordons, drains, and terminates nodes according to the node pool's cordon and drain options.
2222

2323
**Notes:**
2424
- It's strongly recommended to use [readiness probes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes) and [PodDisruptionBudgets](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) to reduce the impact of the node replacement operation.
@@ -40,4 +40,4 @@ When cycling nodes, the Container Engine for Kubernetes cordons, drains, and ter
4040
## References
4141
* [oci_containerengine_node_pool](https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/containerengine_node_pool)
4242
* [Performing an In-Place Worker Node Update by Cycling Nodes in an Existing Node Pool](https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengupgradingimageworkernode_topic-Performing_an_InPlace_Worker_Node_Update_By_Cycling_an_Existing_Node_Pool.htm)
43-
* [Introducing On Demand Node Cycling for Oracle Container Engine for Kubernetes](https://blogs.oracle.com/cloud-infrastructure/post/node-cycling-container-engine-kubernetes-oke)
43+
* [Introducing On Demand Node Cycling for OCI Kubernetes Engine](https://blogs.oracle.com/cloud-infrastructure/post/node-cycling-container-engine-kubernetes-oke)

examples/rms/oke-workers-only/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ variables:
113113
create_iam_worker_policy:
114114
title: Authorize instance(s) to join the target cluster
115115
description: |
116-
Create the required Identity policy with a dynamic group to authorize self-managed worker node membership for an OKE cluster, e.g. `Allow dynamic-group ... to {CLUSTER_JOIN} in compartment id ... where { target.cluster.id = '...' }`. See <a href=https://docs.oracle.com/en-us/iaas/Content/Identity/policyreference/contengpolicyreference.htm#Details_for_Container_Engine_for_Kubernetes>Container Engine for Kubernetes Self-managed nodes</a> for more information.
116+
Create the required Identity policy with a dynamic group to authorize self-managed worker node membership for an OKE cluster, e.g. `Allow dynamic-group ... to {CLUSTER_JOIN} in compartment id ... where { target.cluster.id = '...' }`. See <a href=https://docs.oracle.com/en-us/iaas/Content/Identity/policyreference/contengpolicyreference.htm#Details_for_Container_Engine_for_Kubernetes>OKE Self-managed nodes</a> for more information.
117117
type: boolean
118118
default: false
119119
required: true

0 commit comments

Comments
 (0)