k8s: deploy.notify-router.runtime moves the router between its container and the cluster
This commit is contained in:
parent
b44cbea79d
commit
50dc13d61b
1 changed files with 671 additions and 187 deletions
|
|
@ -6,8 +6,8 @@ the systemd unit each service runs today. A host with
|
|||
`services.hyperhive.k8s.enable` gets them as `system.build.k8sManifests`, a
|
||||
directory with one YAML file per object, and the images their pods run as
|
||||
`system.build.k8sImages`, which [the cluster node](node.md) loads. Rendering
|
||||
changes no unit, and nothing in this module applies the manifests to a
|
||||
cluster.
|
||||
changes no unit. [The runtime switch](runtime.md) applies a service's manifests
|
||||
to the cluster, when the service's `runtime` says `"k8s"`.
|
||||
|
||||
## Options
|
||||
|
||||
|
|
@ -77,9 +77,10 @@ A credential that holds a public CA file isn't a secret. `swarm-notify-router`'s
|
|||
`notify-router-bao-server-ca` comes from the ConfigMap `hyperhive-ca-trust`,
|
||||
key `bao-server-ca.pem`, and its trust bundles from the key `trust-bundle.pem`.
|
||||
The manifests only name the ConfigMap, because the hive CA exists only at
|
||||
runtime, and nothing here creates it. A service with both kinds of credential
|
||||
gets one projected volume that merges the Secret's keys and the ConfigMap's into
|
||||
the credential directory.
|
||||
runtime. [The runtime switch](runtime.md#what-k8s-changes) publishes it from the
|
||||
host's files. A service with both kinds of credential gets one
|
||||
projected volume that merges the Secret's keys and the ConfigMap's into the
|
||||
credential directory.
|
||||
|
||||
## Pods
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue