Commit Graph

3150 Commits

Author SHA1 Message Date
Mike Morris 8a496af085
Update dev.mdx (#8090)
Remove ref to "virtual service" to avoid confusion with L7 routing virtual services, replace with "debug service".
2020-06-24 14:26:01 +02:00
Valery V. Vorotyntsev 0e50884525
Fix quorum formula in consensus.mdx (#8166)
[Add & Remove Servers](https://learn.hashicorp.com/consul/day-2-operations/servers)
guide uses `(N/2)+1` quorum formula.  So does the
[Raft implementation](5927dcda05/raft.go (L909)).

Consensus Protocol document uses `(n+1)/2` formula.
This formula is not only different, it conflicts with the
[Deployment Table](https://www.consul.io/docs/internals/consensus.html#deployment_table)
in the same document; e.g., (6+1)/2 = 3, not 4.

Replace `(n+1)/2` with `(N/2)+1` in Consensus Protocol document.
2020-06-24 14:23:36 +02:00
Chris Piraino c1f485c516
docs: Specify port in host for example (#8167)
This example shows a TLS enabled ingress config on a non-https port.
Currently, that means we require the port to be specified in one of the
host entries to route traffic.
2020-06-23 14:41:51 -05:00
freddygv 224f486aef Update namespaces subject-verb agreement 2020-06-23 10:57:30 -06:00
Brandon Romano 8c1ccf96e9 Update Nav 2020-06-21 19:35:34 -07:00
Preetha 0d4d807cb0
remove prerelease tag 2020-06-18 20:02:21 -05:00
Preetha 83241ec09e
update alert banner 2020-06-18 19:36:42 -05:00
Preetha 52dc72c24a
update version to 1.8.0 2020-06-18 19:32:11 -05:00
Freddy 4948cd403f
Finalize gateway documentation for 1.8.0 GA (#8121)
Co-authored-by: Derek Strickland <1111455+DerekStrickland@users.noreply.github.com>
2020-06-18 15:27:06 -06:00
Luke Kysow c937cbd0cf
Remove consul:beta now that 1.8 is out. 2020-06-18 11:50:25 -07:00
Rebecca Zanzig b9ec0d310f
Merge pull request #8126 from hashicorp/k8s/gateway-docs
Add helm chart options for ingress and terminating gateways
2020-06-18 11:30:59 -07:00
Jono Sosulska 1f1eb0cb33
Fixing multiple document updates (#8135)
* Fixes #7663-ACL Token Reloadable#7432-Cipher Suites,#7385-KV Delete DC, raft list-peers docs

Co-authored-by: Freddy <freddygv@users.noreply.github.com>
2020-06-18 14:10:45 -04:00
Rebecca Zanzig c1d37ddd6b Add helm chart options for ingress and terminating gateways 2020-06-18 11:04:19 -07:00
Dexter Lowe a27694d110
#8059 Improve Clarity on TTL docs (#8141) 2020-06-18 13:53:43 -04:00
Chris Piraino 03cc81ba18
Updates docs with ingress Host header clarifications (#8062)
* Updates docs with ingress Host header changes

Clarify that a Host header is required for L7 protocols, and specify
that the default is to use the Consul DNS ingress subdomain

* Add sentence about using '*' by itself for testing

* Add optional step for using L7 routing config

* Note that port numbers may need to be added in the Hosts field
2020-06-17 14:43:58 -05:00
Kevin Pruett 5d0bd935b0
Update @hashicorp/nextjs-scripts dep 2020-06-17 12:01:56 -04:00
wisp 9bad4aaf9a
Fixed a typo (#8132)
Fixed a little typo 🐰
2020-06-17 10:21:33 -04:00
David Yu 818ce2eca6
Formatting spaces between keys in Config entries (#8116)
* Formatting spaces between keys in Config entries

* Service Router spacing

* Missing Camel Case proxy-defaults

* Remove extra spaces service-splitter

* Remove extra spsaces service-resolver

* More spaces a la hclfmt

* Nice!

* Oh joy!

* More spaces on proxy-defaults

* Update website/pages/docs/agent/config-entries/proxy-defaults.mdx

Co-authored-by: Chris Piraino <cpiraino@hashicorp.com>
2020-06-16 11:28:21 -07:00
Matt Keeler cdc4b20afa
ACL Node Identities (#7970)
A Node Identity is very similar to a service identity. Its main targeted use is to allow creating tokens for use by Consul agents that will grant the necessary permissions for all the typical agent operations (node registration, coordinate updates, anti-entropy).

Half of this commit is for golden file based tests of the acl token and role cli output. Another big updates was to refactor many of the tests in agent/consul/acl_endpoint_test.go to use the same style of tests and the same helpers. Besides being less boiler plate in the tests it also uses a common way of starting a test server with ACLs that should operate without any warnings regarding deprecated non-uuid master tokens etc.
2020-06-16 12:54:27 -04:00
David Yu de65e6300e
Switching service-route, service-resolver, service-splitter examples to CamelCase (#8107)
* Switching service-route example to CamelCase

* Switch service-resovler examples to CamelCase

* Changing service-splitter examples to CamelCase
2020-06-15 14:14:36 -07:00
Spencer Owen 9b7483c6df
docs: Fix ingress dns entry (#8072) 2020-06-15 15:15:33 -05:00
freddygv f4179b400d Update telemetry for gateway-services endpoint 2020-06-12 14:44:36 -06:00
freddygv 51f8f76b3b Remove unused method and fixup docs ref 2020-06-12 13:47:43 -06:00
freddygv 26583e12ba Add docs 2020-06-12 13:47:43 -06:00
Hans Hasselberg 26494286c7
Support envoy 1.14.2, 1.13.2, 1.12.4 (#8057) 2020-06-10 23:20:17 +02:00
Mike Wickett 61848c6187
Merge pull request #8076 from hashicorp/nq.basic-hero-tertiary-link-support
[Website] Support tertiary-styled third links
2020-06-10 10:47:40 -04:00
Noel Quiles f696738875 Support tertiary-styled third links
Get the tertiary links to wrap below buttons

Adjust color/spacing of tertiary via override

Remove overrides, implement custom link

Extract arrow icon to file

Increase top margin for third link

Apply Brandon's fixes

Co-authored-by: Brandon Romano <BrandonRRomano@gmail.com>
2020-06-09 22:43:05 -07:00
Daniel Nephin 6719f1a6fa
Merge pull request #7900 from hashicorp/dnephin/add-linter-staticcheck-2
intentions: fix a bug in Intention.SetHash
2020-06-09 15:40:20 -04:00
Kyle Havlovitz b7cf5139dd
Merge pull request #8040 from hashicorp/ingress/expose-cli
Ingress expose CLI command
2020-06-09 12:11:23 -07:00
Preetha a4b2f657c4
fix link 2020-06-08 19:47:33 -05:00
Kyle Havlovitz c466551ec1 Add -host flag to expose command 2020-06-08 16:59:47 -07:00
Preetha 0252a79322
Update banner.js to call out helm chart survey 2020-06-08 17:34:38 -05:00
Blake Covarrubias 5d2f18fc3d docs: Fix rendering of markdown on performance page
Fix issue with markdown not being rendered on /docs/install/performance.mdx.

Resolves #8049
2020-06-08 10:29:47 -07:00
Hans Hasselberg 532e14fdc4
agent: add option to disable agent cache for HTTP endpoints (#8023)
This allows the operator to disable agent caching for the http endpoint.
It is on by default for backwards compatibility and if disabled will
ignore the url parameter `cached`.
2020-06-08 10:08:12 +02:00
Krastin 0f0c8a29fe website: fix a link in docs/agent/options
fixing the link to gopsutil in the -disable-host-node-id option text body
2020-06-07 03:36:55 -07:00
Jeff Escalante 37c7090d1a a few more naming adjustments 2020-06-06 15:45:29 -04:00
Jeff Escalante 511af6c9ba change page path, add redirect 2020-06-06 15:45:29 -04:00
Peter M d3b51070dd Update Homepage Use Case Name and Link
resubmitting this PR to include a link change.
2020-06-06 15:45:29 -04:00
Peter M 4ad6c0ab02 Updating NMA use case to reflect new name
Recently changed Network Middleware Automation use case to Network Infrastructure Automation, adding changes to the site to reflect this.
2020-06-06 15:00:03 -04:00
Kyle Havlovitz 05a8f4d95a Document the namespace format for expose CLI command 2020-06-05 15:47:03 -07:00
Kyle Havlovitz 7069150ee1 Add docs for expose command 2020-06-05 14:54:45 -07:00
Daniel Nephin b9e4544ec3 intentions: fix a bug in Intention.SetHash
Found using staticcheck.

binary.Write does not accept int types without a size. The error from binary.Write was ignored, so we never saw this error. Casting the data to uint64 produces a correct hash.

Also deprecate the Default{Addr,Port} fields, and prevent them from being encoded. These fields will always be empty and are not used.
Removing these would break backwards compatibility, so they are left in place for now.

Co-authored-by: Hans Hasselberg <me@hans.io>
2020-06-05 14:51:43 -04:00
Freddy f759a48726
Enable gateways to resolve hostnames to IPv4 addresses (#7999)
The DNS resolution will be handled by Envoy and defaults to LOGICAL_DNS. This discovery type can be overridden on a per-gateway basis with the envoy_dns_discovery_type Gateway Option.

If a service contains an instance with a hostname as an address we set the Envoy cluster to use DNS as the discovery type rather than EDS. Since both mesh gateways and terminating gateways route to clusters using SNI, whenever there is a mix of hostnames and IP addresses associated with a service we use the hostname + CDS rather than the IPs + EDS.

Note that we detect hostnames by attempting to parse the service instance's address as an IP. If it is not a valid IP we assume it is a hostname.
2020-06-03 15:28:45 -06:00
Kevin Pruett 5ce7c8d76d
Merge pull request #8002 from pruett/pruett.quickfix-acl-docs
Add newline to fix rendering bug
2020-06-03 17:21:52 -04:00
Jono Sosulska ebdc3a6b9e
Updating Stopping Agent Section (#8016)
Fixes #6935 to clarify agent behavior.
2020-06-03 17:08:49 -04:00
Kevin Pruett ffeb7515a4
Add newline to fix rendering bug 2020-06-03 15:21:06 -04:00
Derek Strickland e1871e9e6e
Added guideLinks prop for UseCaseLayout component and linked terminating gateways guide from documentation. (#7998) 2020-06-02 10:40:07 -04:00
R.B. Boyer 7bd7895047
acl: allow auth methods created in the primary datacenter to optionally create global tokens (#7899) 2020-06-01 11:44:47 -05:00
R.B. Boyer 16db20b1f3
acl: remove the deprecated `acl_enforce_version_8` option (#7991)
Fixes #7292
2020-05-29 16:16:03 -05:00
Jono Sosulska 7a13c96a2a
Replace whitelist/blacklist terminology with allowlist/denylist (#7971)
* Replace whitelist/blacklist terminology with allowlist/denylist
2020-05-29 14:19:16 -04:00
Shantanu Gadgil 08cb4e5c6b
add gobetween to the Consul tools (#7973)
add gobetween to the Consul tools
2020-05-29 11:17:22 -07:00
Chris Piraino 967ecf59b0
Remove underscores from gateway URL paths (#7962) 2020-05-28 14:19:17 -05:00
Luke Kysow 1edf879169
Merge pull request #7936 from hashicorp/helm-k8s-mgw
Helm docs for k8s mesh gateways and federation
2020-05-28 10:51:03 -07:00
Luke Kysow 80031e7921
Helm docs for k8s mesh gateways and federation 2020-05-28 10:49:59 -07:00
Alvin Huang f830637448
bump beta callout to v1.8.0-beta2 (#7945) 2020-05-26 12:51:44 -04:00
Luke Kysow 064bd2e9ca
Merge pull request #7944 from hashicorp/k8s-mgw-docs-update
Update for consul:1.8.0-beta2
2020-05-25 11:26:28 -07:00
Luke Kysow 11933ee640
Update for consul:1.8.0-beta2 2020-05-25 11:26:09 -07:00
Jeff Escalante 10b79907a0 env variable clarity 2020-05-21 14:50:45 -04:00
Jeff Escalante c093b4903f mod stylelint to be more accurate 2020-05-21 14:50:45 -04:00
Jeff Escalante 7a43926fa4 upgrade to stylelint release 2020-05-21 14:50:45 -04:00
Jeff Escalante 483ca3acf7 remove unused dependencies, adjust 404 link color 2020-05-21 14:50:45 -04:00
Jeff Escalante 306e8c84b6 update dependencies 2020-05-21 14:50:45 -04:00
Peter M 2232f5cba8 Updated resource heading to correct error 2020-05-20 15:26:56 -07:00
Freddy 36c2ae0900
Update ingress/terminating gateway ACL docs (#7891) 2020-05-20 09:27:25 -06:00
Paul Mundt 9b15050b44
docs: Add Dart client to list of Libraries and SDKs (#7884) 2020-05-20 12:42:12 +02:00
Patrice Krakow 49bd1a4ba3
docs: change "is" to "can be" in connect docs (#7902)
The doc says: "When the Connect injector is installed, the Connect sidecar is automatically added to all pods." But, it depends on the configuration, so I think it's better to say: "When the Connect injector is installed, the Connect sidecar can automatically added to all pods."
2020-05-20 12:40:24 +02:00
Pierre Souchay 3b548f0d77
Allow to restrict servers that can join a given Serf Consul cluster. (#7628)
Based on work done in https://github.com/hashicorp/memberlist/pull/196
this allows to restrict the IP ranges that can join a given Serf cluster
and be a member of the cluster.

Restrictions on IPs can be done separatly using 2 new differents flags
and config options to restrict IPs for LAN and WAN Serf.
2020-05-20 11:31:19 +02:00
R.B. Boyer 16bbb11aad
docs: remove todos (#7922)
Fixes #7921
2020-05-19 15:19:06 -05:00
R.B. Boyer 694a6c03e5
docs: update the 'consul tls' command docs to match the current flags (#7911) 2020-05-18 12:01:14 -05:00
nicolelyn 56b7440b98 website: update flexible architecture image 2020-05-15 13:49:57 -04:00
Mike Wickett f1b825d917
Merge pull request #7895 from BrandonRomano/nf.fix-callouts-image
website: fix image size on learn callout
2020-05-15 10:13:31 -04:00
David Yu 6f6f6c47ca
Unindenting to remove shell pre-formatting (#7890) 2020-05-14 15:04:53 -06:00
nicolelyn f3857a8d1f website: fix image size on learn callout 2020-05-14 15:09:15 -04:00
Brandon Romano 6790f25a50 Updates alert Banner to point to 1.8 Blog Post 2020-05-14 10:18:18 -07:00
Luke Kysow 79a604b795
Merge pull request #7882 from hashicorp/multi-cluster-k8s
Documentation for wan fed via mgw on k8s
2020-05-14 09:57:39 -07:00
Luke Kysow d998a776dd
Documentation for wan fed via mgw on k8s 2020-05-14 09:09:18 -07:00
Brandon Romano 205fc808d1
Merge pull request #7883 from BrandonRomano/consul-website-redesign
website: Landing & Use Case Pages redesign
2020-05-14 09:04:10 -07:00
Preetha Appan 4e3b23d341 link to beta 2020-05-14 10:51:34 -05:00
Preetha Appan 3e1577bb29 Update version.js 2020-05-14 10:42:06 -05:00
Brandon Romano 45d8445cef Remove accidental import that sneaked in rebase 2020-05-13 23:48:06 -07:00
Brandon Romano f475b6ebfa Revert "Temporarily switch og:image to staging env to test"
This reverts commit a71eb2170020884e701267db23fc6d5a0bc3a06b.
2020-05-13 23:45:42 -07:00
Brandon Romano 44152089ec Set og:title name for overriding 2020-05-13 23:45:42 -07:00
Brandon Romano b749423c9d Adds og:title 2020-05-13 23:45:42 -07:00
Brandon Romano 9819432b22 Temporarily switch og:image to staging env to test 2020-05-13 23:45:42 -07:00
Brandon Romano a0c30060b3 Adds page specific metadata to use case pages 2020-05-13 23:45:42 -07:00
Brandon Romano cf7b7f9e6f Update base metadata 2020-05-13 23:45:42 -07:00
Brandon Romano 868d7114fa Further image optimizations 2020-05-13 23:45:42 -07:00
Brandon Romano d5bacda835 Remove raster images to CDN 2020-05-13 23:45:42 -07:00
Brandon Romano 2a3aa0cf34 Optimize why consul icons 2020-05-13 23:45:42 -07:00
Brandon Romano d6ce61b07e Optimize use case diagrams to SVGs 2020-05-13 23:45:41 -07:00
Brandon Romano 9023436120 Final content tweaks 2020-05-13 23:45:41 -07:00
Brandon Romano 0014fad5d4 Fix logo alignment bug 2020-05-13 23:45:41 -07:00
Brandon Romano fe1c263b5d Preserve Barclays aspect ratio 2020-05-13 23:45:41 -07:00
Brandon Romano 616cc65b71 Shrink quotes 2020-05-13 23:45:41 -07:00
Brandon Romano 797903c960 Removes border 2020-05-13 23:45:41 -07:00
Brandon Romano 5364ac39c4 Adds Mulit-Platform Service Mesh page 2020-05-13 23:45:41 -07:00
Brandon Romano b0c65ee48a No case studies on NMA page 2020-05-13 23:45:41 -07:00
Brandon Romano 0624ee5753 Update use case screenshots 2020-05-13 23:45:41 -07:00
Brandon Romano 3a1c8e8a7e Shrink barclays logo 2020-05-13 23:45:40 -07:00
Brandon Romano c26eb9bc6d Add health checking page content 2020-05-13 23:45:40 -07:00
Brandon Romano 455c58395f Update service discovery description 2020-05-13 23:45:40 -07:00
Brandon Romano aa648cb47e Adds NMA page content 2020-05-13 23:45:40 -07:00
Brandon Romano 6b6f3ce3d4 Small copy tweaks to prefooter elements 2020-05-13 23:45:40 -07:00
Brandon Romano a0316d3766 Update order of use cases 2020-05-13 23:45:40 -07:00
Brandon Romano 17332aaac9 Update home content up to quotes 2020-05-13 23:45:40 -07:00
Brandon Romano d6fe9ba40a Add Kubernetes icon 2020-05-13 23:45:40 -07:00
Brandon Romano f0fa02b4e2 Adds FeaturedSlider to use case pages 2020-05-13 23:45:40 -07:00
Brandon Romano ca7503314d Delete old use case pages w/ redirect to new 2020-05-13 23:45:40 -07:00
Brandon Romano 0401721cd5 Point the subnav use case pages to the new pages 2020-05-13 23:45:39 -07:00
Brandon Romano 1082255f1f Stub other use case pages 2020-05-13 23:45:39 -07:00
Brandon Romano 2f0813390d Stub nma page 2020-05-13 23:45:39 -07:00
Brandon Romano fac7e1009a Pull out CTA content into component 2020-05-13 23:45:39 -07:00
Brandon Romano 0fe283bfd0 Theme & Stub quotes section 2020-05-13 23:45:39 -07:00
Brandon Romano 3b3e710f77 Adjust nav to new recommended layout.
This removes "Intro", which is actually no longer the recommended
get-started place (Learn takes that spot).

Additionally, there is now a separator between the high level business
value stuff, and the low level developer stuff.
2020-05-13 23:45:39 -07:00
Brandon Romano 2d5a31bfec Adds learn guides w/ temporary K8S icon 2020-05-13 23:45:39 -07:00
Brandon Romano 4301f95e9a Plugs in use cases 2020-05-13 23:45:39 -07:00
Brandon Romano 8211b9bc82 Tweak CTA text 2020-05-13 23:45:39 -07:00
Brandon Romano 40e4c6218c Plug in Hero content 2020-05-13 23:45:39 -07:00
Brandon Romano 7e405f4c5a Adds a border to the top of the footer for visual spacing 2020-05-13 23:45:39 -07:00
Brandon Romano a5a62324cc Plug in proper content for when enterprise component 2020-05-13 23:45:38 -07:00
Brandon Romano d4120b3065 Plug in proper content 2020-05-13 23:45:38 -07:00
Brandon Romano f4b70bcd51 Remove featured slider in this PR 2020-05-13 23:45:38 -07:00
nicolelyn f2242e0853 remove from style.css 2020-05-13 23:45:38 -07:00
nicolelyn c5401b9508 add features list 2020-05-13 23:45:38 -07:00
nicolelyn 16dbbe51f2 remove before/after diagram 2020-05-13 23:45:38 -07:00
nicolelyn f1586fde0a add spaces 2020-05-13 23:45:38 -07:00
nicolelyn 7800e17565 remove console.log 2020-05-13 23:45:38 -07:00
nicolelyn cb678b8859 add majority of home page components 2020-05-13 23:45:38 -07:00
nicolelyn e0ea39fcf0 add majority of components 2020-05-13 23:45:10 -07:00
nicolelyn 6dac9070d2 prep for redesign 2020-05-13 23:44:22 -07:00
Brandon Romano 8a26c22e71 Test Netlify build 2020-05-13 23:44:22 -07:00
Mike Morris 26b6bc9561
docs: add audit logging docs to agent configuration (#7880) 2020-05-13 20:59:00 -04:00
Preetha 2928fe0e76
temporarily remove link that 404s
will be readded later when page is available
2020-05-13 19:11:13 -05:00
Freddy 85b70d6eb1
Add beta tags to gateway docs (#7876) 2020-05-13 15:47:20 -06:00
Chris Piraino 7f4f28b6d7
Ingress and Terminating Gateway docs (#7710)
This PR contains documentation additions for ingress and terminating gateways. New pages for the config-entries and overall feature description were added, as well as various additions to related pages.

Co-authored-by: Jono Sosulska <42216911+jsosulska@users.noreply.github.com>
Co-authored-by: freddygv <gh@freddygv.xyz>
Co-authored-by: Freddy <freddygv@users.noreply.github.com>
Co-authored-by: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
2020-05-13 16:29:40 -05:00
Preetha 272733a5c1
Merge pull request #7823 from hashicorp/docs-wanfed-mesh
Redo PR #7430 for new website (docs for WAN federation over mesh gateways)
2020-05-13 14:22:18 -05:00
R.B. Boyer 49e6680892
docs: docs for jwt and oidc auth methods (#7847) 2020-05-13 14:14:03 -05:00
Preetha Appan 947d7df816 added links, removed todo 2020-05-13 14:11:58 -05:00
Jeff Escalante 9b95af60b8 add tabs component 2020-05-13 14:01:37 -04:00
Jeff Escalante 0b848deae7 add to primary website readme 2020-05-13 14:01:37 -04:00
Jeff Escalante 28922ddba5 add docs for enterprise alert component 2020-05-13 14:01:37 -04:00
Freddy 7e71b4d70d
Use proxy-id in gateway auto-registration (#7845) 2020-05-13 11:56:53 -06:00
jsosulska 5928bbd319 Update FAQ with Compat Matrix information 2020-05-12 19:43:56 -04:00
Jono Sosulska 38ba851993
Update FAQ + formatting (#7816)
* Update FAQ + formatting

* Fix 80 chars lines in FAQ
2020-05-12 19:36:49 -04:00
Preetha Appan 50a0439c59 Clean up placeholder diagrams, rename file to use dashes 2020-05-12 16:34:59 -05:00
bitsofinfo 5cc5dab000
added files-to-consul-kv to tools
added files-to-consul-kv to tools
2020-05-12 08:30:16 -06:00
krishna sindhur a0474e0437
docs: header payload type change (#7763)
* changed the header type from string to list as mentioned in doc in [website/pages/api-docs/agent/check.mdx, website/pages/docs/agent/checks.mdx]
2020-05-12 11:48:48 +02:00
Marek Vavruša a6cd75423e
docs: fix misleading example for HTTP healthcheck (#7773)
The documentation says the `header` field has type `map[string][]string`,
but the example has `map[string]string`.
2020-05-12 11:45:46 +02:00
Preetha Appan f3ee8d4777 Add Beta super script to page title
also moves version availability to below feature title
2020-05-11 14:59:17 -05:00
Iryna Shustava 97bca3476e
docs: add docs for configuring ACLs with external servers (#7802) 2020-05-11 11:26:10 -07:00