Skip to content

Conversation

galiacheng
Copy link
Contributor

This pull request includes updates to resolve deployment failure that is caused by insufficient memory.

Here are the most significant changes:

Version Update:

  • pom.xml: The version of the wls-on-aks-azure-marketplace has been updated from 1.0.76 to 1.0.78.

User Interface Improvements:

  • weblogic-azure-aks/src/main/arm/createUiDefinition.json: Added a new section in the UI for selecting VM sizes, and updated the sliders for minimum and maximum node count to use dynamic values based on the selected VM size and the WebLogic cluster size. Also, a section for node size selection has been moved and expanded with more constraints and options. [1] [2] [3]

Resource Validation:

  • weblogic-azure-aks/src/main/arm/scripts/inline-scripts/validateParameters.sh: Added a new function validate_memory_resources to check if the AKS cluster has sufficient memory resources based on the number of application replicas. The function is then called in the main script. [1] [2]
  • weblogic-azure-aks/src/main/bicep/mainTemplate.bicep, weblogic-azure-aks/src/main/bicep/modules/_deployment-scripts/_ds-validate-parameters.bicep: Passed the number of application replicas as a parameter to the validation script. [1] [2] [3]

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 14, 2024
"Standard_A1",
"Standard_A1_v2",
"Standard_F1",
"Standard_F1s",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"label": "Credentials for WebLogic",
"elements": [
{
"name": "listVMSizes",
Copy link
Contributor Author

@galiacheng galiacheng Jun 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move the REST API query to the Basics blade, then the data may be ready when it comes to AKS blade.

"label": "Minimum node count",
"min": "[add(1, div(add(12288, mul(if(empty(basics('basicsOptional').wlsClusterSize),5,basics('basicsOptional').wlsClusterSize), 1536)), first(filter(basics('basicsRequired').listVMSizes.value, (item) => equals(item.name, steps('section_aks').clusterInfo.nodeVMSizeSelector))).memoryInMB))]",
"defaultValue": 3,
"max": 1000,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same max value with AKS service.

@galiacheng galiacheng marked this pull request as draft June 14, 2024 15:24
@galiacheng
Copy link
Contributor Author

Have problem to work with Standard_A2_v2.

@galiacheng galiacheng marked this pull request as ready for review June 17, 2024 05:47
@galiacheng
Copy link
Contributor Author

Hello @edburns this PR is ready for review, including livenessProbe and readinessProbe tuning for A-series VM sizes.

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.

3 participants