使用Docker将Kamonohashi部署在Docker上

KAMONOHASHI (可者 AI)

 

#安装
https://kamonohashi.ai/docs/install-and-update

请点击此链接以安装:
https://kamonohashi.ai/docs/install-and-update

$ docker run -v /Users/Administrator/work:/home/work -p 8080:8080 -it ubuntu /bin/bash
# apt update; apt -y update
# apt install -y wget apt-utils sudo vim 
# export KQI_VERSION='1.1.2'
# wget -O /tmp/deploy-tools-$KQI_VERSION.tar.gz 
https://github.com/KAMONOHASHI/kamonohashi/releases/download/$KQI_VERSION/deploy-tools-$KQI_VERSION.tar.gz


--2019-10-11 06:39:29--  https://github.com/KAMONOHASHI/kamonohashi/releases/download/1.1.2/deploy-tools-1.1.2.tar.gz
Resolving github.com (github.com)... 13.114.40.48
Connecting to github.com (github.com)|13.114.40.48|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/188967625/222c1b00-e5e8-11e9-9d1f-ad9205903c1e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191011T063930Z&X-Amz-Expires=300&X-Amz-Signature=153a4ff98de0ed7f1eff048a90677cbaa4fdb862ada10b6e693bc51d3b2a7490&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Ddeploy-tools-1.1.2.tar.gz&response-content-type=application%2Foctet-stream [following]
--2019-10-11 06:39:30--  https://github-production-release-asset-2e65be.s3.amazonaws.com/188967625/222c1b00-e5e8-11e9-9d1f-ad9205903c1e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191011%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191011T063930Z&X-Amz-Expires=300&X-Amz-Signature=153a4ff98de0ed7f1eff048a90677cbaa4fdb862ada10b6e693bc51d3b2a7490&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Ddeploy-tools-1.1.2.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.184.35
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.184.35|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16403 (16K) [application/octet-stream]
Saving to: '/tmp/deploy-tools-1.1.2.tar.gz'

/tmp/deploy-tools-1.1.2.tar.gz    100%[==========================================================>]  16.02K  90.7KB/s    in 0.2s    

2019-10-11 06:39:31 (90.7 KB/s) - '/tmp/deploy-tools-1.1.2.tar.gz' saved [16403/16403]




# mkdir -p /var/lib/kamonohashi/deploy-tools/$KQI_VERSION/
# cd /var/lib/kamonohashi/deploy-tools/$KQI_VERSION/
# tar --strip=1 -xf /tmp/deploy-tools-$KQI_VERSION.tar.gz
./deploy-basic-cluster.sh deploy


--------------------------------------------------------------------------------------------
            ..NNNMMMMNNgJ..         #   #      ##     #     #    #####    #      #    ##### 
        ..NMMMMMMMMMMMMMMMMNa,      #  #       ##     ##   ##   #     #   ##     #   #     #
      .dMMMMMMMMMMMMMMMMMMMM"!      # #       #  #    # # # #   #     #   # #    #   #     #
    .dMMMMMMMMMMMMMMMMMMMD`         ###       #  #    # # # #   #     #   #  #   #   #     #
   .MMMMMMMMMMMMMMMMMMM'`           # #      #    #   #  #  #   #     #   #   #  #   #     #
  .MMMMMMMMMMMMMMMMMMM'    .MM      #  #     ######   #     #   #     #   #    # #   #     #
  MMMMMMMH""MMMMMMMMMM{    MMM'     #   #    #    #   #     #   #     #   #     ##   #     #
 .MMMMM'       _7"WMMY"             #    #   #    #   #     #    #####    #      #    ##### 
 dMMMM!                                                                                     
 dMMM#                              #    #     ##       ####     #    #      #              
 JMMMN                              #    #     ##      #         #    #      #              
 .MMMMp                             #    #    #  #     #         #    #      #              
  ?MMMMMNJ..                        ######    #  #      ##       ######      #              
   TMMMMMMMMMMMMMMMMMMMMMMMMNN..    #    #   #    #       ##     #    #      #              
    ?MMMMMMMMMMMMMMMMMMMMMMMMMMMMt  #    #   ######         #    #    #      #              
      TMMMMMMMMMMMMMMMMMMMMMMMMM!   #    #   #    #    #    #    #    #      #              
        7MMMMMMMMMMMMMMMMMMMM"`     #    #   #    #    #####     #    #      #              
           ?YMMMMMMMMMMMMB"`                                               クラスタ構築ツール                  
--------------------------------------------------------------------------------------------


##################################################
STEP[1/5] クラスタ設定の入力
##################################################

クラスタの構成情報を入力してください
詳細は https://kamonohashi.ai/docs/beforequickstart/install を参照してください
Kubernetes masterをデプロイするサーバ名: k8s-master
KAMONOHASHIをデプロイするサーバ名: kqi-node
Storageをデプロイするサーバ名: storage1
GPU サーバ名(,区切りで複数可): gpu-servere1,gpu-server2,gpu-server3
SSHユーザー名: sshuser
SSHパスワード(キーを使用する場合は未入力でEnter): 
SUDOパスワード(不要なら未入力でEnter): 
プロキシを設定しますか? [y/N]: N
KAMONOHASHIのadminパスワード(8文字以上):
./deploy-basic-cluster.sh

: line 98: envsubst: command not found

$ docker push kaizenjapan/kamonohashi

附言

 

正在确认内容中。

TypeNameLatest commit messageCommit time
build.shbuild.shのバグ修正4 months ago
cli-Dockerfileinitial commit5 months ago
push.sh実行権限をスクリプトに付与5 months ago
web-api-Dockerfileinitial commit5 months ago
web-pages-Dockerfileinitial commit5 months ago

非常感谢您的阅读到最后一刻。

喜欢了?,请关注一下。

非常感谢您读到最后一句话。

请点击心形图标?并关注我,享受快乐生活。

广告
将在 10 秒后关闭
bannerAds