Eru White Paper
  • Introduction
  • Brief
  • Projects
  • History
  • Benchmark
  • FAQ
  • Overview
    • Resolution
    • Features
    • Architect
    • Resource
    • HealthCheck
    • Component
  • Conception
    • Pod
    • Node
    • Application
    • Workload
    • Runtime
    • Resource
    • CPU
    • Scheduling
    • Networking
    • HA
  • Components
    • Agent
    • Selfmon
  • Specs
    • App Spec
    • Core Config
    • Agent Config
  • Quickstart
    • Install
    • Release
    • Example
  • Installation
    • Requirements
    • Deploy core
    • Deploy agent
    • Deploy calico(optional)
    • Management
  • Get Started
    • Setup
    • Sample App
    • Bind Resources
    • Update Application
    • SDN
    • Workload Status
  • Check Calico
Powered by GitBook
On this page
  1. Quickstart

Example

PreviousReleaseNextInstallation

Last updated 2 years ago

和其他开源的调度和编排平台不同的一点在于,Eru 致力于提供在线和离线混编,因此通过 cli lambda 子命令我们可以用来做一些离线的计算任务。

比如下面视频中,我们把一个大文本抽成了 100 个随机文件,每个包含若干个单词,使用 Lambda 对每一个文件统计其单词总数。这里我们起了 100 个容器,每个容器 1% 的 CPU 占用。

我们也可以在装好 core 之后使用 cli 做 agent 的部署,可以参考下面视频:

实在是没机器的话,也可以尝试 sh <(curl -fSsL https://eru.sh/demo) 来启动一个 standalone 的 Eru。

asciicast
asciicast