EPICS和Kubernetes的IOC构建器
项目描述
ibek: EPICS和Kubernetes的IOC构建器
此工具支持为通用EPICS IOC构建容器镜像,并在容器运行时从这些通用IOC生成IOC实例。它针对在Kubernetes中运行IOC,但它创建的镜像可以在任何容器运行时中执行,例如docker或podman。
PyPI
pip install ibek
源代码
文档
发布
更新:版本2.0.0
自1.8.0版本以来,已发生一些重大更改。这些更改主要是为了支持RTEMS交叉编译IOC。但我们还借此机会澄清了CLI。
所有更改都与ibek-support的2.0.0版本和所有其他epics-containers仓库的3.4.0版本兼容。当使用ioc-template 3.4.0更新您的通用IOC时,请确保还更新ibek-support子模块到2.0.0或更高版本,然后您应该拥有所有兼容版本。
文档仍在建设中。目前,最好的阅读页面如下
模块、定义和实体 ibek的基本概念描述。
支持YAML的命名约定 ibek消耗的YAML的约定。
epics-containers 文档 epics-containers 工具套件的文档和教程。
ibek 的命令行界面如下。最新版本可以通过运行 ibek --help 获取。
[container][~]$ ibek --help
Usage: ibek [OPTIONS] COMMAND [ARGS]...
IOC Builder for EPICS and Kubernetes
Provides support for building generic EPICS IOC container images and for
running IOC instances in a Kubernetes cluster.
Options:
--version Print the version of ibek and exit
--install-completion [bash|zsh|fish|powershell|pwsh]
Install completion for the specified shell.
--show-completion [bash|zsh|fish|powershell|pwsh]
Show completion for the specified shell, to
copy it or customize the installation.
--help Show this message and exit.
Commands:
support Commands for building support modules during container build
ioc Commands for building generic IOCs during container build
runtime Commands for building IOC instance startup files at container...
[container][~]$ ibek support --help
Usage: ibek support [OPTIONS] COMMAND [ARGS]...
Commands for building support modules during container build
Options:
--help Show this message and exit.
Commands:
apt-install Install debian packages into the container.
git-clone clone a support module from a remote repository
register prepare the configure RELEASE files to build a...
add-libs declare the libraries for this support module for...
add-dbds declare the dbd files for this support module for...
add-release-macro add or replace a macro the global RELEASE file
add-config-macro add or replace a macro in...
add-to-config-site add some text to a support module's CONFIG_SITE file
compile compile a support module after preparation with...
generate-links generate symlinks to the bob, pvi and support YAML...
generate-schema Produce JSON global schema for all...
[container][~]$ ibek ioc --help
Usage: ibek ioc [OPTIONS] COMMAND [ARGS]...
Commands for building generic IOCs during container build
Options:
--help Show this message and exit.
Commands:
build-docker EXPERIMENTAL: Attempt to interpret the...
generate-schema Create a json schema from a number of...
extract-runtime-assets Find all the runtime assets in an EPICS...
make-source-template Create a new IOC boilerplate source tree in the...
generate-makefile get the dbd and lib files from all support...
compile Compile a generic IOC after support modules are...
build A convenience function that calls...
[container][~]$ ibek runtime --help
Usage: ibek runtime [OPTIONS] COMMAND [ARGS]...
Commands for building IOC instance startup files at container runtime
Options:
--help Show this message and exit.
Commands:
generate Build a startup script for an IOC instance
有关最新文档,请参阅 https://epics-containers.github.io/ibek。
项目详情
下载文件
下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源分发
ibek-3.1.0.tar.gz (141.5 kB 查看哈希值)
构建分发
ibek-3.1.0-py3-none-any.whl (46.3 kB 查看哈希值)
关闭
ibek-3.1.0.tar.gz 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | c1594af2d9201b842d6785549cb35daeb0f9b7014c1777efc69cdaf49337dc90 |
|
MD5 | 9a2b353107615186c20aebb3ee2587c3 |
|
BLAKE2b-256 | c8194fc3407912df079a5a2e31683b7884c3bddd726cdfb7b3bf518ab8ac252c |
关闭
ibek-3.1.0-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e516ddcafb7288f021cf5d5c329dc12f06fd42d289c5fe21adb64511868447fe |
|
MD5 | 31c9e5c28b936e3ece929a3b66708bdf |
|
BLAKE2b-256 | 910249296bb1577eaf290260bbc4dd18c92b88d8269493ad431e488ef331da0d |