项目作者: oslabs-beta

项目描述 :
Ohana is an internal k8s platform that enables devs to create their own virtual namespaces and virtual clusters
高级语言: JavaScript
项目地址: git://github.com/oslabs-beta/ohana.git
创建时间: 2021-06-04T23:27:33Z
项目社区:https://github.com/oslabs-beta/ohana

开源协议:

下载


To run the app locally, follow the instructions below

For extended documentation, please visit our website

Run the following command to install the necessary dependencies: npm install

When the dependencies are finished installing, run the following to concurrently bundle the application’s assets and start the Express server in a development environment:

Ensure helm has been installed. You can do so with these commands:
helm version to check your version. Please reference helm for further instructions based on your OS

Ensure vCluster has been installed:
vcluster -v to check your version. Please reference the following to download for your respective OS or visit vCluster:

Intel Mac

  1. curl -s -L "https://github.com/loft-sh/vcluster/releases/latest" | sed -nE 's!.*"([^"]*vcluster-darwin-amd64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o vcluster && chmod +x vcluster;
  2. sudo mv vcluster /usr/local/bin;

Silicon Mac

  1. curl -s -L "https://github.com/loft-sh/vcluster/releases/latest" | sed -nE 's!.*"([^"]*vcluster-darwin-arm64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o vcluster && chmod +x vcluster;
  2. sudo mv vcluster /usr/local/bin;

Windows

  1. md -Force "$Env:APPDATA\vcluster"; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12';
  2. Invoke-WebRequest -UseBasicParsing ((Invoke-WebRequest -URI "https://github.com/loft-sh/vcluster/releases/latest" -UseBasicParsing).Content -replace "(?ms).*`"([^`"]*vcluster-windows-amd64.exe)`".*","https://github.com/`$1") -o $Env:APPDATA\vcluster\vcluster.exe;
  3. $env:Path += ";" + $Env:APPDATA + "\vcluster";
  4. [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User);

Linux AMD

  1. curl -s -L "https://github.com/loft-sh/vcluster/releases/latest" | sed -nE 's!.*"([^"]*vcluster-linux-amd64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o vcluster && chmod +x vcluster;
  2. sudo mv vcluster /usr/local/bin;

Linux ARM

  1. curl -s -L "https://github.com/loft-sh/vcluster/releases/latest" | sed -nE 's!.*"([^"]*vcluster-linux-arm64)".*!https://github.com\1!p' | xargs -n 1 curl -L -o vcluster && chmod +x vcluster;
  2. sudo mv vcluster /usr/local/bin;

To run the application, execute npm run dev

After the application finishes compiling, you should be served the Ohana user interface on localhost:8080, with the server listening on localhost:3000. You should
see a login screen rendered to your browser.