Merge pull request #2321 from emcrisostomo/rke-macports

RKE: Added documentation to install it using MacPorts, and refactored MacOS into macOS
This commit is contained in:
Catherine Luse
2020-04-14 14:46:38 -07:00
committed by GitHub
+24 -5
View File
@@ -7,7 +7,8 @@ weight: 50
RKE is a fast, versatile Kubernetes installer that you can use to install Kubernetes on your Linux hosts. You can get started in a couple of quick and easy steps:
1. [Download the RKE Binary](#download-the-rke-binary)
1. [Alternative RKE MacOS X Install - Homebrew](#alternative-rke-macos-x-install-homebrew)
1. [Alternative RKE macOS Install - Homebrew](#alternative-rke-macos-x-install-homebrew)
1. [Alternative RKE macOS Install - MacPorts](#alternative-rke-macos-install-macports)
1. [Prepare the Nodes for the Kubernetes Cluster](#prepare-the-nodes-for-the-kubernetes-cluster)
1. [Creating the Cluster Configuration File](#creating-the-cluster-configuration-file)
1. [Deploying Kubernetes with RKE](#deploying-kubernetes-with-rke)
@@ -18,7 +19,7 @@ RKE is a fast, versatile Kubernetes installer that you can use to install Kubern
1. From your workstation, open a web browser and navigate to our [RKE Releases](https://github.com/rancher/rke/releases/latest) page. Download the latest RKE installer applicable to your Operating System and Architecture:
- **MacOS**: `rke_darwin-amd64`
- **macOS**: `rke_darwin-amd64`
- **Linux (Intel/AMD)**: `rke_linux-amd64`
- **Linux (ARM 32-bit)**: `rke_linux-arm`
- **Linux (ARM 64-bit)**: `rke_linux-arm64`
@@ -28,7 +29,7 @@ RKE is a fast, versatile Kubernetes installer that you can use to install Kubern
2. Copy the RKE binary to a folder in your `$PATH` and rename it `rke` (or `rke.exe` for Windows)
```
# MacOS
# macOS
$ mv rke_darwin-amd64 rke
# Linux
$ mv rke_linux-amd64 rke
@@ -52,9 +53,9 @@ RKE is a fast, versatile Kubernetes installer that you can use to install Kubern
```
### Alternative RKE MacOS X Install - Homebrew
### Alternative RKE macOS Install - Homebrew
RKE can also be installed and updated using Homebrew, a package manager for MacOS X.
RKE can also be installed and updated using Homebrew, a package manager for macOS.
1. Install Homebrew. See https://brew.sh/ for instructions.
@@ -70,6 +71,24 @@ If you have already installed RKE using `brew`, you can upgrade RKE by running:
$ brew upgrade rke
```
### Alternative RKE macOS Install - MacPorts
RKE can also be installed and updated using MacPorts, a package manager for macOS.
1. Install MacPorts. See https://www.macports.org/ for instructions.
2. Using `port`, install RKE by running the following command in a Terminal window:
```
$ port install rke
```
If you have already installed RKE using `port`, you can upgrade RKE by running:
```
$ port upgrade rke
```
## Prepare the Nodes for the Kubernetes cluster
The Kubernetes cluster components are launched using Docker on a Linux distro. You can use any Linux you want, as long as you can install Docker on it.