-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add RootDiskType, RootDiskSize handling feature #974
Add RootDiskType, RootDiskSize handling feature #974
Conversation
[Disk 와 관련된 field 관련] Spider: VMBootDisk string // ex) /dev/sda1
VMBlockDisk string // ex) 이번에 RootDiskType string // "SSD(gp2)", "Premium SSD", ...
RootDiskSize string // "default", "50", "1000" (GB)
RootDeviceName string // "/dev/sda1", ...
VMBootDisk string // Deprecated soon
VMBlockDisk string // ex) Tumblebug: VMBootDisk string `json:"vmBootDisk"` // ex) /dev/sda1
VMBlockDisk string `json:"vmBlockDisk"` 이 PR에서 RootDiskType string `json:"rootDiskType"`
RootDiskSize string `json:"rootDiskSize"`
RootDeviceName string `json:"rootDeviceName"`
VMBootDisk string `json:"vmBootDisk"` // ex) /dev/sda1
VMBlockDisk string `json:"vmBlockDisk"` [TB 정책] [TB 향후 방향] RootDiskType string `json:"rootDiskType"`
RootDiskSize string `json:"rootDiskSize"`
RootDeviceName string `json:"rootDeviceName"`
VMBootDisk string `json:"vmBootDisk"` // ex) /dev/sda1
VMBlockDisk string `json:"vmBlockDisk"` 중복성, API 하위호환성 등을 고려하여 |
@jihoon-seo 음... 일단 제 생각에는.. 다만 요청 필드에 omit 처리를 해주셔서, 사용자가 굳이 입력하지 않으면, 동작하지 않긴 하겠군요..^^ 테스트 스크립트에 관련 필드에 대한 예시 값이 입력되어 있는데, |
네 그런 것 같습니다 😊
일단 이 PR에서는 AWS만 테스트해 보았으며
위의 상황을 고려하여,
이렇게 하는 것이 좋을 것 같습니다. 😊 |
최신 |
81ef8a6
to
e83ad67
Compare
src/core/mcis/provisioning.go
Outdated
RootDiskType string `json:"rootDiskType,omitempty"` | ||
RootDiskSize string `json:"rootDiskSize,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RootDiskType string `json:"rootDiskType,omitempty"` | |
RootDiskSize string `json:"rootDiskSize,omitempty"` | |
RootDiskType string `json:"rootDiskType,omitempty" example:"default, TYPE1, ..."` // "", "default", "TYPE1", AWS: ["standard", "gp3"], Azure: ["PremiumSSD", "StandardHHD"], GCP: ["pd-standard", "pd-extreme"], ALIBABA: ["cloud_efficiency", "cloud_ssd"], TENCENT: ["CLOUD_PREMIUM", "CLOUD_SSD"] | |
RootDiskSize string `json:"rootDiskSize,omitempty" example:"default, 30, 42, ..."` // "default", Integer (GB): ["50", ..., "1000"] |
이런 식으로 라도 예시를 제공해줘야 할 것 같습니다. :)
예시 제공 관련 내용만 추가한 다음에 머지하고, 다른 CSP도 시험해보면 어떨까 합니다. |
e83ad67
to
4e32295
Compare
@seokho-son rebase 하였고, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :0
Alibaba 이용 시 주의 사항: cloud-barista/cb-spider#586
에 대해서
|
https://www.alibabacloud.com/help/en/doc-detail/89155.htm c가 없어졌어요; Japan (Tokyo)
|
GCP: |
[Related links]
[사용 방법]
MCIS/VM 생성 시, VM 명세에 다음과 같이 명시
[테스트 결과]
AWS 에 대해
TB -> SP 통해서 VM 만들 때
RootDiskSize
를 명시하면 적용이 되는 것은 확인했습니다.(참고: cloud-barista/cb-spider#531 )