Open rodrigc opened 1 year ago
@robo-cap in the meeting we had today, I mentioned I came up with this query:
kubectl get nodes --output=custom-columns='NAME:.metadata.name,POOL:.metadata.labels.oke\.oraclecloud\.com/pool\.name,CLUSTER_AUTOSCALER:.metadata.labels.oke\.oraclecloud\.com/cluster_autoscaler'
NAME POOL CLUSTER_AUTOSCALER
node01 pool1 managed
node02 pool1 managed
node03 pool2 managed
node04 pool1 managed
node05 pool5 managed
node06 pool3 managed
node07 pool2 managed
node08 pool4 managed
node09 pool1 managed
node10 pool5 managed
node11 pool6 allowed
node12 pool1 managed
node13 pool1 managed
node14 pool4 managed
node15 pool3 managed
node16 pool5 managed
node17 pool5 managed
node18 pool4 managed
node19 pool2 managed
node20 pool6 allowed
node21 pool5 managed
As part of clarifying the docs at https://oracle-terraform-modules.github.io/terraform-oci-oke/guide/workers_scaling.html
it would be good to improve the docs which explain what the values managed
, allowed
, disabled
for the label oke.oraclecloud.com/cluster_autoscaler
actually do.
It wasn't clear to me when reading the docs. Ali clarified in private conversations, but it would be good to have this in the docs.
In meeting I had on August 30, @robo-cap suggested that the improvements to the autoscaler docs for this module might benefit from having a link to the OCI autoscaler at: https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/oci#cluster-autoscaler-for-oracle-cloud-infrastructure-oci
I think this is a good idea, since it for users of this Terraform module, it will help those who need to set up or debug autoscaler issues.
The existing docs for the autoscaler at https://oracle-terraform-modules.github.io/terraform-oci-oke/guide/workers_scaling.html could use some clarification.
In private discussion with @hyder , he mentioned:
@robo-cap