orchestrating applications #6
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: bij1/terraform-config#6
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
i would be interested in trying hashicorp's nomad for orchestration.
relevant notes on that:
raw_exec
exec
- usedropPrivileges = false;
NixNG
?)docker
(needs root) - usedropPrivileges = false;
fromnomad_1_5
${attr.consul.version} semver >= 1.7.0
filtered 1 nodeusing podman with docker alias- will show as unhealthypodman
:services.nomad.extraSettingsPlugins = with pkgs; [ nomad-driver-podman ];
- same error asdocker
singularity
(for safety restricts container root to host root) -services.nomad.settings.plugin.nomad-driver-singularity.config.singularity_path = "${pkgs.apptainer}/bin/apptainer";
errors withNo argument or block type is named "singularity_path"
qemu
: not sure how to load this driver. invocations need.img
file too.exec
driver as nixpkgs services in flake (if that's possible)?- alpine over nixos so won't do nixpkgsnixos/nix
services
made using- omitsnix-container
{pkgs, lib, ...}: {}
so seems harder to use the same config across this and outside containersNixOS- seems not as portable as i'd like, on top of not doing flakescontainers
: can use a config likeconfiguration.nix
to make containers- lacks servicesnix2container
: make container package using nix from nix- limited to certain servicesservices-flake
extra-container
: can use a config likeconfiguration.nix
to make containers - doesn't seem to do flakesflake-containers
: can use a config likeconfiguration.nix
to make containers from a portable flakearion
: lets you do docker compose (i.e. can do multiple nodes) thru nix projects from:flake: a flake with packages- lacks servicesconfiguration.nix
to make containers - doesn't seem to do flakes -- could i just source in a dep from flake? - i think their flake and nixos examples could be combined.rpc error: code = Unknown desc = Couldn't determine flake requisites: json: cannot unmarshal object into Go value of type []*nix2.nixPathInfo
onnix path-info
with nix 2.18.1 while they used 2022-02-18 @9bc03
- 2.6.1+, containing +valid tho not yet -path. i tried running a nixos setup with this older nix, tho i did not manage to actually switch to this older version.exec
. - as abovecontainerd-driver
vsnomad-driver-containerd
, but changes mostly this, and a better example seems their config. - build still fails withUnsupported plugin type
comin
with webhooks reenabled?further concerns:
nixops-hetznercloud
also did stuff with this)hm maybe skip nomad for now to straight up use nix (+ terraform)?