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

[NCPVPC:PMKS] When creating a cluster in Ncloud Kubernetes Service, it requires subnets (for Private/Public Load Balancer and for NAT Gateway) and NAT Gateway #1021

Open
sykim-etri opened this issue Jan 24, 2024 · 2 comments
Labels
question Further information is requested

Comments

@sykim-etri
Copy link
Member

NCP VPC 환경에서 쿠버네티스 클러스터를 생성하기 위해서 사전에 필요한 자원이 몇가지 있으며, 그 중 사용자 요청 없이 임의로 생성해야 하는 자원들이 있는 상황입니다.

NCPVPC 드라이버의 NLB 핸들러를 살펴보니 Load Balancer Subnet을 임의로 생성하고 삭제하는 기능이 포함되어 있는 것으로 보입니다.

ncpNlbSubnetInfo, err := nlbHandler.CreatNcpSubnetForNlbOnly(irs.IID{SystemId: *ncpVPCInfo.VpcNo}, subnetReqInfo) // Waitting time Included

마찬가지 방식으로 쿠버네티스 클러스터 생성할 때도 임의 생성/삭제하는 방식으로 개발하는 것이 나을지 또는 다른 대안이 있을지 등에 대한 의견을 부탁드립니다.

  • 임의 생성/삭제 필요 자원
    • Load Balancer Subnet for Private
    • Load Balancer Subnet for Public
    • Subnet for NAT Gateway
    • NAT Gateway (Outbound용)

@powerkimhub @innodreamer

@sykim-etri sykim-etri added the question Further information is requested label Jan 24, 2024
@powerkimhub
Copy link
Member

@sykim-etri @innodreamer

  • 기본적으로는, Spider API로 제공하는 자원은 사용자가 생성 후 PMKS 생성시 인자로 활용

    • 단, PMKS 생성 인자로 넘겨지는 자원일 경우
  • 그 외 자원은 현재는 Driver 내에서 생성/삭제 등 자체 관리

    • 단, 다음 링크에 이슈 입력
    • 향후, Driver에서 자체 관리하던 자원을 Spider에서 지원시,
      • 사용자가 생성 후 인자 입력으로 개선 가능성 고려
      • 그런데, NAT G/W 같은 경우는 타 CSP들이 거의 사용하지 않는 다면,
        • 계속해서 Driver 관리로 남을 수도 있겠습니다.

@powerkimhub
Copy link
Member

@sykim-etri sykim-etri changed the title [NCPVPC-PMKS] When creating a cluster in Ncloud Kubernetes Service, it requires subnets (for Private/Public Load Balancer and for NAT Gateway) and NAT Gateway [NCPVPC:PMKS] When creating a cluster in Ncloud Kubernetes Service, it requires subnets (for Private/Public Load Balancer and for NAT Gateway) and NAT Gateway Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants