require k8s: swarm services with a pod run in the cluster only
This commit is contained in:
parent
7819ed2dbd
commit
2e1f037f25
1 changed files with 1044 additions and 3125 deletions
|
|
@ -95,7 +95,7 @@ def create_agent(body):
|
|||
# the responder run in the container; the units that fetch its keys and
|
||||
# certificate run on the host.
|
||||
diagnose(["nats.service", "swarm-nats-auth.service"], "swarm-nats")
|
||||
diagnose(["swarm-bao-nats-tls.service", "swarm-bao-nats-callout-xkey.service"])
|
||||
diagnose(["swarm-bao-nats-tls.service"])
|
||||
raise Exception(
|
||||
f"the controller refused to create {body['name']}: HTTP {out}: {machine.succeed('cat /root/create.out')}"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue