projecteru2/core![CircleCI]([] ![Codacy Badge]([]
Eru is a stateless, flexible, production-ready cluster scheduler designed to easily integrate into existing workflows. Eru can run any containerized things in long or short time. This project is Eru Core. The Core use for resource allocation and manage containers lifetime.
Run make test
make build if you want binary../make-rpm if you want RPM for el7. However we use FPM for packing, so you have to prepare it first.Run make deps for generating vendor dir.
Under macOS we have to install libgit2 manually, if you using Homebrew please install like this:
shellbrew install libgit2 make deps
In linux you can reference our image's Dockerfile. Our server were running under CentOS 7, so if your server was different, something will not same.
On other hand, you can use our footstone image for testing and compiling.
Generate golang & python 3 code
shellgo get -u github.com/golang/protobuf/{proto,protoc-gen-go} pip install -U grpcio-tools make grpc
shell$ eru-core --config /etc/eru/core.yaml.sample
or
shell$ export ERU_CONFIG_PATH=/path/to/core.yaml $ eru-core
Image: projecteru2/core
shelldocker run -d \ --name eru_core_$HOSTNAME \ --net host \ --restart always \ -v <HOST_CONFIG_DIR_PATH>:/etc/eru \ projecteru2/core \ /usr/bin/eru-core
After we implemented bootstrap in eru2, now you can build and deploy eru with cli tool.
shell<cli_execute_path> --name <image_name> [***]
Make sure you can clone code. After the fresh image was named and tagged, it will be auto pushed to the remote registry which was defined in config file.
shell<cli_execute_path> container deploy --pod <pod_name> [--node <node_name>] --entry core --network <network_name> --image <projecteru2/core>|<your_own_image> --file <core_config_yaml>:/core.yaml [--count <count_num>] [--cpu 0.3 | --mem ***] [***]
Now you will find core was started in nodes.
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像服务
在 Docker Desktop 配置镜像
Docker Compose 项目配置
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
MacOS OrbStack 容器配置
在宝塔面板一键配置镜像
Synology 群晖 NAS 配置
飞牛 fnOS 系统配置镜像
极空间 NAS 系统配置服务
爱快 iKuai 路由系统配置
绿联 NAS 系统配置镜像
QNAP 威联通 NAS 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
来自真实用户的反馈,见证轩辕镜像的优质服务