You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Machine pool names on openshift must be under 30 characters long, whilst for NodePools on HyperShift the character limit is 15. Failing to produce a name under the character limit will prevent scaling up.
The name is generated as so within instascale: machinePoolID := strings.ReplaceAll(aw.Name+"-"+userRequestedInstanceType, ".", "-")
This does not provide a user with feedback as to whether the name is under 30 characters when trying to scale up, and therefore may be overseen, as they can still create the appwrapper without failing.
For example, creating an appwrapper with the name: machinepool-scaleup-example
will succeed, however the machinepoolID may be set to machinepool-scaleup-example-g4dn-xlarge which will not scale as it is over the character count.
Suggestions could be to:
alter the ID creation method within instascale to remove this possibility
return an error within the sdk, as to ensure the user gets notified during the appwrapper creation.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Describe the Bug
Machine pool names on openshift must be under 30 characters long, whilst for NodePools on HyperShift the character limit is 15. Failing to produce a name under the character limit will prevent scaling up.
The name is generated as so within instascale:
machinePoolID := strings.ReplaceAll(aw.Name+"-"+userRequestedInstanceType, ".", "-")
This does not provide a user with feedback as to whether the name is under 30 characters when trying to scale up, and therefore may be overseen, as they can still create the appwrapper without failing.
For example, creating an appwrapper with the name: machinepool-scaleup-example
will succeed, however the machinepoolID may be set to machinepool-scaleup-example-g4dn-xlarge which will not scale as it is over the character count.
Suggestions could be to:
The text was updated successfully, but these errors were encountered: