-
Notifications
You must be signed in to change notification settings - Fork 51
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
[testclient/scripts] Need a bigger vNet's IP address range for K8s cluster in create-vNet.sh
#1409
Comments
@seokho-son MCIS 관련 테스트시 CIDR 값과의 관련성이 어느정도 있을까요? |
일단 해당 스크립트는 테스팅 목적만 가지고 있으므로, "IPv4_CIDR": "192.168.${CIDRDiff}.0/24" 로 subnet 대역만 변경해서, 250여개 IP만 제공하여 테스트하면 어떨까 싶은데, |
Azure에서 클러스터 생성(노드그룹1개 - Desired 1, Min 1, Max 1, Azure CNI)후 새로운 NodeGroup(1/1/1)을 추가하려는 경우 주소 공간이 적어 아래와 같은 에러가 리턴된 바 있습니다.--;
또는 Subnet 주소를 /24로 생성한 후 신규 NodeGroup(2/1/2)로 추가하는 경우는 더 많은 주소의 사전 할당이 필요하다고 나오기도 했습니다.
해당 로그에 대해 다시 생각해보니... 사전 할당 IP를 너무 많이 요구하고 있는 것으로 보여.. Azure용 CB-SP 드라이버쪽이나 Azure Console 등 상황을 한번 확인해보겠습니다. |
What would you like to be enhanced
: 테스트 스크립트 중 vNet 생성 스크립트인
create-vNet.sh
에서 테스트용 vNet 주소 공간의 확대가 필요합니다.Why is this needed
: 테스트 스크립트를 통해 vNet 생성시 주소 공간(cidrBlock, subnetInfoList.IPv4_CIDR)을 비교적 적게 할당하고 있기 때문에,
해당 vNet에서 쿠버네티스 클러스터 생성 시 주소 공간 부족에 따른 실패 현상이 발생하는 경우가 있습니다.(azure의 경우)
Proposed solution
: vNet의 CIDR를 24에서 21 정도로 상향하고, subnet의 CIDR를 28에서 22 정도로 상향
cb-tumblebug/src/testclient/scripts/3.vNet/create-vNet.sh
Lines 3 to 24 in f333bf8
The text was updated successfully, but these errors were encountered: