From 2c9850176fbfd327d5d33aacf61e2cf1aa67a830 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Tue, 1 Dec 2020 11:55:08 -0500 Subject: [PATCH] docs: move agent lifecycle doc under Operations heading (#9411) --- website/data/docs-navigation.js | 2 +- website/pages/docs/operations/index.mdx | 1 + .../{install/production => operations}/nomad-agent.mdx | 4 ++-- website/redirects.js | 8 +++++++- 4 files changed, 11 insertions(+), 4 deletions(-) rename website/pages/docs/{install/production => operations}/nomad-agent.mdx (98%) diff --git a/website/data/docs-navigation.js b/website/data/docs-navigation.js index 492a01c8a..faf654681 100644 --- a/website/data/docs-navigation.js +++ b/website/data/docs-navigation.js @@ -14,7 +14,6 @@ export default [ category: 'production', content: [ 'requirements', - 'nomad-agent', { title: 'Reference Architecture', href: @@ -415,6 +414,7 @@ export default [ { category: 'operations', content: [ + 'nomad-agent', 'telemetry', 'metrics', { diff --git a/website/pages/docs/operations/index.mdx b/website/pages/docs/operations/index.mdx index 1d5e1d592..1f5ee3c52 100644 --- a/website/pages/docs/operations/index.mdx +++ b/website/pages/docs/operations/index.mdx @@ -12,6 +12,7 @@ learn more, choose an item from the sidebar, or choose one of the options below: +- [Operating Nomad Agents](/docs/operations/nomad-agent) - [Telemetry Overview](/docs/operations/telemetry) - [Metrics](/docs/operations/metrics) - [Cluster Management](https://learn.hashicorp.com/collections/nomad/manage-clusters) diff --git a/website/pages/docs/install/production/nomad-agent.mdx b/website/pages/docs/operations/nomad-agent.mdx similarity index 98% rename from website/pages/docs/install/production/nomad-agent.mdx rename to website/pages/docs/operations/nomad-agent.mdx index b97f40ce4..5933eea76 100644 --- a/website/pages/docs/install/production/nomad-agent.mdx +++ b/website/pages/docs/operations/nomad-agent.mdx @@ -1,13 +1,13 @@ --- layout: docs page_title: Nomad Agent -sidebar_title: Set Server & Client Nodes +sidebar_title: Operating Nomad Agents description: |- The Nomad agent is a long running process which can be used either in a client or server mode. --- -# Setting Nodes with Nomad Agent +# Operating Nomad Agents The Nomad agent is a long running process which runs on every machine that is part of the Nomad cluster. The behavior of the agent depends on if it is diff --git a/website/redirects.js b/website/redirects.js index 16e73da8e..bab7ecbd4 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -810,13 +810,19 @@ module.exports = [ destination: '/docs/operations/telemetry', permanent: true, }, - { source: '/docs/telemetry/metrics', destination: '/docs/operations/metrics', permanent: true, }, + // Moved installing agent under operations as ope + { + source: '/docs/install/production/nomad-agent', + destination: '/docs/operations/nomad-agent', + permanent: true, + }, + // Moved guide-like docs to /guides { source: '/docs/agent',