Make macOS standard usage (#9422)

This commit is contained in:
Luc Perkins
2018-07-18 15:12:16 -07:00
committed by k8s-ci-robot
parent 78eafc7c22
commit bb818a9b41
16 changed files with 27 additions and 27 deletions
@@ -135,7 +135,7 @@ secret "mysecret" created
**Encoding Note:** The serialized JSON and YAML values of secret data are
encoded as base64 strings. Newlines are not valid within these strings and must
be omitted. When using the `base64` utility on Darwin/OS X users should avoid
be omitted. When using the `base64` utility on Darwin/macOS users should avoid
using the `-b` option to split long lines. Conversely Linux users *should* add
the option `-w 0` to `base64` commands or the pipeline `base64 | tr -d '\n'` if
`-w` option is not available.
@@ -11,7 +11,7 @@ Ubuntu 16.04 introduced the [Canonical Distribution of Kubernetes](https://www.u
{{% /capture %}}
{{% capture prerequisites %}}
- A working [Juju client](https://jujucharms.com/docs/2.3/reference-install); this does not have to be a Linux machine, it can also be Windows or OSX.
- A working [Juju client](https://jujucharms.com/docs/2.3/reference-install); this does not have to be a Linux machine, it can also be Windows or macOS.
- A [supported cloud](#cloud-compatibility).
- Bare Metal deployments are supported via [MAAS](http://maas.io). Refer to the [MAAS documentation](http://maas.io/docs/) for configuration instructions.
- OpenStack deployments are currently only tested on Icehouse and newer.
@@ -15,7 +15,7 @@ reference documentation for tools and components in the
{{% capture prerequisites %}}
* You need a machine that is running Linux or MacOS.
* You need a machine that is running Linux or macOS.
* You need to have this software installed:
+1 -1
View File
@@ -700,7 +700,7 @@ You can now bind tokens to service requests. ([ref](https://github.com/kubernete
* Updated admission controller settings for Juju deployed Kubernetes clusters ([#61427](https://github.com/kubernetes/kubernetes/pull/61427), [@hyperbolic2346](https://github.com/hyperbolic2346))
* Performance test framework and basic tests for the IPAM controller, to simulate behavior of the four supported modes under lightly loaded and loaded conditions, where load is defined as the number of operations to perform as against the configured kubernetes. ([#61143](https://github.com/kubernetes/kubernetes/pull/61143), [@satyasm](https://github.com/satyasm))
* Removed always pull policy from the template for ingress on CDK. ([#61598](https://github.com/kubernetes/kubernetes/pull/61598), [@hyperbolic2346](https://github.com/hyperbolic2346))
* `make test-cmd` now works on OSX. ([#61393](https://github.com/kubernetes/kubernetes/pull/61393), [@totherme](https://github.com/totherme))
* `make test-cmd` now works on macOS. ([#61393](https://github.com/kubernetes/kubernetes/pull/61393), [@totherme](https://github.com/totherme))
* Conformance: ReplicaSet must be supported in the `apps/v1` version. ([#61367](https://github.com/kubernetes/kubernetes/pull/61367), [@enisoc](https://github.com/enisoc))
* Remove 'system' prefix from Metadata Agent rbac configuration ([#61394](https://github.com/kubernetes/kubernetes/pull/61394), [@kawych](https://github.com/kawych))
* Support new NODE_OS_DISTRIBUTION 'custom' on GCE on a new add event. ([#61235](https://github.com/kubernetes/kubernetes/pull/61235), [@yguo0905](https://github.com/yguo0905))
+4 -4
View File
@@ -60,15 +60,15 @@ Configure a single master, multi-worker cluster locally, running on your choice
<hr/>
[**Single-node cluster using a small OS X App**](https://github.com/rimusz/kube-solo-osx/blob/master/README.md)
[**Single-node cluster using a small macOS App**](https://github.com/rimusz/kube-solo-osx/blob/master/README.md)
Guide to running a solo cluster (master + worker) controlled by an OS X menubar application. Uses xhyve + CoreOS under the hood.
Guide to running a solo cluster (master + worker) controlled by an macOS menubar application. Uses xhyve + CoreOS under the hood.
<hr/>
[**Multi-node cluster with Vagrant and fleet units using a small OS X App**](https://github.com/rimusz/coreos-osx-gui-kubernetes-cluster/blob/master/README.md)
[**Multi-node cluster with Vagrant and fleet units using a small macOS App**](https://github.com/rimusz/coreos-osx-gui-kubernetes-cluster/blob/master/README.md)
Guide to running a single master, multi-worker cluster controlled by an OS X menubar application. Uses Vagrant under the hood.
Guide to running a single master, multi-worker cluster controlled by an macOS menubar application. Uses Vagrant under the hood.
<hr/>
+1 -1
View File
@@ -31,7 +31,7 @@ You must have [kubectl](/docs/tasks/tools/install-kubectl/) installed in order f
Download kops from the [releases page](https://github.com/kubernetes/kops/releases) (it is also easy to build from source):
On MacOS:
On macOS:
```
curl -OL https://github.com/kubernetes/kops/releases/download/1.8.0/kops-darwin-amd64
+3 -3
View File
@@ -298,10 +298,10 @@ Some drivers will mount a host folder within the VM so that you can easily share
| Driver | OS | HostFolder | VM |
| --- | --- | --- | --- |
| VirtualBox | Linux | /home | /hosthome |
| VirtualBox | OSX | /Users | /Users |
| VirtualBox | macOS | /Users | /Users |
| VirtualBox | Windows | C://Users | /c/Users |
| VMware Fusion | OSX | /Users | /Users |
| Xhyve | OSX | /Users | /Users |
| VMware Fusion | macOS | /Users | /Users |
| Xhyve | macOS | /Users | /Users |
## Private Container Registries
+1 -1
View File
@@ -30,7 +30,7 @@ Alternately, you can download the latest Kubernetes release from [this page](htt
Next, add the appropriate binary folder to your `PATH` to access kubectl:
```shell
# OS X
# macOS
export PATH=<path/to/kubernetes-directory>/platforms/darwin/amd64:$PATH
# Linux
+2 -2
View File
@@ -27,7 +27,7 @@ If you run into any problems or want help with anything, we are here to help. Re
The requirements to run this script are:
- A linux administrative host (tested on ubuntu and OSX)
- A linux administrative host (tested on ubuntu and macOS)
- python 2 (tested on 2.7.11)
- pip (installed with python as of 2.7.9)
- git
@@ -264,7 +264,7 @@ curl \
```
But please note, this *does not* work out of the box with the ```curl``` binary
distributed with OSX.
distributed with macOS.
### Accessing the cluster with a browser
@@ -113,7 +113,7 @@ resources:
To create a new secret perform the following steps:
1. Generate a 32 byte random key and base64 encode it. If you're on Linux or Mac OS X, run the following command:
1. Generate a 32 byte random key and base64 encode it. If you're on Linux or macOS, run the following command:
```
head -c 32 /dev/urandom | base64
@@ -117,7 +117,7 @@ kubectl can be installed as part of the Google Cloud SDK.
To download a specific version, replace the `$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)` portion of the command with the specific version.
For example, to download version {{< param "fullversion" >}} on MacOS, type:
For example, to download version {{< param "fullversion" >}} on macOS, type:
```
curl -LO https://storage.googleapis.com/kubernetes-release/release/{{< param "fullversion" >}}/bin/darwin/amd64/kubectl
@@ -22,7 +22,7 @@ VT-x or AMD-v virtualization must be enabled in your computer's BIOS.
If you do not already have a hypervisor installed, install one now.
* For OS X, install
* For macOS, install
[VirtualBox](https://www.virtualbox.org/wiki/Downloads) or
[VMware Fusion](https://www.vmware.com/products/fusion), or
[HyperKit](https://github.com/moby/hyperkit).
+4 -4
View File
@@ -26,10 +26,10 @@ Minikube provides a simple way of running Kubernetes on your local machine for f
{{% capture prerequisites %}}
* For OS X, you can use [Homebrew](https://brew.sh) to install Minikube.
* For macOS, you can use [Homebrew](https://brew.sh) to install Minikube.
{{< note >}}
**Note:** If you see the following Homebrew error when you run `brew update` after you update your computer to MacOS 10.13:
**Note:** If you see the following Homebrew error when you run `brew update` after you update your computer to macOS 10.13:
```
Error: /usr/local is not writable. You should change the ownership
@@ -44,7 +44,7 @@ Minikube provides a simple way of running Kubernetes on your local machine for f
* [NodeJS](https://nodejs.org/en/) is required to run the sample application.
* Install Docker. On OS X, we recommend
* Install Docker. On macOS, we recommend
[Docker for Mac](https://docs.docker.com/engine/installation/mac/).
@@ -57,7 +57,7 @@ Minikube provides a simple way of running Kubernetes on your local machine for f
This tutorial uses [Minikube](https://github.com/kubernetes/minikube) to
create a local cluster. This tutorial also assumes you are using
[Docker for Mac](https://docs.docker.com/engine/installation/mac/)
on OS X. If you are on a different platform like Linux, or using VirtualBox
on macOS. If you are on a different platform like Linux, or using VirtualBox
instead of Docker for Mac, the instructions to install Minikube may be
slightly different. For general Minikube installation instructions, see
the [Minikube installation guide](/docs/getting-started-guides/minikube/).