提交 598e3ae4 作者: 施泽锋

111

上级 029ddbc1
......@@ -13,4 +13,6 @@ services:
- /etc/localtime:/etc/localtime
- /:/host:ro
stdin_open: true
tty: true
\ No newline at end of file
tty: true
labels:
io.rancher.scheduler.affinity:host_label: ${host_label}
\ No newline at end of file
......@@ -30,6 +30,12 @@ catalog:
required: true
default: "5044"
type: "string"
- variable: host_label
description: "用于提供日志服务的主机标签,只在带有该标签的主机上运行本容器。"
label: "调度标签"
required: true
default: "log-poilt=true"
type: "string"
services:
log-pilot:
scale: 1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论