From 6cf9abcf2fcee4f2c4c37a7b2d07ca1693c5fabe Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Tue, 9 Jul 2019 07:44:51 +0200 Subject: [PATCH] website: remove configuration use-case --- website/source/configuration.html.erb | 271 -------------------------- website/source/index.html.erb | 10 - website/source/layouts/_sidebar.erb | 3 +- website/source/layouts/layout.erb | 1 - website/source/redirects.txt | 1 + 5 files changed, 2 insertions(+), 284 deletions(-) delete mode 100644 website/source/configuration.html.erb diff --git a/website/source/configuration.html.erb b/website/source/configuration.html.erb deleted file mode 100644 index ea10edb909..0000000000 --- a/website/source/configuration.html.erb +++ /dev/null @@ -1,271 +0,0 @@ ---- -description: |- - Consul is a highly available and distributed service discovery and KV - store designed with support for the modern data center to make distributed - systems and configuration easy. ---- - -
- -
-

Service configuration made easy

-

Feature rich key/value store to easily configure services

-
- - - - - Download - - Explore Docs -
-
- -
-
-
-
- - - - - - - -

The Challenge

- Runtime configuration management loses performance at scale. -
- <%= inline_svg 'consul-connect/svgs/configuration-challenge.svg' %> -
-

Services have many runtime configurations, such as feature flags or maintenance modes, that need to be propagated in real time. Distributing these updates using configuration management or by re-deploying services can take minutes to hours. During these rollout periods, infrastructure can be out of sync and service configurations could be incorrect.

-
-
- -

The Solution

- Real-time runtime configuration for distributed applications. -
- <%= inline_svg 'consul-connect/svgs/configuration-solution.svg' %> -
-

Consul can update service configurations across thousands of - services in a globally distributed fleet in real-time. Configuration - is stored in a hierarchical key/value store, and efficient edge - triggers push changes out to applications quickly.

-
-
-
-
- -
-
-
-

Features

-
-
-
-
-

Key/Value Store

-

Feature rich key/value store for dynamic service configuration data. Use it for feature flagging, maintenance modes, and more.

-

- Learn more -

-
-
-
- - - - Service Registry - -
-
-
-
- -
-
-
-
-
-

Transaction Support

-

The key/value store supports both read and write transactions. This allows multiple keys to be updated or read as an atomic transaction. Changes to service configuration can be done atomically to minimize churn and avoid inconsistencies.

-

- Learn more -

-
-
-
-
- -
- $ curl http://localhost:8500/v1/txn \ - --request PUT \ - --data \ - '[ - { - "KV": { - "Verb": "set", - "Key": "lock", - "Value": "MQ==" - } - }, - { - "KV": { - "Verb": "cas", - "Index": 10, - "Key": "configuration", - "Value": "c29tZS1jb25maWc=" - } - } - ]' -
-
-
-
-
-
- -
-
-
-
-
-

Blocking Queries / Edge-Triggered Requests

-

The Consul API supports blocking queries, allowing edge triggered updates. Clients use this to get notified immediately of any changes. Tools like consul-template allow configuration files to be rendered in real-time to third-party sources when any configuration changes are made.

-

- Learn more -

-
-
-
-
- -
- $ curl http://localhost:8500/v1/kv/web/config/rate_limit?wait=1m&index=229 -[ - { - "LockIndex": 0, - "Key": "web/config/rate_limit", - "Flags": 0, - "Value": "NjAw", - "CreateIndex": 229, - "ModifyIndex": 234 - } -] -
-
-
-
-
-
- -
-
-
-
-
-

Watches

-

Watches use blocking queries to monitor for any configuration or health status updates and invoke user specified scripts to handle changes. This makes it easy to build reactive infrastructure.

-

- Learn more -

-
-
-
-
- -
- $ consul watch \ - -type=key \ - -key=web/config/rate_limit \ - /usr/local/bin/record-rate-limit.sh - -
-
-
-
-
-
- -
-
-
-
-
-

Distributed Locks and Semaphores

-

The key/value store supports distributed locks and semaphores. This makes it easier for applications to perform leader election or manage access to shared resources.

-

- Learn more -

-
-
-
- <%= inline_svg 'consul-connect/svgs/semaphores.svg', height: 383 %> -
-
-
-
- -
- -
- -
-
-

Ready to get started?

- - - - - Download - - Explore docs -
-
- -
diff --git a/website/source/index.html.erb b/website/source/index.html.erb index 698091d897..269d2a5851 100644 --- a/website/source/index.html.erb +++ b/website/source/index.html.erb @@ -128,16 +128,6 @@ description: |- Learn more -
-
- Service Configuration -

Service Configuration

-

Utilize the distributed Key/Value store to dynamically configure services and manage complex availability requirements.

-
-
- Learn more -
-
diff --git a/website/source/layouts/_sidebar.erb b/website/source/layouts/_sidebar.erb index 4613291f3c..dacc50ccb2 100644 --- a/website/source/layouts/_sidebar.erb +++ b/website/source/layouts/_sidebar.erb @@ -9,8 +9,7 @@
  • Intro
  • Guides
  • Service Discovery
  • -
  • Service Segmentation
  • -
  • Service Configuration
  • +
  • Service Mesh
  • Docs
  • API
  • Community
  • diff --git a/website/source/layouts/layout.erb b/website/source/layouts/layout.erb index 2d8fe84265..fd9a8ee3e0 100644 --- a/website/source/layouts/layout.erb +++ b/website/source/layouts/layout.erb @@ -73,7 +73,6 @@
  • Intro
  • diff --git a/website/source/redirects.txt b/website/source/redirects.txt index 0fce161545..616ad5df78 100644 --- a/website/source/redirects.txt +++ b/website/source/redirects.txt @@ -51,6 +51,7 @@ /docs/connect/proxies/sidecar-service.html /docs/connect/registration/sidecar-service.html /docs/enterprise/connect-multi-datacenter/index.html /docs/enterprise/index.html /segmentation.html /mesh.html +/configuration.html / # CLI renames /docs/commands/acl/acl-bootstrap.html /docs/commands/acl/bootstrap.html