Skip to content

Commit

Permalink
Merge pull request #1187 from loft-sh/docs-pro-label
Browse files Browse the repository at this point in the history
Docs fixes
  • Loading branch information
neogopher authored Sep 4, 2023
2 parents 3fdbdb5 + cfb0496 commit 7f9a96e
Show file tree
Hide file tree
Showing 12 changed files with 643 additions and 62 deletions.
2 changes: 1 addition & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
title: Isolated control Planes
sidebar_label: Isolated control Planes [PRO]
---
title: Isolated Control Plane
sidebar_label: Isolated Control Plane
---

import CustomLabel from '../../../src/components/ProLabel/ProLabel.js'

<CustomLabel color='white' href="https://vcluster.pro">PRO</CustomLabel>
9 changes: 6 additions & 3 deletions docs/pages/architecture/syncer/single_vs_multins.mdx
Original file line number Diff line number Diff line change
@@ -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]
<figure>
<img src="/docs/media/diagrams/vcluster-multinamespace-architecture.svg" alt="vcluster Multi-Namespace Architecture" />
<figcaption>vcluster Multi-Namespace Architecture</figcaption>
</figure>

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:

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/networking/integrated_coredns.mdx
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/o11y/logging/central_hpm.mdx
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/o11y/logging/grafana_loki.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Logging with Grafana and Loki
sidebar_label: Grafan and Loki
sidebar_label: Grafana and Loki
---

### Install the Prometheus stack:
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/syncer/generic_resource_patches.mdx
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
7 changes: 7 additions & 0 deletions docs/src/components/ProLabel/ProLabel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react';
import styles from './pro-label.css';
const CustomLabel = ({children, color, href}) => (
<a href={href} style={{color}} className='proFeatureLabel'> {children}
</a>
);
export default CustomLabel;
7 changes: 7 additions & 0 deletions docs/src/components/ProLabel/pro-label.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.proFeatureLabel {
background-color: orange;
padding: 3px;
border-radius: 2px;
padding: 0.2rem;
font-weight: bold;
}
610 changes: 610 additions & 0 deletions docs/static/media/diagrams/vcluster-multinamespace-architecture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/static/media/vCluster_horizontal-orange.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 0 additions & 51 deletions docs/static/media/vcluster_Horizontal_MonoBranding.svg

This file was deleted.

0 comments on commit 7f9a96e

Please sign in to comment.