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

Add one click init MC Env script #940

Merged
merged 3 commits into from
Nov 8, 2021
Merged

Conversation

seokho-son
Copy link
Member

scripts/initMultiCloudEnv.sh

만 실행하면,

  • Cloud 리전 및 크리덴셜 등록
  • 공통 자원 (Image, Spec) 등록
  • 기본 네임스페이스 (명칭: ns01) 등록

을 모두 수행합니다.

이를 수행하면, /ns/{nsId}/mcisDynamic 를 활용하여, MCIS를 바로 생성할 수 있습니다.

####################################################################
## 0. List Cloud Connction Config(s)
####################################################################
[Cloud Region]

RegionName                   ProviderName  Region                                    Zone
----------                   ------------  ------                                    ----
alibaba-ap-northeast-1       ALIBABA       ap-northeast-1                            ap-northeast-1a
alibaba-ap-south-1           ALIBABA       ap-south-1                                ap-south-1a
alibaba-ap-southeast-1       ALIBABA       ap-southeast-1                            ap-southeast-1c
alibaba-ap-southeast-2       ALIBABA       ap-southeast-2                            ap-southeast-2a
alibaba-ap-southeast-3       ALIBABA       ap-southeast-3                            ap-southeast-3b
alibaba-ap-southeast-5       ALIBABA       ap-southeast-5                            ap-southeast-5b
alibaba-cn-beijing           ALIBABA       cn-beijing                                cn-beijing-h
alibaba-cn-chengdu           ALIBABA       cn-chengdu                                cn-chengdu-b
...
Load common Specs and Images. Do you want to proceed ? (y/n) : y

####################################################################
## Load common Image and Spec from asset files
## (assets/cloudspec.csv, assets/cloudimage.csv)
####################################################################

{
  "idList": [
    "image: alibaba-ap-northeast-1-ubuntu18-04",
    "image: alibaba-ap-south-1-ubuntu18-04",
    "image: alibaba-ap-southeast-1-ubuntu18-04",
    "image: alibaba-ap-southeast-2-ubuntu18-04",
    "image: alibaba-ap-southeast-3-ubuntu18-04",
    "image: alibaba-ap-southeast-5-ubuntu18-04",
    "image: alibaba-cn-beijing-ubuntu18-04",
    "image: alibaba-cn-chengdu-ubuntu18-04  [FAILED]",
    "image: alibaba-cn-guangzhou-ubuntu18-04",
Create default namespace (ns01). Do you want to proceed ? (y/n) : y

####################################################################
## 2. Namespace: Create (-x option for NameSpace Name)
####################################################################

{
  "message": "CreateNs(); The namespace ns01 already exists."
}

@jihoon-seo jihoon-seo merged commit beeebac into cloud-barista:main Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants