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
| job "countdash" { | |
| group "api" { | |
| network { | |
| mode = "bridge" | |
| } | |
| service { | |
| name = "count-api" | |
| port = "9001" |
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
| public class Hello { | |
| public static void main(String[] args) { | |
| System.out.printf("hello!\n"); | |
| } | |
| } |
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
| { | |
| email [email protected] | |
| storage file_system { | |
| root /var/local/caddy | |
| } | |
| # Staging CA | |
| # acme_ca https://acme-staging-v02.api.letsencrypt.org/directory | |
| } |
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
| 0.0.0.0 activereddit.com | |
| 0.0.0.0 alienblue.com | |
| 0.0.0.0 alienblue.org | |
| 0.0.0.0 alienreddit.com | |
| 0.0.0.0 alphareddit.com | |
| 0.0.0.0 artreddit.com | |
| 0.0.0.0 askbyreddit.com | |
| 0.0.0.0 astroreddit.com | |
| 0.0.0.0 autoreddit.com | |
| 0.0.0.0 avatarsreddit.com |
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
| job "hclfmt" { | |
| datacenters = ["nyc3"] | |
| type = "service" | |
| group "format" { | |
| network { | |
| mode = "host" | |
| port "http" { | |
| host_network = "internal" | |
| } |
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
| ➜ diff main/codecgen-pkg-100.generated.go numa/codecgen-pkg-100.generated.go | |
| 1018c1018 | |
| < var t198 RaftServer | |
| --- | |
| > var t198 NUMA | |
| 1023c1023 | |
| < var t199 RaftConfigurationResponse | |
| --- | |
| > var t199 LegacyNodeCpuResources | |
| 1028c1028 |
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
| diablo nomad.ent/nomad on main [m] | |
| ➜ go test -tags=ent -v -run _UpgradeMigration | |
| === RUN TestAutopilotEnterprise_UpgradeMigration | |
| CLUSTERID id=a59eb8bb-556c-186c-48ec-80effdbca495 error=<nil> | |
| --- PASS: TestAutopilotEnterprise_UpgradeMigration (0.33s) | |
| PASS | |
| ok github.com/hashicorp/nomad/nomad 0.353s | |
| diablo nomad.ent/nomad on main [m] | |
| ➜ git diff |
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
| #!/usr/bin/env bash | |
| root=/sys/fs/cgroup | |
| echo "[root]" | |
| echo " cpuset.cpus.effective: $(cat $root/cpuset.cpus.effective)" | |
| echo "" | |
| echo "[nomad.slice]" | |
| echo " cpuset.cpus.partition: $(cat $root/nomad.slice/cpuset.cpus.partition)" | |
| echo " cpuset.cpus: $(cat $root/nomad.slice/cpuset.cpus)" |
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
| { | |
| "JobHCL":"variable \"X\" {\n type = string\n}\n\nvariable \"Y\" {\n type = number\n}\n\nvariable \"Z\" {\n type = bool\n}\n \njob \"demo\" {\n type = \"sysbatch\"\n group \"group\" {\n task \"task\" {\n driver = \"raw_exec\"\n\n config {\n command = \"echo\"\n args = [\"X ${var.X}, Y ${var.Y}, Z ${var.Z}\"]\n }\n\n resources {\n cpu = 10\n memory = 16\n }\n }\n }\n}\n", | |
| "Variables": { | |
| "X": "x", | |
| "Y": 42, | |
| "Z": true | |
| }, | |
| "Canonicalize":true | |
| } |
NewerOlder