@bifos/nhncloud-cli 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/dist/index.js +5056 -4979
- package/package.json +1 -1
- package/skills/nhncloud-cli/references/ncs.md +1 -2
package/README.md
CHANGED
|
@@ -19,15 +19,18 @@ npm install -g @bifos/nhncloud-cli
|
|
|
19
19
|
nhncloud configure
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
- profile → UAK(id/secret) → logncrash appkey/secret → iaas 자격증명 → ncr appkey 순으로 입력한다.
|
|
22
|
+
- profile → UAK(id/secret) → logncrash appkey/secret → iaas 자격증명 → ncr appkey → ncs appkey 순으로 입력한다.
|
|
23
|
+
- profile 은 프로젝트 단위다 — 여러 NHN Cloud 프로젝트를 쓰면 profile 을 분리하되, 같은 UAK 를 쓴다면
|
|
24
|
+
대화형 마법사가 기존 profile 의 UAK 재사용 여부를 먼저 물어 재입력을 줄여준다.
|
|
23
25
|
- 저장 전 연결 테스트를 자동으로 수행한다 (`--no-verify` 로 생략 가능).
|
|
24
26
|
- CI/자동화는 flag 로 비대화형 설정이 가능하다.
|
|
25
27
|
|
|
26
28
|
```bash
|
|
27
|
-
# UAK + logncrash 비대화형 설정
|
|
29
|
+
# UAK + logncrash + ncs 비대화형 설정
|
|
28
30
|
nhncloud configure \
|
|
29
31
|
--uak-id <id> --uak-secret <secret> \
|
|
30
32
|
--logncrash-appkey <key> --logncrash-secret <secret> \
|
|
33
|
+
[--ncs-appkey <appkey>] \
|
|
31
34
|
--no-verify
|
|
32
35
|
|
|
33
36
|
# iaas (Compute) 비대화형 설정 — API 비밀번호는 env 권장
|
|
@@ -678,8 +681,7 @@ nhncloud nks nodegroup set-labels <cluster> worker --file ./labels.json
|
|
|
678
681
|
NCS는 template(설계도)과 workload(런타임 실행)를 조회한다.
|
|
679
682
|
인증은 Deploy와 같은 UAK OAuth Bearer 토큰을 재사용하며(profile 토큰 캐시 공유), appkey는 경로에 포함한다.
|
|
680
683
|
지원 region은 `kr1`(판교), `kr3`(광주)만이다.
|
|
681
|
-
`configure`
|
|
682
|
-
`profiles.<profile>.ncs.appkey`를 직접 추가한다.
|
|
684
|
+
appkey는 `nhncloud configure` (대화형 또는 `--ncs-appkey`) 로 설정하거나 `--app-key` 옵션으로 직접 넘긴다.
|
|
683
685
|
|
|
684
686
|
template(설계도)의 생성·삭제, workload(런타임 실행)의 생성·변경·실행제어(일시정지/재개/재시작/삭제), 악성코드 검사(malware) 설정·결과 조회를 지원한다.
|
|
685
687
|
|