Merge pull request #2068 from Indevver/audit-22

fix/remove images
This commit is contained in:
Catherine Luse
2019-12-11 15:41:02 -07:00
committed by GitHub
8 changed files with 21 additions and 24 deletions
@@ -23,15 +23,15 @@ If your private registry requires credentials, it cannot be used as the default
1. Go into the **Settings** view.
![Settings]({{< baseurl >}}/img/rancher/airgap/settings.png)
{{< img "/img/rancher/airgap/settings.png" "Settings" >}}
1. Look for the setting called `system-default-registry` and choose **Edit**.
![Edit]({{< baseurl >}}/img/rancher/airgap/edit-system-default-registry.png)
{{< img "/img/rancher/airgap/edit-system-default-registry.png" "Edit" >}}
1. Change the value to your registry (e.g. `registry.yourdomain.com:port`). Do not prefix the registry with `http://` or `https://`.
![Save]({{< baseurl >}}/img/rancher/airgap/enter-system-default-registry.png)
{{< img "/img/rancher/airgap/enter-system-default-registry.png" "Save" >}}
**Result:** Rancher will use your private registry to pull system images.
@@ -131,7 +131,7 @@ In the **Scheduling** section, enter:
- The name of the **VM Network** to attach to
- The name/path of the **Datastore** to store the disks in
![image]({{< baseurl >}}/img/rancher/vsphere-node-template-2.png)
{{< img "/img/rancher/vsphere-node-template-2.png" "image" >}}
{{% /tab %}}
{{% /tabs %}}
@@ -289,7 +289,7 @@ For an example of how to provision storage in vSphere using Rancher, refer to th
1. Set **Cloud Provider** option to `Custom`.
![vsphere-node-driver-cloudprovider]({{< baseurl >}}/img/rancher/vsphere-node-driver-cloudprovider.png)
{{< img "/img/rancher/vsphere-node-driver-cloudprovider.png" "vsphere-node-driver-cloudprovider">}}
1. Click on **Edit as YAML**
1. Insert the following structure to the pre-populated cluster YAML. As of Rancher v2.3+, this structure must be placed under `rancher_kubernetes_engine_config`. In versions prior to v2.3, it has to be defined as a top-level field. Note that the `name` *must* be set to `vsphere`.
@@ -22,20 +22,20 @@ The following steps create a role with the required privileges and then assign i
3. Create a new role. Give it a name and select the privileges listed in the permissions table above.
![image]({{< baseurl >}}/img/rancher/rancherroles1.png)
{{< img "/img/rancher/rancherroles1.png" "image" >}}
4. Go to the **Users and Groups** tab.
5. Create a new user. Fill out the form and then click **OK**. Make sure to note the username and password, because you will need it when configuring node templates in Rancher.
![image]({{< baseurl >}}/img/rancher/rancheruser.png)
{{< img "/img/rancher/rancheruser.png" "image" >}}
6. Go to the **Global Permissions** tab.
7. Create a new Global Permission. Add the user you created earlier and assign it the role you created earlier. Click **OK**.
![image]({{< baseurl >}}/img/rancher/globalpermissionuser.png)
{{< img "/img/rancher/globalpermissionuser.png" "image" >}}
{{< img "/img/rancher/globalpermissionrole.png" "image" >}}
![image]({{< baseurl >}}/img/rancher/globalpermissionrole.png)
**Result:** You now have credentials that Rancher can use to manipulate vSphere resources.
**Result:** You now have credentials that Rancher can use to manipulate vSphere resources.
@@ -17,8 +17,8 @@ To enable disk UUIDs for all VMs created for a cluster,
4. Enter `disk.enableUUID` as key with a value of **TRUE**.
![vsphere-nodedriver-enable-uuid]({{< baseurl >}}/img/rke/vsphere-nodedriver-enable-uuid.png)
{{< img "/img/rke/vsphere-nodedriver-enable-uuid.png" "vsphere-nodedriver-enable-uuid" >}}
5. Click **Create** or **Save**.
**Result:** The disk UUID is enabled in the vSphere node template.
**Result:** The disk UUID is enabled in the vSphere node template.
@@ -99,6 +99,6 @@ For example, for the `web-deployment.yml` file parsed from v1.6 that we've been
<figcaption>Port Mapping: Setting NodePort</figcaption>
![Set NodePort]({{< baseurl >}}/img/rancher/set-nodeport.gif)
{{< img "/img/rancher/set-nodeport.gif" "Set NodePort" >}}
### [Next: Configure Health Checks]({{< baseurl >}}/rancher/v2.x/en/v1.6-migration/monitor-apps)
@@ -18,7 +18,7 @@ The required property can be set while creating or modifying VMs in the vSphere
1. For each VM navigate to the tab **VM Options** and click on **Edit Configuration**.
2. Add the parameter `disk.EnableUUID` with a value of **TRUE**.
![vsphere-advanced-parameters]({{< baseurl >}}/img/rke/vsphere-advanced-parameters.png)
{{< img "/img/rke/vsphere-advanced-parameters.png" "vsphere-advanced-parameters" >}}
### Using the GOVC CLI tool
@@ -32,4 +32,4 @@ $ govc vm.change -vm <vm-path> -e disk.enableUUID=TRUE
In Rancher v2.0.4+, disk UUIDs are enabled in vSphere node templates by default.
If you are using Rancher prior to v2.0.4, refer to the [Rancher documentation.]({{<baseurl>}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/vsphere/#enabling-disk-uuids-with-a-node-template) for details on how to enable a UUID with a Rancher node template.
If you are using Rancher prior to v2.0.4, refer to the [Rancher documentation.]({{<baseurl>}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/vsphere/#enabling-disk-uuids-with-a-node-template) for details on how to enable a UUID with a Rancher node template.
@@ -34,7 +34,7 @@ You can upload this snapshot directly to an S3 backend with the [S3 options]({{<
$ rke etcd snapshot-save --name snapshot.db --config cluster.yml
```
![etcd snapshot]({{< baseurl >}}/img/rke/rke-etcd-backup.png)
{{< img "/img/rke/rke-etcd-backup.png" "etcd snapshot" >}}
### 2. Simulate a Node Failure
@@ -133,7 +133,7 @@ Back up the Kubernetes cluster by taking a local snapshot:
$ rke etcd snapshot-save --name snapshot.db --config cluster.yml
```
![etcd snapshot]({{< baseurl >}}/img/rke/rke-etcd-backup.png)
{{< img "/img/rke/rke-etcd-backup.png" "etcd snapshot" >}}
<a id="store-the-snapshot-externally-rke-prior-to-v0.2.0"></a>
### 2. Store the Snapshot Externally
@@ -250,4 +250,4 @@ nginx-65899c769f-qkhml 1/1 Running 0 17s
```
{{% /tab %}}
{{% /tabs %}}
{{% /tabs %}}
+2 -5
View File
@@ -1,17 +1,14 @@
{{ $img := .Get 0 }}
{{ $alt := .Get 1 }}
{{ with resources.Get $img }}
{{ $thumb20 := .Resize "2000x" }}
{{ $thumb16 := .Resize "1600x" }}
{{ $thumb12 := .Resize "1200x" }}
{{ $thumb10 := .Resize "1000x" }}
{{ $thumb8 := .Resize "800x" }}
{{ $thumb6 := .Resize "600x" }}
{{ $thumb4 := .Resize "400x" }}
{{ $thumb2 := .Resize "200x" }}
<img
srcset="{{ $thumb2.Permalink }} 200w, {{ $thumb4.Permalink }} 400w, {{ $thumb6.Permalink }} 600w, {{ $thumb8.Permalink }} 800w, {{ $thumb10.Permalink }} 1000w, {{ $thumb12.Permalink }} 1200w, {{ $thumb16.Permalink }} 1600w, {{ $thumb20.Permalink }} 2000w"
src="{{ .Permalink }}"
srcset="{{ $thumb2.Permalink }} 200w, {{ $thumb4.Permalink }} 400w, {{ $thumb6.Permalink }} 600w, {{ $thumb8.Permalink }} 800w, {{ $thumb10.Permalink }} 1000w"
src="{{ $thumb6.Permalink }}"
alt ="{{$alt}}"
>
{{ end }}