oci-cloudnative icon indicating copy to clipboard operation
oci-cloudnative copied to clipboard

K8s at 1.25.4

Open agregory999 opened this issue 1 year ago • 4 comments

Do we need to update the auto-scaler if we want to use 1.25?

https://github.com/oracle-quickstart/oci-cloudnative/blob/master/deploy/complete/terraform/oke-autoscaler.tf

agregory999 avatar Apr 07 '23 18:04 agregory999

The update is coming with the next release of the terraform stack

junior avatar Apr 11 '23 19:04 junior

Unfortunately, the current versioning of the autoscaler does not allow you to automatically get the latest. I've worked in a new script that do best effort, which means that will try to use the matching images (k8s == OKE autoscaler), if not, use the latest known version. This will prevent issues with new versions and the only caveat would be that will not support new features until the correct image version is used. There's no APIs to get OKE autoscaler image version. That's the current:

{
    "Repository": "us-ashburn-1.ocir.io/oracle/oci-cluster-autoscaler",
    "Tags": [
        "1.17-2021.02",
        "1.17-2021.03",
        "1.18-2021.02",
        "1.18-2021.03",
        "1.18.3-4",
        "1.19-2021.03",
        "1.19-2021.08.03",
        "1.19.1-2",
        "1.19.1-4",
        "1.19.1-8",
        "1.20.0-2",
        "1.20.0-4",
        "1.20.0-6",
        "1.21.1-1",
        "1.21.1-3",
        "1.22.2-4",
        "1.23.0-4",
        "1.24.0-5",
        "1.25.0-6"
    ]
}

Note that the number after the dash is not predictable (The number before is not either, but can workaround), that's why need the script to match.

junior avatar Apr 11 '23 19:04 junior

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Apr 26 '23 00:04 github-actions[bot]

You can use the 1.25 image for a 1.25 or 1.26 cluster right now. Note that the cluster-autoscaler OCI repo is being merged in the kubernetes autoscaler public repo and in the future (starting at 1.27) the autoscaler will be built from there. Beware also that when that happens, the provider is going to be oci as the 2 providers oci and oci-oke are being merged in to 1

streamnsight avatar May 01 '23 18:05 streamnsight

Stack fixed, updated and tested up to OKE 1.29

junior avatar Mar 31 '24 04:03 junior