From cfb0496a8620526d67ce43eab43e42d2916a5283 Mon Sep 17 00:00:00 2001 From: Alexandra Dragodan Date: Wed, 30 Aug 2023 21:54:55 +0300 Subject: [PATCH] added pro label, fixed small typos, changed logo and multins diagram Signed-off-by: Alexandra Dragodan alexandra@loft.sh --- docs/docusaurus.config.js | 2 +- .../control_plane/isolated_control_planes.mdx | 10 +- .../architecture/syncer/single_vs_multins.mdx | 9 +- docs/pages/networking/integrated_coredns.mdx | 2 +- docs/pages/o11y/logging/central_hpm.mdx | 2 +- docs/pages/o11y/logging/grafana_loki.mdx | 2 +- .../pages/syncer/generic_resource_patches.mdx | 2 +- docs/src/components/ProLabel/ProLabel.js | 7 + docs/src/components/ProLabel/pro-label.css | 7 + .../vcluster-multinamespace-architecture.svg | 610 ++++++++++++++++++ .../media/vCluster_horizontal-orange.svg | 1 + .../vcluster_Horizontal_MonoBranding.svg | 51 -- 12 files changed, 643 insertions(+), 62 deletions(-) create mode 100644 docs/src/components/ProLabel/ProLabel.js create mode 100644 docs/src/components/ProLabel/pro-label.css create mode 100644 docs/static/media/diagrams/vcluster-multinamespace-architecture.svg create mode 100644 docs/static/media/vCluster_horizontal-orange.svg delete mode 100644 docs/static/media/vcluster_Horizontal_MonoBranding.svg diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 80e2cdd52..dd2885c0a 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -15,7 +15,7 @@ module.exports = { navbar: { logo: { alt: 'vcluster', - src: '/media/vcluster_Horizontal_MonoBranding.svg', + src: '/media/vCluster_horizontal-orange.svg', href: 'https://vcluster.com/', target: '_self', }, diff --git a/docs/pages/architecture/control_plane/isolated_control_planes.mdx b/docs/pages/architecture/control_plane/isolated_control_planes.mdx index 3ce6ad1a0..a1a019dc6 100644 --- a/docs/pages/architecture/control_plane/isolated_control_planes.mdx +++ b/docs/pages/architecture/control_plane/isolated_control_planes.mdx @@ -1,4 +1,8 @@ --- -title: Isolated control Planes -sidebar_label: Isolated control Planes [PRO] ---- \ No newline at end of file +title: Isolated Control Plane +sidebar_label: Isolated Control Plane +--- + +import CustomLabel from '../../../src/components/ProLabel/ProLabel.js' + + PRO \ No newline at end of file diff --git a/docs/pages/architecture/syncer/single_vs_multins.mdx b/docs/pages/architecture/syncer/single_vs_multins.mdx index 362b124d4..1592bd4a2 100644 --- a/docs/pages/architecture/syncer/single_vs_multins.mdx +++ b/docs/pages/architecture/syncer/single_vs_multins.mdx @@ -1,9 +1,12 @@ --- -title: Single vs Multi Namespace Sync -sidebar_label: Single vs Multi Namespace Sync +title: Single vs Multi-Namespace Sync +sidebar_label: Single vs Multi-Namespace Sync --- -[Multinamespace mode Architecture Diagram here] +
+ vcluster Multi-Namespace Architecture +
vcluster Multi-Namespace Architecture
+
In this mode vcluster diverges from the [architecture described previously](/architecture/overview). By default, all namespaced resources that need to be synced to the host cluster are created in the namespace where vcluster is installed. But in multi-namespace mode vcluster will create a namespace in the host cluster for each namespace in the virtual cluster. The namespace name is modified to avoid conflicts between multiple vcluster instances in the same host, but the synced namespaced resources are created with the same name as in the virtual cluster. To enable this mode use the following helm value: diff --git a/docs/pages/networking/integrated_coredns.mdx b/docs/pages/networking/integrated_coredns.mdx index 1f605d0b9..085fb9343 100644 --- a/docs/pages/networking/integrated_coredns.mdx +++ b/docs/pages/networking/integrated_coredns.mdx @@ -1,6 +1,6 @@ --- title: Integrated CoreDNS -sidebar_label: Integrated CoreDNS [PRO] +sidebar_label: Integrated CoreDNS --- Normal deployment of vcluster consists usually of two pods per vcluster: diff --git a/docs/pages/o11y/logging/central_hpm.mdx b/docs/pages/o11y/logging/central_hpm.mdx index 7077e732a..250357f77 100644 --- a/docs/pages/o11y/logging/central_hpm.mdx +++ b/docs/pages/o11y/logging/central_hpm.mdx @@ -1,6 +1,6 @@ --- title: Centralized Hostpath Mapper -sidebar_label: Centralized Hostpath Mapper [PRO] +sidebar_label: Centralized Hostpath Mapper --- This feature is an extention to the existing [hostpath mapper](/docs/o11y/logging/hpm) component of vcluster. diff --git a/docs/pages/o11y/logging/grafana_loki.mdx b/docs/pages/o11y/logging/grafana_loki.mdx index b58efc7c3..9f5df709c 100644 --- a/docs/pages/o11y/logging/grafana_loki.mdx +++ b/docs/pages/o11y/logging/grafana_loki.mdx @@ -1,6 +1,6 @@ --- title: Logging with Grafana and Loki -sidebar_label: Grafan and Loki +sidebar_label: Grafana and Loki --- ### Install the Prometheus stack: diff --git a/docs/pages/syncer/generic_resource_patches.mdx b/docs/pages/syncer/generic_resource_patches.mdx index 76b9e2951..1d3635a12 100644 --- a/docs/pages/syncer/generic_resource_patches.mdx +++ b/docs/pages/syncer/generic_resource_patches.mdx @@ -1,6 +1,6 @@ --- title: Generic Resource Patches -sidebar_label: Generic Resource Patches [PRO] +sidebar_label: Generic Resource Patches --- The Generic Resource Patch feature allows one to patch Kubernetes resources during sync and right before getting applied to the Kubernetes API server. diff --git a/docs/src/components/ProLabel/ProLabel.js b/docs/src/components/ProLabel/ProLabel.js new file mode 100644 index 000000000..7e0cee130 --- /dev/null +++ b/docs/src/components/ProLabel/ProLabel.js @@ -0,0 +1,7 @@ +import React from 'react'; +import styles from './pro-label.css'; +const CustomLabel = ({children, color, href}) => ( + {children} + +); +export default CustomLabel; \ No newline at end of file diff --git a/docs/src/components/ProLabel/pro-label.css b/docs/src/components/ProLabel/pro-label.css new file mode 100644 index 000000000..4fa8b22c8 --- /dev/null +++ b/docs/src/components/ProLabel/pro-label.css @@ -0,0 +1,7 @@ +.proFeatureLabel { + background-color: orange; + padding: 3px; + border-radius: 2px; + padding: 0.2rem; + font-weight: bold; +} \ No newline at end of file diff --git a/docs/static/media/diagrams/vcluster-multinamespace-architecture.svg b/docs/static/media/diagrams/vcluster-multinamespace-architecture.svg new file mode 100644 index 000000000..21f2ce87d --- /dev/null +++ b/docs/static/media/diagrams/vcluster-multinamespace-architecture.svg @@ -0,0 +1,610 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/static/media/vCluster_horizontal-orange.svg b/docs/static/media/vCluster_horizontal-orange.svg new file mode 100644 index 000000000..b60eb993a --- /dev/null +++ b/docs/static/media/vCluster_horizontal-orange.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/static/media/vcluster_Horizontal_MonoBranding.svg b/docs/static/media/vcluster_Horizontal_MonoBranding.svg deleted file mode 100644 index 735e3ab95..000000000 --- a/docs/static/media/vcluster_Horizontal_MonoBranding.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - -