Commit Graph

321 Commits (358c35ef708567032f8bdcc216db95dff6d5b71b)

Author SHA1 Message Date
Armon Dadgar a485eb8447 agent: copy config into consul config
10 years ago
Ryan Uber 3ed0146e44 agent: use service ID field to determine associated health checks during deregister
10 years ago
Ryan Uber 204c11ec01 agent: restore check status when re-registering (updating) services
10 years ago
Ryan Uber 8ef01236e1 agent: allow persisted services to be updated on disk
10 years ago
Ryan Uber 739d1fdf03 Merge pull request #891 from hashicorp/f-token
10 years ago
Ryan Uber 2b62f2f172 agent: use an additional parameter for passing tokens
10 years ago
Ryan Uber 18356328c4 agent: restore tokens for services and checks in config
10 years ago
Ryan Uber 663a86f9b9 agent: backwards compat for persisted services from pre-0.5.1
10 years ago
Ryan Uber 442933650e agent: safer read methods for tokens
10 years ago
Ryan Uber 1557f7f19c agent: test coverage loading service/check tokens from persisted files
10 years ago
Ryan Uber bebb5d9641 agent: add service/check token methods to reduce invasiveness
10 years ago
Ryan Uber 92add18e1e agent: persist tokens from API registrations
10 years ago
Ryan Uber bfb27d18cd agent: initial pass threading through tokens for services/checks
10 years ago
Ryan Mills 275af975e8 Allow specifying a status field in the agent/service/register and agent/check/register endpoints.
10 years ago
pepov bac3ae9494 Add configuration option to specify a separate address for advertising on the wan
10 years ago
Michael Fraenkel 8c26836783 Support SesionTTLMin configuration
10 years ago
Ryan Uber 04a2faed22 agent: warn and purge checks which cannot be restored from agent state
10 years ago
Armon Dadgar b319c41bd9 agent: Snapshot and restore health state on reload. Fixes #693
10 years ago
Ryan Uber 103e9e7fc1 agent: clarify the valid characters for dns
10 years ago
Ryan Uber 722b255816 agent: warn on service tags with invalid chars
10 years ago
Ryan Uber 5e801c905d agent: Warn on dns-incompatible characters during service registration. Fixes #683.
10 years ago
arnaud briche e87afe341b - add Timeout field to CheckType and CheckHTTP to make http request timeout configurable by the client
10 years ago
foostan 401bc71cb2 Validate ServiceID/CheckID when deregistering.
10 years ago
Armon Dadgar e1a5d537d4 Merge pull request #625 from hashicorp/f-maintcmd
10 years ago
Ryan Uber 44f3c20e50 command/maint: clean up
10 years ago
Ryan Uber 09fd2a7e94 command/maint: display active maintenance when no args are passed
10 years ago
Armon Dadgar cf04d6ae31 Merge pull request #622 from hashicorp/f-sockets
10 years ago
Ryan Uber 124e7bfa7e agent: use const for default maintenance reason strings
10 years ago
Ryan Uber f00b5b542e agent: support passing ?reason= for custom notes field values on maintenance checks
10 years ago
Ryan Uber b6a0f2baae agent: fix maintenance check ID
10 years ago
Ryan Uber 674be58e55 agent: support multiple checks per service
10 years ago
Ryan Uber 21dd95d9af agent: beginning socket user/group/mode support as discussed in #612
10 years ago
Ryan Uber ba2d0fa7e3 agent: maintenance logging + unique service check IDs
10 years ago
Ryan Uber 7748c62d09 agent: node maintenance mode works
10 years ago
Ryan Uber 9ee1e6e858 agent: maintenance mode api's are idempotent
10 years ago
Ryan Uber 8819d71f99 agent: maintenance mode is persistent
10 years ago
Ryan Uber 3fbb2be6c0 agent: test agent service maintenance mode
10 years ago
Ryan Uber 2973cd9131 agent: first pass at service maintenance mode
10 years ago
Ryan Uber f01bb5cf3b agent: error if binding to existing socket file
10 years ago
Nicholas Capo 98eb935392 command/agent: HTTP Check: Create httpClient in Start()
10 years ago
Nicholas Capo 50853265dd command/agent: Stop HTTP checks when the check is removed
10 years ago
Nicholas Capo fb5ba8d97d command/agent: Add simple HTTP check type
10 years ago
Ryan Uber a24f6e3d4d agent: test service and check unloading
10 years ago
Ryan Uber 51fe9f32ff agent: consolidate service loading code, better logging
10 years ago
Ryan Uber cfde9313de agent: separate service and check loading/unloading concerns
10 years ago
Ryan Uber 0b9f2b0954 agent: persist service/check data using hashed service/check IDs (fixes #573)
10 years ago
Veres Lajos 3b1068387a typofixes - https://github.com/vlajos/misspell_fixer
10 years ago
Ryan Uber dd4fadfc9e agent: persist CheckType with health checks
10 years ago
Ryan Uber b7587cac42 agent: allow config reload to modify checks/services persistence
10 years ago
Ryan Uber 9f9087badb agent: prefer config over persisted services/checks (#497)
10 years ago
Ryan Uber 2ebe85414f agent: pass error through when writing state files
10 years ago
Ryan Uber 79ba25b94d agent: default restored checks to critical status
10 years ago
Ryan Uber 46a5272a8a agent: first pass at local service and check persistence
10 years ago
Ryan Uber 8a652c6ffa agent: fix loading keyring on agent start
10 years ago
Ryan Uber 7a74f559b9 command: remove -init argument from keyring, auto-persist keyrings when using agent -encrypt
10 years ago
Ryan Uber 431b366d4f agent: split keyring functionality out of agent.go
10 years ago
Ryan Uber 2220ccdac2 command: various cleanup
10 years ago
Ryan Uber 353b67826a command: use separate key files for LAN/WAN
10 years ago
Ryan Uber 530f3ba747 command/keys: refactor, restrict key operations to server nodes
10 years ago
Ryan Uber 8a40f3888c agent: move keyring initialization out of agent, add -init option to keys command
10 years ago
Ryan Uber 0952535e33 agent: fix keyring loading when config is passed off
10 years ago
Ryan Uber b6037ef323 agent: clean up keyring file implementation
10 years ago
Ryan Uber fcb0961436 agent: refactor keyring loader
10 years ago
Ryan Uber 46ce9e936f command/keys: remove key command implemented
10 years ago
Ryan Uber 1ac6b10aed command/keys: use key command implemented
10 years ago
Ryan Uber 7b6f3d6dcc agent: install key command implemented
10 years ago
Ryan Uber 67b179ccc9 command: basic rpc works for keys command
10 years ago
Ryan Uber 4dd1b42477 consul: use rpc layer only for key management functions, add rpc commands
10 years ago
Ryan Uber 471ee9ce8f command: create serf dir if it doesn't exist, document -disable-keyring arg
10 years ago
Ryan Uber 0da6e08d9d consul: fix json marshaling
10 years ago
Ryan Uber e20a724999 consul: first pass at keyring integration
10 years ago
Ryan Uber df5859580f agent: pass notes field through for checks inside of service definitions. Fixes #449
10 years ago
Ryan Uber 2319460904 agent: initialize local consul service tags to fix service sync
10 years ago
Armon Dadgar 4f1fa3a4ce Merge pull request #401 from hashicorp/f-healthcheck
10 years ago
Ryan Uber cfca160cd5 formatting
10 years ago
Ryan Uber 2f93e13da8 consul: kill remaining use of HealthUnknown
10 years ago
Ryan Uber b1e8d351ab agent: re-use ConsulServiceID from consul package
10 years ago
Ryan Uber 4576b4eb29 agent: auto-register the consul service on server nodes
10 years ago
Armon Dadgar 93c17db1b2 agent: remove userEventEnc type
10 years ago
Armon Dadgar 2d03146d3b agent: Adding event ingestion
10 years ago
Armon Dadgar 314743c111 agent: working on user events
10 years ago
Armon Dadgar 1c341e6766 consul: expose UserEvent from Serf
10 years ago
Armon Dadgar cae4b421a3 agent: Adding ACL master token
10 years ago
Armon Dadgar a8063457f8 consul: ACL setting passthrough
10 years ago
Armon Dadgar 924e4bc7f1 Rename Expect to BootstrapExpect. Fixes #223.
11 years ago
Armon Dadgar 5b2941d43e Fixing merge conflict
11 years ago
Armon Dadgar a05e1aee15 agent: Fixing missing copy of RejoinAfterLeave flag. #110
11 years ago
Armon Dadgar 10c120bf9d agent: Fix issues with re-registration. Fixes #216
11 years ago
Robert Xu c60fd0542a Add expect bootstrap '-expect=n' mode.
11 years ago
Armon Dadgar 441d613e1b agent: Copy ServerName config
11 years ago
Armon Dadgar b144633815 consul: Gossip the build using Serf
11 years ago
Armon Dadgar 42e3729a7c agent: Add version to info output
11 years ago
Armon Dadgar acc048036b consul: Ensure clients also implement LocalMember
11 years ago
William Tisäter d0e447d29b Add `/v1/agent/self` and return local agent config
11 years ago
Mitchell Hashimoto 78b7c57ba3 command/agent: find proper private IP on Windows
11 years ago
Armon Dadgar 1256bf37f0 agent: Minor cleanups
11 years ago
Carlos Diaz-Padron 4124ddf763 Return pid file errors and fix help formatting
11 years ago
Carlos Diaz-Padron 60ef5a8a12 Add flag to agent to write pid file
11 years ago
Armon Dadgar 018482dc4c Store check output in dedicated field. Fixes #59.
11 years ago
Armon Dadgar 6bbe8fd493 agent: Adding minimum check interval. Fixes #64.
11 years ago
Haney Maxwell 0a5d75da5d documentation: minor comment consistency in agent.go
11 years ago
Armon Dadgar d8ca1f367c agent: Fixing wrong port usage for server
11 years ago
Armon Dadgar 8dd1e51bae agent: Simplifying configs
11 years ago
Armon Dadgar 922014530f agent: First pass at improving flags
11 years ago
Armon Dadgar 592953309e agent: Passthrough of TLS configurations
11 years ago
Armon Dadgar ffca4f5544 agent: Support protocol version setting
11 years ago
Armon Dadgar 015670d04e agent: Adding Stats() export
11 years ago
Armon Dadgar e12e5f7f68 agent: adding ability to reload services and checks
11 years ago
Armon Dadgar c1637b4978 agent: Adding server up callback to make state sync faster
11 years ago
Armon Dadgar 1eb0a76ee8 agent: Adding methods to register services and checks
11 years ago
Armon Dadgar c4f516d034 Adding CheckMonitors and CheckTTLs to agent
11 years ago
Armon Dadgar 410a0de0c8 Seperate localState from Agent
11 years ago
Armon Dadgar 1feec1adf8 First pass at local state + anti-entropy
11 years ago
Armon Dadgar 93dac80a86 Adding support for advertise address
11 years ago
Armon Dadgar f4692b468f Pulling in the RPC framework from serf
11 years ago
Armon Dadgar f33a9c1d2d Serf API changes
11 years ago
Armon Dadgar 9a2d3c144a Adding a bootstrap flag to allow single server raft
11 years ago
Armon Dadgar 39d9e3e78f More HTTP endpoints
11 years ago
Armon Dadgar 8caf0034db Working on the agent
11 years ago
Armon Dadgar aeccadd217 Filling in Agent basics
11 years ago
Armon Dadgar 289e1c598b Agent skeleton
11 years ago