* Clarify "Linux dependencies" for vSphere * Add note regarding rancher pentest reports public availability (#961) * Add note regarding rancher pentest reports public availability This PR will add a note regarding third-party penetration test reports public disclosure. * Update docs/pages-for-subheaders/rancher-security.md * versioning for 2.7, 2.8 * added back in webhook material at end of 2.8 page * corrected broken link --------- Co-authored-by: Pietro Dell'Amore <pdellamore@MacBook-Pro-de-Pietro.local> Co-authored-by: Marty Hernandez Avedon <marty.avedon@suse.com> * Add redirects for dashboard links * Updates to the Global roles for new 2.8 features (#898) * Updating docs to deprecate Restricted Admin * Updating GlobalRole Docs Updates the docs for GlobalRoles to include new info on the "escalate" and "bind" verbs, as well as include info on how to use the new "inheritedClusterRoles" field * Apply suggestions from code review * code review changes * merged some minor copyedits * Update docs/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-role-based-access-control-rbac/global-permissions.md * Update docs/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/manage-role-based-access-control-rbac/global-permissions.md * fixed versioning for v2.8, v2.7 * Update docs/getting-started/installation-and-upgrade/installation-references/helm-chart-options.md * copy/paste current version of global-permissions file in main to ensure file is correctly reverted to v2.7 --------- Co-authored-by: Marty Hernandez Avedon <marty.avedon@suse.com> * #857 Add a API quickstart page under the (to be added) API section (#858) * initial engineering draft of api quickstart * spacing, headings * copyedit * note syntax added for last warning * link to create api keys page, copy edits * formating * Apply suggestions from code review Co-authored-by: Billy Tat <btat@suse.com> * indentation, intro * Update docs/api/quickstart.md Co-authored-by: Billy Tat <btat@suse.com> * Apply suggestions from code review Co-authored-by: Michael Bolot <michael.bolot@suse.com> * Update docs/api/quickstart.md * removed commented-out line * moved text from step 5 to step 3, made into its own step, added info about not all resources offering detailed output * added sidebar entry * mv'd to version-2.8 dir * rm'd remainders in /docs dir --------- Co-authored-by: Billy Tat <btat@suse.com> Co-authored-by: Michael Bolot <michael.bolot@suse.com> * Fix version-2.8 broken links * Update header: More from SUSE * Fix quoting (single vs double) consistency * Fix link rendering issue * Add 2.7.9 entry to versions table * Add initial Opni landing page Signed-off-by: Mike Latimer <mlatimer@suse.com> * added color icons to /static/img * Add K8s Distro landing page content * added css + elemental icon * rm'd temp file * Update src/css/custom.css Co-authored-by: Billy Tat <btat@suse.com> * rm usused icons * canonical links for single-user-nodes and user-settings * Update token setting page (#906) * Update token setting page * Remove unnecessary step * Harvester landing page: apply feedback from #940 * Rancher Desktop landing page: apply feedback from #944 * Epinio landing page: apply feedback from #945 * fixed spacing problem that ruined callout (#978) * rm mention of Rio from 2.7 & 2.8 (#980) * General FAQ copyedit (#983) * General FAQ copyedit * restored intro * Update etcd troubleshoot for etcd 3.5.7 and higher (#985) * Add session management section (#981) * Add note regarding rancher pentest reports public availability This PR will add a note regarding third-party penetration test reports public disclosure. * Add session management section to rancher security best practices This PR will create a new section inside Rancher Security Best Practices adding security recommendations for RM deployments that might need additional security controls. * Apply suggestions from code review Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com> * Update docs/reference-guides/rancher-security/rancher-security-best-practices.md * Update docs/reference-guides/rancher-security/rancher-security-best-practices.md Co-authored-by: Guilherme Macedo <guilherme@gmacedo.com> * versioned docs --------- Co-authored-by: Pietro Dell'Amore <pdellamore@MacBook-Pro-de-Pietro.local> Co-authored-by: Marty Hernandez Avedon <marty.avedon@suse.com> Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com> Co-authored-by: Guilherme Macedo <guilherme@gmacedo.com> * #879 Add Project Owner to 'Project Member Can't Create Namespace' doc (#894) * 879 Add Project Owner to 'Project Member Can't Create Namespace' doc * versioned doc * Update docs/reference-guides/rancher-webhook.md Co-authored-by: Billy Tat <btat@suse.com> * Update docs/reference-guides/rancher-webhook.md Co-authored-by: Michael Bolot <michael.bolot@suse.com> * Apply suggestions from code review Co-authored-by: Lucas Saintarbor <lucas.saintarbor@suse.com> * Update docs/reference-guides/rancher-webhook.md * page sync * added v2.8 page * merge syntax left in file, rm'd backticks from version numbers --------- Co-authored-by: Billy Tat <btat@suse.com> Co-authored-by: Michael Bolot <michael.bolot@suse.com> Co-authored-by: Lucas Saintarbor <lucas.saintarbor@suse.com> * 135 cloud-provider(aws): Need to correct content on cluster id in aws tagging section * versioning * Add delete permission and remove duplicate header (#989) * Apply suggestions from code review Co-authored-by: Billy Tat <btat@suse.com> * Amazon only uses EC2, so 'use anything' is a moot point * Update CNI popularity chart numbers. Credit to @amitmavgupta for original PR. * Update Swagger file * Fix etcd.backup_config.retention description * Add Projects API workflow example * Add project workflow to sidebar; remove duplicate API category * Update versioned_docs/version-2.8/api/workflows/projects.md Co-authored-by: Marty Hernandez Avedon <martyavedon@gmail.com> * #963 clarify documentation for read only permissions in monitoring UI (#964) * 963 - Clarify documentation around read-only permissions for monitoring. * fixed random Capitalization of Nouns * moved changes to v2.8 dir and revised capitalization again * Update docs/integrations-in-rancher/monitoring-and-alerting/rbac-for-monitoring.md * copyedits, added workaround * copyedits * versioning * Update versioned_docs/version-2.8/api/workflows/projects.md * Update migrate-rancher-to-new-cluster.md (#1007) * Update migrate-rancher-to-new-cluster.md * Update docs/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/migrate-rancher-to-new-cluster.md * Update docs/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/migrate-rancher-to-new-cluster.md * Update docs/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery/migrate-rancher-to-new-cluster.md * 2.7, 2.8 versioning * restoring bulleted links to rke/k3s * 2.5 to 2.8 synced * rm'd info about rke2/k3s from inappropriate version * reverted last commit -- done by mistake --------- Co-authored-by: Marty Hernandez Avedon <marty.avedon@suse.com> * fix: update v2.7 cn sidebar * fixed typo in command (#1010) * Apply4b2f8125(sidebar label update) to other versions. Originally changed in #926 * Remove term from translated sidebar label to match English label * #420 Completes canonical links task (#1011) * Completes canonical links task * spacing * Updating CSP Adapter versions * embed video on aws marketplace page (#1016) * Port version-2.8 updates to latest (/docs) (#1013) * Port version-2.8 updates to latest (/docs) Includes changes from1b6d9506(2023-10-06) to1f39a6ff(2023-11-30) * Fix redirects * #773: Add steps to install Rancher Extensions in an air-gapped environment (#807) * Add steps to install Rancher Extensions in an air-gapped environment * added link from install guide * added notes to import/install steps as suggested by rohitsakala * minor copyedits * updating extensions explicitly given own section * tightened up note * updated note for v2.7 * ensuring all 3 versions have same text * versioning install-rancher-ha * del extension repos + (partially) upgrade * fixed comment syntax * Apply suggestions from code review Co-authored-by: Billy Tat <btat@suse.com> * Apply suggestions from code review * completed update instructions * no dropdown, text input * more explanation + delete * Apply suggestions from code review * extensions repo container image delete * versioning * revert changes to v2.7 --------- Co-authored-by: Billy Tat <btat@suse.com> * Add aws out of tree cloud provider install/upgrade docs (#844) * Add aws out of tree cloud provider install/upgrade docs * Add aws out of tree cloud provider install/upgrade docs * Add info for aws cloud provider * indentation fix * Address review comments * addressing review comments * Address review comments * syntax annotations, re-org sections, copy edits * even more copy edits * copy edits to note at top * addressing suggestions from slickwarren * Address review comments * copyedits * Fix numbering * Update docs/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/amazon.md * update helm installation steps * 2.8 versioning * rm 'new in 2.7' from 2.8 * Update versioned_docs/version-2.8/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/amazon.md * revert -- change intended for other branch * typo fixes * fix headings, fix casing * apply prev commit to 2.8 * Reorganizing AWS migration pages (#1015) This partially addresses https://github.com/rancher/rancher-docs/issues/991 (rename file `migrating-from-in-tree-to-out-of-tree` to shorter and reference vsphere) and also fixes problems on the open PR: Duplicate sections (removed), difficulty navigating the file (split into two), sections with similar titles (opting for tabs instead of headings). I created this on its own working branch because moving around large blocks of text was unwieldly and I didn't want to mess up my local version of 763-document-aws-out-of-tree-v2prov. The last tab block (Helm Chart Installation through UI) contains contain that seems to be entirely the same for RKE and RKE2. --------- Co-authored-by: Kinara Shah <kinara@rancher.com> Co-authored-by: martyav <marty.avedon@suse.com> * Add 2.8 entry to versions table (#1002) * Update webhook version table (#1006) * Update webhook version table * Bump 2.8 webhook version * Sync 2.8 table with latest table * Bump webhook version * correcting capitalization: helm > Helm (#1018) * Remove preview label from 2.8 * Remove unreleased banner * rm 'add additional' phrase from docs (#1020) * rm 'add additional' phrase from docs * these > more * rm deprecation banner from v2.8 * rm deprecation banner from v2.8 (#1023) * [skip ci] Update README to reflect current versioning model (#1022) * [skip ci] Update README to reflect current versioning model * Update README.md * Update README.md --------- Co-authored-by: Marty Hernandez Avedon <martyavedon@gmail.com> * Apply suggestions from code review * Update create-a-vm-template.md * Update create-a-vm-template.md * versioning --------- Signed-off-by: Mike Latimer <mlatimer@suse.com> Co-authored-by: pdellamore <pietro.dellamore@suse.com> Co-authored-by: Pietro Dell'Amore <pdellamore@MacBook-Pro-de-Pietro.local> Co-authored-by: Marty Hernandez Avedon <marty.avedon@suse.com> Co-authored-by: Billy Tat <btat@suse.com> Co-authored-by: Michael Bolot <michael.bolot@suse.com> Co-authored-by: Mike Latimer <mlatimer@suse.com> Co-authored-by: Marty Hernandez Avedon <martyavedon@gmail.com> Co-authored-by: Jonathan Crowther <jonathan.crowther@suse.com> Co-authored-by: Sebastiaan van Steenis <superseb@users.noreply.github.com> Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com> Co-authored-by: Guilherme Macedo <guilherme@gmacedo.com> Co-authored-by: Lucas Saintarbor <lucas.saintarbor@suse.com> Co-authored-by: Denise <denise.schannon@suse.com> Co-authored-by: [yzeng25] <[yzeng25@wisc.edu]> Co-authored-by: Jake Hyde <33796120+jakefhyde@users.noreply.github.com> Co-authored-by: Kinara Shah <kinara@rancher.com>
Contribute to Rancher Docs
Welcome to the Rancher docs repository. See the Rancher software repository if you have questions or requests for the Rancher platform.
Make a Suggestion
You can suggest changes to the Rancher docs in two ways:
- Open an issue.
- Edit the docs in the way you see fit and open a pull request.
Edit the Docs
To get started, fork and clone the rancher-docs repository.
Our repository doesn't allow you to make changes directly to the main branch. Create a working branch and make pull requests from your fork to rancher/rancher-docs.
For most updates, you'll need to edit a file in the /docs directory, which represents the "Latest" version of our published documentation. The "Latest" version is a mirror of the most recently released version of Rancher. As of December 2023, the most recently released version of Rancher is 2.8.
Whenever an update is made to /docs, you should apply the same change to the corresponding file in /versioned_docs/version-2.8. If a change only affects older versions, you don't need to mirror it to the /docs directory.
If a file is moved or renamed, you'll also need to edit the sidebars.js files for each affected version, as well as the list of redirects in docusaurus.config.js. See Moving or Renaming Docs.
Navigate the Repo
The file paths in the repo correspond to the URLs for pages on the docs website. The docs for the latest version of Rancher are located in /docs. Most index pages are found within the /pages-for-subheaders directory in /docs. All images are in /static/img in the top level of the repo. Older docs are found within /versioned_docs and generally follow the same structure as the files in /docs.
Style & Formatting
The docs are written in Markdown. We refer to the Microsoft style guide and use standard American English. Many pages are also available in Simplified Chinese.
Every docs page contain metadata in the first few lines:
---
title: Some Title
---
The title is rendered as the page's headline. The site renderer wraps the title value in H1 tags, which are equivalent to # in Markdown syntax. This means that all subsequent headers on the page should be second level (##) or more.
Run the Docs Website
The Rancher Docs website is built with Docusaurus 2, a modern static website generator.
You can run the site on your local machine, to preview how pages on your working branch will look live.
First, install Docusaurus 2:
- If you haven't already, install Node and Yarn.
- Go into your local rancher-docs folder.
- The Rancher Docs repository already contains a yarn.lock file, which contains the dependencies you need to build the website. Run
yarnto install Docusaurus and associated dependencies.
Start Site
yarn start
This command starts a local development server for Docusaurus 2, and opens up a browser window. Most changes are reflected live without having to restart the server.
Note: The yarn start command won't include some important static site features. For example, switching between languages from the site's dropdown menu is not available. If you need these features, use yarn build.
Build Site
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Launch With Docker
You can also use Docker to launch the website.
The below command can be used to install the dependencies and run the site inside a container:
docker run --rm -it -v $PWD:$PWD -w $PWD -p 3000:3000 node:18 /bin/sh -c "yarn install && yarn start -h 0.0.0.0"
Subsequent executions will check for updated dependencies, if there are none, it will skip the updates and quickly start the server.
License
Copyright (c) 2014-2023 Rancher Labs, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.