Skip to content

Commit 06e083b

Browse files
devoncrousehyder
authored andcommitted
fix: Update Cluster Autoscaler docs, image tag
Signed-off-by: Devon Crouse <[email protected]>
1 parent 36b6bd4 commit 06e083b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

docs/src/guide/extensions_cluster_autoscaler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Deployed using the [cluster-autoscaler Helm chart](https://github.com/kubernetes
55
The following parameters may be added on each pool definition to enable management or scheduling of the cluster autoscaler:
66
* `allow_autoscaler`: Enable scheduling of the cluster autoscaler deployment on a pool by adding a node label matching the deployment's nodeSelector, and an OCI tag for use with [IAM tag-based policies](https://docs.oracle.com/en-us/iaas/Content/Tagging/Tasks/managingaccesswithtags.htm) granting access to the instances.
77
* `autoscale`: Enable cluster autoscaler management of the pool by including a `--nodes` argument for it.
8-
* `minSize`: Define the minimum scale of a pool managed by the cluster autoscaler. Defaults to `size` when not provided.
9-
* `maxSize`: Define the minimum scale of a pool managed by the cluster autoscaler. Defaults to `size` when not provided.
8+
* `min_size`: Define the minimum scale of a pool managed by the cluster autoscaler. Defaults to `size` when not provided.
9+
* `max_size`: Define the maximum scale of a pool managed by the cluster autoscaler. Defaults to `size` when not provided.
1010

1111
### Usage
1212
```javascript

examples/workers/vars-workers-autoscaling.auto.tfvars

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
worker_pools = {
77
np-autoscaled = {
88
description = "Node pool managed by cluster autoscaler",
9-
size = 1,
10-
size_max = 2,
9+
size = 2,
10+
min_size = 1,
11+
max_size = 3,
1112
autoscale = true,
1213
},
1314
np-autoscaler = {

modules/extensions/autoscaler.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ locals {
3636
"extraEnv.OKE_USE_INSTANCE_PRINCIPAL" = "true",
3737
"extraEnv.OCI_SDK_APPEND_USER_AGENT" = "oci-oke-cluster-autoscaler",
3838
"image.repository" = "iad.ocir.io/oracle/oci-cluster-autoscaler",
39-
"image.tag" = "1.24.0-5",
39+
"image.tag" = "1.26.2-7",
4040
}
4141
}
4242

0 commit comments

Comments
 (0)