Globally import Tabs and TabItem

This commit is contained in:
Billy Tat
2022-12-07 14:39:54 -08:00
parent 3d15613ef2
commit baf8137c7f
257 changed files with 131 additions and 594 deletions
@@ -2,9 +2,6 @@
title: Installing Rancher on a Google Kubernetes Engine Cluster
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
In this section, you'll learn how to install Rancher using Google Kubernetes Engine.
If you already have a GKE Kubernetes cluster, skip to the step about [installing an ingress.](#7-install-an-ingress) Then install the Rancher Helm chart following the instructions on [this page.](../../../pages-for-subheaders/install-upgrade-on-a-kubernetes-cluster.md#install-the-rancher-helm-chart)
@@ -2,7 +2,6 @@
title: Rollbacks
---
## Rolling Back to Rancher v2.5.0+
To roll back to Rancher v2.5.0+, use the **Rancher Backups** application and restore Rancher from backup.
@@ -3,8 +3,6 @@ title: Port Requirements
description: Read about port requirements needed in order for Rancher to operate properly, both for Rancher nodes and downstream Kubernetes cluster nodes
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import PortsIaasNodes from '@site/src/components/PortsIaasNodes'
import PortsCustomNodes from '@site/src/components/PortsCustomNodes'
import PortsImportedHosted from '@site/src/components/PortsImportedHosted'
@@ -2,9 +2,6 @@
title: '1. Set up Infrastructure and Private Registry'
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
In this section, you will provision the underlying infrastructure for your Rancher management server in an air gapped environment. You will also set up the private Docker registry that must be available to your Rancher node(s).
An air gapped environment is an environment where the Rancher server is installed offline or behind a firewall.
@@ -2,9 +2,6 @@
title: '3. Install Kubernetes (Skip for Docker Installs)'
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
:::note
Skip this section if you are installing Rancher on a single node with Docker.
@@ -2,9 +2,6 @@
title: '2. Collect and Publish Images to your Private Registry'
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
This section describes how to set up your private registry so that when you install Rancher, Rancher will pull all the required images from this registry.
By default, all images used to [provision Kubernetes clusters](../../../../pages-for-subheaders/kubernetes-clusters-in-rancher-setup.md) or launch any tools in Rancher, e.g. monitoring, pipelines, alerts, are pulled from Docker Hub. In an air gapped installation of Rancher, you will need a private registry that is located somewhere accessible by your Rancher server. Then, you will load the registry with all the images.
@@ -2,9 +2,6 @@
title: Upgrading Rancher Installed with Docker
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
The following instructions will guide you through upgrading a Rancher server that was installed with Docker.
:::caution
@@ -2,9 +2,6 @@
title: Choosing a Rancher Version
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
This section describes how to choose a Rancher version.
For a high-availability installation of Rancher, which is recommended for production, the Rancher server is installed using a **Helm chart** on a Kubernetes cluster. Refer to the [Helm version requirements](helm-version-requirements.md) to choose a version of Helm to install Rancher.
@@ -2,9 +2,6 @@
title: Helm CLI Quick Start
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
These instructions capture a quick way to set up a proof-of-concept Rancher installation.
These instructions assume you have a Linux virtual machine that you will communicate with from your local workstation. Rancher will be installed on the Linux machine. You will need to retrieve the IP address of that machine so that you can access Rancher from your local workstation. Rancher is designed to manage Kubernetes clusters remotely, so any Kubernetes cluster that Rancher manages in the future will also need to be able to reach this IP address.
@@ -2,9 +2,6 @@
title: Persistent Grafana Dashboards
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
To allow the Grafana dashboard to persist after the Grafana instance restarts, add the dashboard configuration JSON into a ConfigMap. ConfigMaps also allow the dashboards to be deployed with a GitOps or CD based approach. This allows the dashboard to be put under version control.
- [Creating a Persistent Grafana Dashboard](#creating-a-persistent-grafana-dashboard)
@@ -2,7 +2,6 @@
title: Enable Prometheus Federator
---
## Requirements
By default, Prometheus Federator is configured and intended to be deployed alongside [rancher-monitoring](https://rancher.com/docs/rancher/v2.6/en/monitoring-alerting/), which deploys Prometheus Operator alongside a Cluster Prometheus that each Project Monitoring Stack is configured to federate namespace-scoped metrics from by default.
@@ -2,7 +2,6 @@
title: Setting up Prometheus Federator for a Workload
---
### Display CPU and Memory Metrics for a Workload
Displaying CPU and memory metrics with Prometheus Federator is done the same way as with rancher-monitoring. For instructions, refer [here](../set-up-monitoring-for-workloads.md#display-cpu-and-memory-metrics-for-a-workload).
@@ -2,7 +2,6 @@
title: Setting up Monitoring for a Workload
---
If you only need CPU and memory time series for the workload, you don't need to deploy a ServiceMonitor or PodMonitor because the monitoring application already collects metrics data on resource usage by default.
The steps for setting up monitoring for workloads depend on whether you want basic metrics such as CPU and memory for the workload, or whether you want to scrape custom metrics from the workload.
@@ -2,9 +2,6 @@
title: Configure Azure AD
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
<Tabs>
<TabItem value="Rancher v2.6.7">
@@ -3,9 +3,6 @@ title: Configure Keycloak (SAML)
description: Create a Keycloak SAML client and configure Rancher to work with Keycloak. By the end your users will be able to sign into Rancher using their Keycloak logins
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
If your organization uses Keycloak Identity Provider (IdP) for user authentication, you can configure Rancher to allow your users to log in using their IdP credentials.
## Prerequisites
@@ -2,9 +2,6 @@
title: Custom Branding
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
Rancher v2.6 introduced the ability to customize Rancher’s branding and navigation links.
## Changing Brand Settings
@@ -2,9 +2,6 @@
title: Cluster and Project Roles
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
Cluster and project roles define user authorization inside a cluster or project.
To manage these roles,
@@ -2,7 +2,6 @@
title: Setting up a High-availability RKE Kubernetes Cluster
---
This section describes how to install a Kubernetes cluster. This cluster should be dedicated to run only the Rancher server.
:::note
@@ -2,9 +2,6 @@
title: Node Requirements for Rancher Managed Clusters
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
This page describes the requirements for the Rancher managed Kubernetes clusters where your apps and services will be installed. These downstream clusters should be separate from the three-node cluster running Rancher.
:::note
@@ -2,7 +2,6 @@
title: Managing GKE Clusters
---
## Prerequisites
Some setup in Google Kubernetes Engine is required.
@@ -2,9 +2,6 @@
title: Creating a DigitalOcean Cluster
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
In this section, you'll learn how to use Rancher to install an [RKE](https://rancher.com/docs/rke/latest/en/) Kubernetes cluster in DigitalOcean.
First, you will set up your DigitalOcean cloud credentials in Rancher. Then you will use your cloud credentials to create a node template, which Rancher will use to provision new nodes in DigitalOcean.
@@ -3,9 +3,6 @@ title: Creating an Amazon EC2 Cluster
description: Learn the prerequisites and steps required in order for you to create an Amazon EC2 cluster using Rancher
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
In this section, you'll learn how to use Rancher to install an [RKE](https://rancher.com/docs/rke/latest/en/) Kubernetes cluster in Amazon EC2.
First, you will set up your EC2 cloud credentials in Rancher. Then you will use your cloud credentials to create a node template, which Rancher will use to provision new nodes in EC2.
@@ -2,9 +2,6 @@
title: Creating an Azure Cluster
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
In this section, you'll learn how to install an [RKE](https://rancher.com/docs/rke/latest/en/) Kubernetes cluster in Azure through Rancher.
First, you will set up your Azure cloud credentials in Rancher. Then you will use your cloud credentials to create a node template, which Rancher will use to provision new nodes in Azure.
@@ -3,9 +3,6 @@ title: Removing Kubernetes Components from Nodes
description: Learn about cluster cleanup when removing nodes from your Rancher-launched Kubernetes cluster. What is removed, how to do it manually
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
This section describes how to disconnect a node from a Rancher-launched Kubernetes cluster and remove all of the Kubernetes components from the node. This process allows you to use the node for other purposes.
When you use Rancher to install Kubernetes on new nodes in an infrastructure provider, resources (containers/virtual network interfaces) and configuration items (certificates/configuration files) are created.
@@ -2,9 +2,6 @@
title: Certificate Rotation
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
:::caution
Rotating Kubernetes certificates may result in your cluster being temporarily unavailable as components are restarted. For production environments, it's recommended to perform this action during a maintenance window.
@@ -2,9 +2,6 @@
title: Installing the Adapter
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
> **Important:** If you are attempting to re-install the adapter, you may experience errant out-of-compliance messages for up to an hour.
### Rancher vs. Adapter Compatibility Matrix
@@ -2,7 +2,6 @@
title: Windows Support
---
Prior to Rancher v2.5.6, the `agent` did not have native Windows manifests on downstream clusters with Windows nodes. This would result in a failing `agent` pod for the cluster.
If you are upgrading from an older version of Rancher to v2.5.6+, you can deploy a working `agent` with the following workflow *in the downstream cluster*:
@@ -2,7 +2,6 @@
title: rancher-logging Helm Chart Options
---
### Enable/Disable Windows Node Logging
You can enable or disable Windows node logging by setting `global.cattle.windows.enabled` to either `true` or `false` in the `values.yaml`.
@@ -2,7 +2,6 @@
title: Built-in Dashboards
---
## Grafana UI
[Grafana](https://grafana.com/grafana/) allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Create, explore, and share dashboards with your team and foster a data driven culture.
@@ -2,7 +2,6 @@
title: How Monitoring Works
---
## 1. Architecture Overview
_**The following sections describe how data flows through the Monitoring V2 application:**_
@@ -2,9 +2,6 @@
title: NeuVector Integration
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
### NeuVector Integration in Rancher
New in Rancher v2.6.5, [NeuVector 5.x](https://open-docs.neuvector.com/) is an open-source container-centric security platform that is now integrated into Rancher. NeuVector offers real-time compliance, visibility, and protection for critical applications and data during runtime. NeuVector provides a firewall, container process/file system monitoring, security auditing with CIS benchmarks, and vulnerability scanning. For more information on Rancher security, please see the [security documentation](../pages-for-subheaders/rancher-security.md).
@@ -2,9 +2,6 @@
title: API
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
## How to use the API
The API has its own user interface accessible from a web browser. This is an easy way to see resources, perform actions, and see the equivalent cURL or HTTP request & response. To access it:
@@ -3,9 +3,6 @@ title: Install/Upgrade Rancher on a Kubernetes Cluster
description: Learn how to install Rancher in development and production environments. Read about single node and high availability installation
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
In this section, you'll learn how to deploy Rancher on a Kubernetes cluster using the Helm CLI.
@@ -2,9 +2,6 @@
title: Pipelines
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
:::note Notes
- As of Rancher v2.5, Git-based deployment pipelines are now deprecated. We recommend handling pipelines with Rancher Continuous Delivery powered by [Fleet](../how-to-guides/new-user-guides/deploy-apps-across-clusters/fleet.md). To get to Fleet in Rancher, click <b>☰ > Continuous Delivery</b>.
@@ -2,7 +2,6 @@
title: Nutanix Node Template Configuration
---
## Account Access
| Parameter | Required | Description | Default
@@ -2,7 +2,6 @@
title: VSphere Node Template Configuration
---
## Account Access
| Parameter | Required | Description |
@@ -2,7 +2,6 @@
title: Examples
---
### ServiceMonitor
An example ServiceMonitor custom resource can be found [here.](https://github.com/prometheus-operator/prometheus-operator/blob/master/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml)
@@ -2,7 +2,6 @@
title: Helm Chart Options
---
## Configuring Resource Limits and Requests
The resource requests and limits can be configured when installing `rancher-monitoring`.
@@ -2,9 +2,6 @@
title: Receiver Configuration
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
The [Alertmanager Config](https://prometheus.io/docs/alerting/latest/configuration/#configuration-file) Secret contains the configuration of an Alertmanager instance that sends out notifications based on alerts it receives from Prometheus.
:::note
@@ -2,9 +2,6 @@
title: Route Configuration
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
The route configuration is the section of the Alertmanager custom resource that controls how the alerts fired by Prometheus are grouped and filtered before they reach the receiver.
When a Route is changed, the Prometheus Operator regenerates the Alertmanager custom resource to reflect the changes.
@@ -2,9 +2,6 @@
title: Configuring Persistent Data for Pipeline Components
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
The pipelines' internal Docker registry and the Minio workloads use ephemeral volumes by default. This default storage works out-of-the-box and makes testing easy, but you lose the build images and build logs if the node running the Docker Registry or Minio fails. In most cases this is fine. If you want build images and logs to survive node failures, you can configure the Docker Registry and Minio to use persistent volumes.
This section assumes that you understand how persistent storage works in Kubernetes. For more information, refer to the section on [how storage works.](../../how-to-guides/new-user-guides/manage-clusters/create-kubernetes-persistent-storage/manage-persistent-storage/about-persistent-storage.md)
@@ -2,7 +2,6 @@
title: Advanced Options for Docker Installs
---
### Custom CA Certificate
If you want to configure Rancher to use a CA root certificate to be used when validating services, you would start the Rancher container sharing the directory that contains the CA root certificate.