This file contains 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
#!/bin/bash | |
# | |
# The MIT License | |
# | |
# Copyright 2014 Jakub Jirutka <[email protected]>. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains 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
2016-08-19T11:00:03Z [INFO] Starting Agent: Amazon ECS Agent - v1.12.0 (895f3c1) | |
2016-08-19T11:00:03Z [INFO] Loading configuration | |
2016-08-19T11:00:03Z [DEBUG] Environment variable empty: ECS_CONTAINER_STOP_TIMEOUT | |
2016-08-19T11:00:03Z [DEBUG] Loaded config: Cluster: stock-ecs-stage, Region: eu-west-1, DataDir: /data, Checkpoint: true, AuthType: , UpdatesEnabled: false, DisableMetrics: false, ReservedMem: 0, TaskCleanupWaitDuration: 10m0s, DockerStopTimeout: 30s | |
2016-08-19T11:00:03Z [INFO] Checkpointing is enabled. Attempting to load state | |
2016-08-19T11:00:03Z [INFO] Loading state! module="statemanager" | |
2016-08-19T11:00:03Z [DEBUG] Loaded state! module="statemanager" state="&{Data:map[TaskEngine:0xc82013a7d0 ContainerInstanceArn:0xc82013a7e0 Cluster:0xc82013a7f0 EC2InstanceID:0xc82013a800 ACSSeqNum:0xc82013a820] Version:4}" | |
2016-08-19T11:00:03Z [INFO] Restored cluster 'stock-ecs-stage' | |
2016-08-19T11:00:03Z [INFO] Detected Docker versions [1.17 1.18 1.19 1.20 1.21 1.22] | |
2016-08-19T11:00:03Z [INFO] Restored fro |
This file contains 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
044f376ced2b013da727272b90ec6ce5ac6310b6165b22504a8c1e8041471885195e77fc383501a29f31046221017d97cfe32a3abaf7c96115b07f4ed8d8b05dc7 pocky |
This file contains 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
local service_ = k.Service(cfg.name) { | |
metadata+: cfg.metadata_, | |
target_pod: deployment_.spec.template, | |
target_ports: ['http', 'admin'], | |
} |
This file contains 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
defaultPackage.x86_64-linux = let | |
nixosConfiguration = inputs.nixpkgs.lib.nixosSystem { | |
modules = [ | |
( | |
{ config, lib, pkgs, ... }: { | |
imports = [ | |
"${inputs.nixpkgs}/nixos/modules/profiles/installation-device.nix" | |
"${inputs.nixpkgs}/nixos/modules/profiles/base.nix" | |
"${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image.nix" | |
]; |
OlderNewer