Commit Graph

1413 Commits

Author SHA1 Message Date
Sean Chittenden 17ccae59f4
Note the default value prior to 0.8 for `-client` was `127.0.0.1`. 2017-03-06 12:26:35 -08:00
Sean Chittenden e1ced1de30
Change `ClientAddr` to default to `BindAddr` when not present.
With this change, it is now possible to only specify the `-bind` or
`bind_addr` attributes and get a functioning consul agent.
2017-03-04 20:52:52 -08:00
James Phillips 233795704c Moves raft_protocol config out into its own top-level item. 2017-03-04 09:20:23 -08:00
James Phillips aba567273e Merge pull request #2690 from zeroae/f-simple-rfc2782
RFC 2782 support with optional .service tag
2017-03-02 14:49:36 -08:00
Seth Vargo d2e8eccbc3
Re-enable soft purging, stale-if-error 2017-03-01 12:37:48 -05:00
Kyle Havlovitz 44f0b08db7 Merge pull request #2771 from hashicorp/f-autopilot
Autopilot dead server cleanup, config, and raft version compatibility
2017-02-28 15:04:16 -08:00
Kyle Havlovitz 77785778bf Merge pull request #2774 from hashicorp/f-cli-deprecation-docs
Add CLI RPC deprecation section to docs
2017-02-28 14:59:48 -08:00
Kyle Havlovitz 23c492a74e
Rename DeadServerCleanup and make wording adjustments 2017-02-28 14:45:21 -08:00
Kyle Havlovitz 3b67c50c1d
Remove the RPC client interface and update docs 2017-02-28 13:41:09 -08:00
Seth Vargo 28a7d0bd67
Cache for a longer time on Fastly 2017-02-28 15:59:01 -05:00
Kyle Havlovitz 308f5c4782
Add CLI RPC deprecation notice to docs 2017-02-24 18:10:46 -08:00
Kyle Havlovitz f7b6d776f4
Add cli docs and minor test/comment tweaks 2017-02-24 16:55:44 -08:00
Kyle Havlovitz 459e72b011
Merge branch 'master' into f-autopilot 2017-02-24 15:55:18 -08:00
Kyle Havlovitz 7d514a7ef6
Add docs and api client methods for autopilot config 2017-02-23 21:00:15 -08:00
Kyle Havlovitz af1bc4fa27
Add config section to docs for autopilot 2017-02-22 13:11:01 -08:00
Jason Costello da2602def1 Mobile tweak 2017-02-21 16:31:17 -08:00
Jason Costello 0d5902b767 Docs typographic tweaks 2017-02-21 16:23:23 -08:00
Jason Costello e5667f583d Remove redundant declarations 2017-02-21 16:07:57 -08:00
Jason Costello 16162c0411 Beef up lead paragraph in Jumbotron 2017-02-21 15:57:24 -08:00
Jason Costello 1f6be611c4 Adjustments to <a>, and general letter-spacing 2017-02-21 15:57:05 -08:00
Jason Costello 9fc594bbf1 Improved mono declaration scope 2017-02-21 15:34:59 -08:00
Jason Costello 0c87077287 Update logo, remove old assets 2017-02-21 15:31:39 -08:00
Jason Costello 72d666acaf Various adjustments 2017-02-21 15:11:57 -08:00
Jason Costello f1a74ad675 Remove refs to Museo 2017-02-21 14:37:51 -08:00
Jason Costello 9b9855f138 Wire up Klavika, remove Museo declarations 2017-02-21 10:45:56 -08:00
Ellery Addington-White 17b9f3346d Adds missing double quote 2017-02-16 13:38:55 -08:00
Kyle Havlovitz 29a2061d44 Merge pull request #2748 from hashicorp/f-operator-rework
Split operator raft command into subcommands
2017-02-16 12:07:53 -08:00
Kyle Havlovitz 3f05576cc8
Condense raft subcommand into one doc page 2017-02-16 11:44:14 -08:00
Hadi 44aaf30455 Update downloads_tools.html.erb
add link to clojure client for consul http catalog api
2017-02-16 16:38:31 +02:00
Kyle Havlovitz 2b12a43840
Split operator raft command into subcommands 2017-02-15 13:53:34 -08:00
James Phillips 11bd2a66f1
Bumps website to Consul version 0.7.5. 2017-02-15 07:00:51 -08:00
Nathan Dataguake Basanese b38b89372f // , Add another way to update config
// , I got this from the `consul --help` output, and it seemed like a useful detail for people unfamiliar with the system.
2017-02-14 16:09:38 -08:00
Kyle Havlovitz 0262f009dd Merge pull request #2732 from hashicorp/f-validate-command
Deprecate configtest and add validate command
2017-02-10 20:34:09 -05:00
Kyle Havlovitz 35d99a81ac
Update docs and give better error for unknown client scheme 2017-02-10 19:55:54 -05:00
Kyle Havlovitz 27ee6f974d
Update website docs for validate command 2017-02-10 19:38:38 -05:00
Kyle Havlovitz 5be21e3e24 Merge pull request #2726 from hashicorp/f-cli-rework-3
Centralize command-line parsing part 3
2017-02-10 13:42:01 -05:00
James Phillips b88a7eee95 Adds clarifying note about the wakeup jitter.
Closes #2727.
2017-02-09 20:28:38 -08:00
Kyle Havlovitz 955d1b983d
Merge branch 'master' into f-cli-rework-3 2017-02-09 21:24:27 -05:00
Kyle Havlovitz e8ef771ea3 Merge pull request #2723 from hashicorp/f-cli-rework-2
Centralize command-line parsing part 2
2017-02-09 21:09:35 -05:00
Kyle Havlovitz a64c5e69a3
Cleanup and formatting adjustments 2017-02-09 20:49:17 -05:00
Kyle Havlovitz 65ad17a27d
Convert watch command to use base.Command 2017-02-09 20:36:01 -05:00
Kyle Havlovitz 1767a4dcb0
Add missing doc page for version command 2017-02-09 20:08:25 -05:00
Kyle Havlovitz 50f6c6a2bb
Convert snapshot command to use base.Command 2017-02-09 20:00:38 -05:00
Kyle Havlovitz bcdbc9175c
Convert rtt command to use base.Command 2017-02-09 19:38:06 -05:00
Kyle Havlovitz 520edc2e49
Convert reload command to use base.Command 2017-02-09 19:32:22 -05:00
Kyle Havlovitz 1a26907d01
Convert operator command to use base.Command 2017-02-09 18:19:34 -05:00
Kyle Havlovitz c78f62b83d
Convert monitor command to use base.Command 2017-02-09 17:31:52 -05:00
Kyle Havlovitz 7d72864531
Convert members command to use base.Command 2017-02-09 17:12:47 -05:00
Kyle Havlovitz 4be635d3a1
Convert maint command to use base.Command 2017-02-09 17:06:19 -05:00
Kyle Havlovitz e385af8eeb
Convert leave command to use base.Command 2017-02-09 16:48:12 -05:00
Seth Vargo 41ca1ccebc Cache assets longer 2017-02-09 14:39:51 -05:00
Seth Vargo aa8616f979 Change cache to 4h 2017-02-09 14:36:28 -05:00
Kyle Havlovitz d3b24d2d12
Convert keyring command to use base.Command 2017-02-08 18:25:47 -05:00
Kyle Havlovitz 9e156286c7
Convert join command to use base.Command 2017-02-08 17:14:02 -05:00
Kyle Havlovitz a69f2a0faf
Convert info command to use base.Command 2017-02-08 16:58:04 -05:00
Kyle Havlovitz 89771b6075
Convert exec command to use base.Command 2017-02-08 16:57:46 -05:00
Kyle Havlovitz 6cc2299123
Convert event command to use base.Command 2017-02-08 16:56:58 -05:00
Rob Genova 82d1c1a83d remove `https://consul.io` from join links; remove UI link to `downloads.html` 2017-02-08 21:05:07 +00:00
Rob Genova 394700c9de remove Atlas references from getting-started pages 2017-02-08 19:01:53 +00:00
James Phillips 511b135131 Merge pull request #2669 from legendtkl/master
Fix consul kv example with flag separator
2017-02-07 20:17:42 -08:00
James Phillips 723391b22d Removes broken WriteRequest ACL reference for catalog endpoints.
Fixes #1034.
2017-02-07 19:02:18 -08:00
Kyle Havlovitz 2a2c3bbbda Merge pull request #2717 from hashicorp/f-cli-rework
Begin centralizing command-line parsing
2017-02-07 21:15:06 -05:00
Kyle Havlovitz 9e38fc1c84
Move command Meta to base.Command and split http options 2017-02-07 19:16:41 -05:00
Jonathan Crane 112763d21d fix grammatical error in 2nd paragraph 2017-02-07 10:20:40 -05:00
James Phillips fa65db8add
Points at new release and puts tree in 0.8.0 dev mode. 2017-02-06 11:08:30 -08:00
Andrey Upadyshev f2b5a6439c Fix `acquire` parameter nesting 2017-02-03 00:20:35 +01:00
Kyle Havlovitz fbcd43e95c Merge pull request #2704 from hashicorp/f-relay-query-responses
Add relay-factor arg to keyring operations
2017-02-02 12:15:19 -05:00
James Phillips a973ed9570 Merge pull request #2572 from hashicorp/jbs-2535
Notes about memory usage (helps with #2535)
2017-02-02 09:08:58 -08:00
Kyle Havlovitz 4fc3bd3abf
Added -relay-factor param to keyring operations 2017-02-01 21:53:29 -05:00
Kyle Havlovitz f48cd78bc5 Merge pull request #2699 from hashicorp/f-tls-min-version
Add TLSMinVersion to config options
2017-02-01 16:31:53 -05:00
Kyle Havlovitz 086975ac0a
Add TLSMinVersion to config options 2017-02-01 16:20:33 -05:00
Chris Becker 2328edbcb5 Add consul kv import/export links to sidebar 2017-02-01 15:11:39 -05:00
James Phillips d593771d3c Merge pull request #2692 from Toady00/patch-1
Specify PUT for agent maintenance endpoint
2017-02-01 06:58:20 -08:00
James Phillips cbaf7ee81e Merge pull request #2666 from hashicorp/sethvargo-patch-1
Say which ec2 perms to use
2017-02-01 06:57:07 -08:00
Brandon Dennis fe8e7238e5 Specify PUT for agent maintenance endpoint
Through most of the documentation if the method isn't specified it should be a `GET` request, but here it should be a `PUT`.
2017-01-31 16:00:27 -05:00
Patrick Sodré 5b68178dc1 Simple RFC 2782 support with optional .service tag
Add support for SRV queries of names matching:
_<service>._<protocol>.[.service][.datacenter]<.domain>
2017-01-30 19:46:02 -05:00
Ryon Coleman c68106dcc6 Add Google Tag Manager #GTM-NR2SD7C 2017-01-27 15:41:42 -05:00
vishalnayak e8d43bfee2 docs: Added 'vault' to ecosystem page 2017-01-27 13:19:19 -05:00
James Phillips 2cf0c98213 Updates to Consul 0.7.3. 2017-01-26 10:16:11 -08:00
Andrey Upadyshev 0523eaf1f3 Fix missing query parameters formatting in HTTP API documentation 2017-01-25 14:34:56 +01:00
legendtkl b9ce8f6e4f Fix consul kv example with flag separator
1. fix consul kv example with flag separator
2017-01-24 17:03:12 +08:00
Kyle Havlovitz cc271aa436
Merge branch 'master' into f-prepared-query-nodemeta 2017-01-23 20:17:48 -05:00
Kyle Havlovitz 3cd054e81f
Add tests for node meta in prepared queries and update docs 2017-01-23 19:17:30 -05:00
Seth Vargo 222ade1f84 Say which ec2 perms to use 2017-01-20 17:13:28 -05:00
Cameron Stokes 5fc1913c3c Typo in docs/upgrade-specific page. 2017-01-19 12:28:30 -08:00
James Phillips 2e67edb2f2 Fixes a paste-o in the docs. 2017-01-18 16:02:04 -08:00
James Phillips 55cd1d975c
Adds catalog support for node IDs. 2017-01-18 14:26:42 -08:00
James Phillips 96bff003b7
Adds basic support for node IDs. 2017-01-17 22:47:59 -08:00
Mikhail Zholobov d54630ed79
website: Fix nesting for "raft_multiplier" option 2017-01-17 14:59:18 +02:00
Kyle Havlovitz 9080006a37
Add support for multiple metadata filters to remaining endpoints
Enabled multiple meta filters for /v1/catalog/nodes and /v1/catalog/services
2017-01-13 20:49:13 -05:00
Kyle Havlovitz e37f25dc02
Add node metadata filtering to remaining health/catalog endpoints 2017-01-13 20:08:43 -05:00
needkane 9258df0f5b occasionally->occasionally 2017-01-13 15:34:44 +08:00
Kyle Havlovitz dfe62af34a Merge pull request #2570 from vancluever/f-gce-discovery
command/agent: Google Compute Engine host discovery
2017-01-12 18:27:36 -05:00
Ben Abrams e148b1bb98
fixing typo in documentaion 2017-01-11 21:08:20 -08:00
Kyle Havlovitz 2139dbb029
Merge branch 'master' into f-gce-discovery 2017-01-11 22:57:07 -05:00
Kyle Havlovitz 84b157eade
Condense gce discovery logging a bit 2017-01-11 22:37:22 -05:00
Kyle Havlovitz 821735d175 Merge pull request #2643 from hashicorp/f-node-metadata
Node metadata
2017-01-11 20:29:24 -05:00
Kyle Havlovitz 15f008b3e3
Update client api and docs for node metadata 2017-01-11 19:28:58 -05:00
Kyle Havlovitz 561d6c71e0
Update website docs for node metadata 2017-01-11 17:52:31 -05:00
Brian Shumate f81d8c0754
DOCS: update environment variables
- Move environment variables to section of CLI page
- Remove environment variables page
- Remove environment variables nagivation menu entry
2017-01-09 12:02:06 -05:00
Brian Shumate d5bdc4c98b
DOCS: update environment variables page
- Relocate Environment Variables page to Agent section
- Correct front matter newlines issue
2017-01-06 09:42:49 -05:00
James Phillips d29cd8f4c8 Merge pull request #2573 from hashicorp/jbs-envvars
Add a page for CLI environment variables
2017-01-05 12:42:29 -08:00
James Phillips 5647e37ef2 Merge pull request #2611 from amiryal/patch-1
Correct heading level in encryption documentation
2017-01-05 12:13:13 -08:00
James Phillips 00ba30956d Merge pull request #2615 from ruslansennov/master
update `/v1/agent/service/register` endpoint doc
2017-01-05 12:08:50 -08:00
James Phillips 0d4baea1d2 Merge pull request #2627 from legendtkl/master
fix typo Check-And_set to Check-And-Set
2017-01-05 11:55:02 -08:00
James Phillips 8d83ac4771 Merge pull request #2628 from jippi/patch-1
Adding hashi-ui to community tools
2017-01-05 11:51:21 -08:00
James Phillips 9da1d8704c Merge pull request #2629 from Ashald/f-website/add-consul-announcer
Add consul-announcer to Community Tools
2017-01-05 11:50:48 -08:00
James Nugent 3b1f523b85 cli: Add KV `export` and `import`
This commit adds two new commands to the Consul KV CLI, which export and
import a JSON formatted representation of the Consul KV tree. It is
useful to migrate parts of the KV tree between unrelated Consul
clusters, and could also be used for initial data population of the KV
store.
2017-01-05 07:57:38 -06:00
James Nugent c32fe92eee cli: Add -base64 option to `consul kv put`
This commit adds a -base64 option to the consul kv put command, which
base 64 decodeds the data prior to writing it. This can be used in
conjunction with `consul kv get -base64 key`.
2017-01-04 16:12:21 -06:00
James Nugent a24e5041ac Merge pull request #2631 from hashicorp/kv-get-base64
cli: Add -base64 option to `consul kv get`
2017-01-04 16:00:27 -06:00
James Nugent 2bb6121e54 cli: Add -base64 option to `consul kv get`
This commit adds a `-base64` option to the `consul kv get` command,
which base 64 encodes the output such that it can be processed by
terminal tools in the event that the data is binary. The flag defaults
to false.
2017-01-04 15:41:40 -06:00
Borys Pierov 5a620246f4 Add consul-announcer to Community Tools 2017-01-04 11:03:19 -05:00
Christian Winther 452ab68f9d Update downloads_tools.html.erb 2017-01-03 21:14:39 +01:00
legendtkl b3e0702ab8 fix typo Check-And_set to Check-And-Set 2017-01-04 00:46:16 +08:00
Ruslan Sennov e81502babb update `/v1/agent/service/register` endpoint doc 2016-12-26 23:32:20 +03:00
Amir Yalon 58ee61c3c7 Correct heading level in encryption documentation
The ‘RPC Encryption’ heading is semantically at the same level as ‘Gossip Encryption’.
2016-12-22 10:51:20 +02:00
James Phillips 6f03545082
Updates downloads page link to 0.7.2. 2016-12-21 05:20:54 -08:00
Bradley Falzon 5acd28c506 Fix typo in command/kv/put doc 2016-12-21 14:02:26 +10:30
James Phillips 8a64bb6445 Adds session policy example to ACL internals doc. 2016-12-14 21:31:59 -08:00
James Phillips fe07574220
Fixes a typo in the agent options docs. 2016-12-14 21:03:16 -08:00
James Phillips b617e54ff0 Merge pull request #2594 from hashicorp/acl-complete
Adds complete ACL support for /v1/agent endpoints.
2016-12-14 20:49:00 -08:00
James Phillips 90cd498ea6
Adds some basic documentation about the new ACL changes. 2016-12-14 20:32:44 -08:00
Kyle Havlovitz 398f4a04ef
Add a notice about deprecation of atlas features 2016-12-14 15:13:51 -05:00
James Phillips 927aa3789a
Adds ACL management support to the agent. 2016-12-14 07:07:41 -08:00
James Phillips 67f1fe8d0b
Adds support for a new "acl_agent_token" which is used for internal
catalog operations.
2016-12-12 14:52:27 -08:00
James Phillips 4bb56b83ea Merge pull request #2590 from hashicorp/acl-complete-catalog
Adds new node ACL policy and applies it to catalog endpoints.
2016-12-12 14:52:10 -08:00
James Phillips b7daa87ec7 Merge pull request #2575 from bradleyfalzon/patch-1
Link to consensus.html#deployment-table not #toc_4
2016-12-08 14:02:52 -08:00
Seth Vargo 52637b1125
Switch to KV CLI in getting started 2016-12-07 14:01:51 -08:00
Seth Vargo 6f24588b8f
Update homepage to use KV CLI instead of curl 2016-12-07 11:32:35 -08:00
Chris Marchesi 1b4e26d005 command/agent: Google Compute Engine host discovery
This commit adds several command-line and config options that facilitate
host discovery through Google Compute Engine (GCE), much like the
recently added EC2 host discovery options. This should assist with
bootstrapping and joining servers within GCE when non-static addresses
are used, such as when using managed instance groups.

Documentation has also been added. It should be noted that if running
from within a GCE instance, the only option that should be necessary is
-retry-join-gce-tag-value.
2016-12-06 17:46:40 -08:00
Brian Shumate 5a26a906cd
Overlooked saving a couple changes 2016-12-06 18:01:43 -05:00
Brian Shumate c5b68467c6
updates based on feedback 2016-12-06 14:46:26 -05:00
Brian Shumate c509815493
Address feedback 2016-12-06 14:12:05 -05:00
James Phillips eb07e77c1c
Adds an opt-in for new ACL policies and features coming in Consul 0.8. 2016-12-06 11:06:14 -08:00
Bradley Falzon de851480c5 Link to consensus.html#deployment-table not #toc_4 2016-12-06 15:40:40 +10:30
James Phillips c5ca72c5a5
Fixes broken link in options doc. 2016-12-05 18:53:51 -08:00
James Phillips 7c0f6bd742 Clarifies ACL replication token. 2016-12-05 18:43:05 -08:00
Brian Shumate bcec3b3eb4
Some examples where sockets are possible as well 2016-12-05 16:56:31 -05:00
Brian Shumate cd2b3ed193
Add a table of CLI environment variables 2016-12-05 12:35:44 -05:00
Brian Shumate e507dc108b
Notes about memory usage (helps with #2535) 2016-12-05 12:28:49 -05:00
shantanugadgil 09f30bc375 Update kv.html.markdown 2016-12-03 13:35:55 +05:30
Mike Zupan 492d39fbb3 Needs to be moved
This took 2 hours from my life. The near has to be inside a service and not in the main block.
2016-12-01 22:47:02 -08:00
William Lord 67a84e0e20 Update snapshot.html.markdown 2016-12-01 10:11:35 +00:00
James Phillips bd5adea5ba Merge pull request #2555 from hashicorp/pr-2497-slackpad
Updates Circonus library and adds support for custom display name and tags.
2016-11-30 21:42:01 -08:00
James Phillips 7d67346f42
Changes Consul version number for new Circonus options. 2016-11-30 21:35:54 -08:00
Kyle Havlovitz dd05afb32e Add reload/leave http endpoints (#2516) 2016-11-30 13:29:42 -05:00
Brian Shumate b59ca6bd4d
Update compatibility table for #2540 2016-11-30 11:17:52 -05:00
James Phillips ee16675eda Merge pull request #2532 from jamtur01/docspass
Documentation pass
2016-11-29 15:15:04 -08:00
James Phillips f4f96c180d Update dns.html.markdown 2016-11-29 15:01:38 -08:00
anatoly 62921541ec [website]: Clojure client to SDK
in the "Download Consul Tools" list
2016-11-29 02:12:14 -05:00