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

FEAT: [k8scluster] support k8snodegroupDynamic #1930

Merged

Conversation

sykim-etri
Copy link
Member

@sykim-etri sykim-etri commented Nov 18, 2024

본 PR은 k8sclusterDynamic API를 통해 생성한 k8scluster를 대상으로 k8snodegroup을 동적으로 생성할 수 있는 k8snodegroupDynamic API를 지원합니다.

o API changes

  • (add) /ns/{nsId}/k8snodegroupDynamic

o others

  • enable aws for k8scluster
  • fix some bugs related to k8sclusterDynamic
  • when creating shared subnets, try to assign different zone

Copy link
Member

@seokho-son seokho-son left a comment

Choose a reason for hiding this comment

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

@sykim-etri Thanks! a minor comment here. :)

// @Success 200 {object} model.TbK8sNodeGroupInfo
// @Failure 404 {object} model.SimpleMsg
// @Failure 500 {object} model.SimpleMsg
// @Router /ns/{nsId}/k8scluster/{k8sClusterId}/k8snodegroupDynamic [post]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// @Router /ns/{nsId}/k8scluster/{k8sClusterId}/k8snodegroupDynamic [post]
// @Router /ns/{nsId}/k8scluster/{k8sClusterId}/k8sNodeGroupDynamic [post]

need to keep api path lowerCamelCase for consistency.
(later, please check other API paths as well)

Copy link
Member Author

Choose a reason for hiding this comment

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

관련 API path들을 검토하여 lowerCamelCase 형식으로 업데이트하였습니다.

o API changes
  - (add) /ns/{nsId}/k8snodegroupDynamic

o others
  - enable aws for k8scluster
  - fix some bugs related to k8sclusterDynamic
  - when creating shared subnets, try to assign different zone
  - update API path as lowerCamelCase for consistency
@sykim-etri sykim-etri force-pushed the support-k8snodegroup-dynamic branch from 593ac94 to 6a17833 Compare November 19, 2024 06:43
@seokho-son
Copy link
Member

@sykim-etri Thank!

@seokho-son
Copy link
Member

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label Nov 19, 2024
@cb-github-robot cb-github-robot merged commit dba2390 into cloud-barista:main Nov 19, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This PR is approved and will be merged soon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants