Last active
October 26, 2018 15:00
-
-
Save johanot/77bfc45366d5648b6a920aaf5ab64a80 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, pkgs, ... }: { | |
| deployment.healthChecks = { | |
| cmd = ["${pkgs.kubectl}/bin/kubectl" "apply" "-f" "${pkgs.writeText "test-pod.yaml" (builtins.toJSON (testPod fqdn))}"]; | |
| description = "Run test pod on node: ${fqdn}."; | |
| }; | |
| services.foo.enable = true; | |
| # whatevs else | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment