Azure / Azure/aksArc

[BUG] Changing name of node pool cannot be upper case, but the wizard uses upper case by default.

Open
#344 0 comments 0 reactions 1 assignee Claimed by @rcheeran View on GitHub
Bug
Dominant language
PowerShell
Stars
118
Forks
63
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When deploying an hybrid aks cluster via the portal the wizard creates a node pool name based on the clustername which is my case was partly uppercase. But I also wanted to deploy a additional node pool so I tried changing the name to linuxnodepool1. Partly uppercase from beginning (first screenshot) no error. But got the error (see second screenshot) when i changed the name. Al lower case no issue's (third screenshot). Only first character lower case and rest upper also works (4th screenshot).

**To Reproduce**
Steps to reproduce the behavior:
1. Create a hybrid AKS cluster from the Azure portal.
2. Provide necessary details and info and go to the node pools option.
3. See screenshots for more info

**Expected behavior**
When case sensitivity matters make sure it is consistent and uppercase is not allowed at all. Or leave it as is and let the code in the background handle the changing of characters to all lower case. This is odd behavior.

**Screenshots**
![image](https://github.com/Azure/aks-hybrid/assets/17824200/feb3ac86-1711-4a67-9803-023100483f16)
![image](https://github.com/Azure/aks-hybrid/assets/17824200/d9c5caa5-aeb5-4315-8e07-2a2ab1f79015)
![image](https://github.com/Azure/aks-hybrid/assets/17824200/fd381676-8160-44b8-b1a1-acb3d75d0d23)
![image](https://github.com/Azure/aks-hybrid/assets/17824200/7ce1ba77-4904-426e-874c-770d71445694)

**Environment (please complete the following information):**
- OS: Azure Stack HCI OS 22H2
- Browser: Edge
- Version: 112.0.1722.64
- AKS-HCI Version: Resource bridge version 1.0.11
- Kubernetes Version: (v1.22.11)
- AZ CLI Version: "azure-cli": "2.46.0",
"azure-cli-core": "2.46.0",
"azure-cli-telemetry": "1.0.8",
"extensions": {
"arcappliance": "0.2.30",
"azurestackhci": "0.2.6",
"customlocation": "0.1.3",
"hybridaks": "0.2.1",
"k8s-extension": "1.4.0"
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.