kubenix/docs/content/examples/deployment/_index.md
2022-08-29 02:04:47 -04:00

11 lines
333 B
Markdown

As a more complete example, let's define some high-level variables and then split our module out into another file as we start to grow.
{{< source "default.nix" >}}
Now we create a module which does a few related things:
- create a `Deployment`
- mount a `ConfigMap` into its pod
- define a `Service`
{{< source "module.nix" >}}