Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select the latest available node image from the datasource #984

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robo-cap
Copy link
Member

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 23, 2025
@hyder
Copy link
Contributor

hyder commented Jan 29, 2025

Can you please provide test values?

@robo-cap
Copy link
Member Author

robo-cap commented Jan 30, 2025

Using this nodepool:

worker_pools                      = {
    demo = {
      description        = "Node pool with cluster autoscaler scheduling allowed",
      create             = true,
      mode               = "node-pool",
      size               = 1,
      os                 = "Oracle Linux",
      os_version         = "8",
      allow_autoscaler   = true,
      shape              = "VM.Standard.E4.Flex"
      ocpus              = 1,
      memory             = 8,
      boot_volume_size   = 50,
      image_type         = "oke"
      kubernetes_version = "v1.30.1"
    }
  }

With this patch I'm getting the following image:

node_source_details {
          + boot_volume_size_in_gbs = "50"
          + image_id                = "ocid1.image.oc1.iad.aaaaaaaajvtta4i5sq4pwx2375evyqk27kbyjcskfxjwz4vwxz6ersmmax6q"
          + source_type             = "image"
        }

With the previous version, I was getting:

node_source_details {
          + boot_volume_size_in_gbs = "50"
          + image_id                = "ocid1.image.oc1.iad.aaaaaaaajuy7q4fqhanf7xfjufb2spfbi75okuoi6xbibttvgheoeqs2fn2a"
          + source_type             = "image"
        }

ocid1.image.oc1.iad.aaaaaaaajvtta4i5sq4pwx2375evyqk27kbyjcskfxjwz4vwxz6ersmmax6q - Oracle-Linux-8.10-2024.09.30-0-OKE-1.30.1-747

ocid1.image.oc1.iad.aaaaaaaajuy7q4fqhanf7xfjufb2spfbi75okuoi6xbibttvgheoeqs2fn2a - Oracle-Linux-8.10-2024.07.31-0-OKE-1.30.1-720

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants