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

chore: disable NFS scale down #322

Merged
merged 2 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ proxy_url = VALUE
| <a name="input_function_app_storage_account_prefix"></a> [function\_app\_storage\_account\_prefix](#input\_function\_app\_storage\_account\_prefix) | Weka storage account name prefix | `string` | `"weka"` | no |
| <a name="input_function_app_subnet_delegation_cidr"></a> [function\_app\_subnet\_delegation\_cidr](#input\_function\_app\_subnet\_delegation\_cidr) | Subnet delegation enables you to designate a specific subnet for an Azure PaaS service. | `string` | `"10.0.1.0/25"` | no |
| <a name="input_function_app_subnet_delegation_id"></a> [function\_app\_subnet\_delegation\_id](#input\_function\_app\_subnet\_delegation\_id) | Required to specify if subnet\_name were used to specify pre-defined subnets for weka. Function subnet delegation requires an additional subnet, and in the case of pre-defined networking this one also should be pre-defined | `string` | `""` | no |
| <a name="input_function_app_version"></a> [function\_app\_version](#input\_function\_app\_version) | Function app code version (hash) | `string` | `"0ed7126637c947d29d5051c1e0fd07d3"` | no |
| <a name="input_function_app_version"></a> [function\_app\_version](#input\_function\_app\_version) | Function app code version (hash) | `string` | `"8d7a869712d82a72fbf056fb583bc55d"` | no |
| <a name="input_get_weka_io_token"></a> [get\_weka\_io\_token](#input\_get\_weka\_io\_token) | The token to download the Weka release from get.weka.io. | `string` | `""` | no |
| <a name="input_hotspare"></a> [hotspare](#input\_hotspare) | Number of hotspares to set on weka cluster. Refer to https://docs.weka.io/overview/ssd-capacity-management#hot-spare | `number` | `1` | no |
| <a name="input_install_cluster_dpdk"></a> [install\_cluster\_dpdk](#input\_install\_cluster\_dpdk) | Install weka cluster with DPDK | `bool` | `true` | no |
Expand Down
2 changes: 1 addition & 1 deletion function-app/code/functions/fetch/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func Handler(w http.ResponseWriter, r *http.Request) {
stateBlobName := os.Getenv("STATE_BLOB_NAME")
nfsStateContainerName := os.Getenv("NFS_STATE_CONTAINER_NAME")
nfsStateBlobName := os.Getenv("NFS_STATE_BLOB_NAME")
nfsScaleSetName := os.Getenv("NFS_VMSS_NAME")
nfsScaleSetName := "" //Disabling Scale down. To return support, need to change to: 'os.Getenv("NFS_VMSS_NAME")'
subscriptionId := os.Getenv("SUBSCRIPTION_ID")
resourceGroupName := os.Getenv("RESOURCE_GROUP_NAME")
prefix := os.Getenv("PREFIX")
Expand Down
6 changes: 3 additions & 3 deletions modules/clients/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ resource "azurerm_public_ip" "public_ip" {
name = "${var.clients_name}-public-ip-${count.index}"
resource_group_name = var.rg_name
location = data.azurerm_resource_group.rg.location
allocation_method = "Static"
sku = "Standard"
tags = var.tags_map
allocation_method = "Static"
sku = "Standard"
tags = var.tags_map
}

resource "azurerm_network_interface" "public_first_nic" {
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ variable "function_app_storage_account_container_prefix" {
variable "function_app_version" {
type = string
description = "Function app code version (hash)"
default = "0ed7126637c947d29d5051c1e0fd07d3"
default = "8d7a869712d82a72fbf056fb583bc55d"
}

variable "function_app_dist" {
Expand Down