Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 2.5 KB

README.md

File metadata and controls

53 lines (36 loc) · 2.5 KB

APPS directory

The folder contains:

  • configure-rancher-server-version.sh -> the script that will modify the version to be used for installing Rancher
  • configure-cert-manager-version.sh -> the script that will modify the version to be used for installing cert-manager
  • Makefile -> the file contains a series of shortcuts for deploying the Kubernetes resources of the various tools in the directory
  • Tools directory (Example rancher-server) -> the folder contains custom resources, such as the resources/custom-helm-values.yaml file, which will override the base configurations

Prerequisites

How to configure the version of Rancher

sh configure-rancher-server-version.sh -r rancher_release

How to configure the version of cert-manager

sh configure-cert-manager-version.sh -r cert-manager_release

These scripts work perfectly from the macOS terminal; if you use any other Linux distribution, remove '' from the sed command.

How to install the tools

Rancher Server with self-signed certificates

make install-cert-manager
make install-rancher-server

How to update Rancher configurations

make upgrade-rancher-server

How to delete the tools

make uninstall-rancher-server
make uninstall-cert-manager

After launching the Rancher uninstallation command, which is nothing more than a Kubernetes Job that cleans up all the Namespaces and Pods created by Rancher itself, the kubectl logs command is executed to follow all the cleaning steps.

You can stop viewing the logs by clicking "control + c" and restart them by relaunching the uninstall command.