Add FAQ on automating tasks

This commit is contained in:
Sebastiaan van Steenis
2018-07-08 21:05:38 -07:00
committed by Denise
parent 14979a567e
commit 2741ab3700
@@ -3,7 +3,7 @@
weight: 5000
---
#### How can I reset the admin password?
### How can I reset the admin password?
Single node install:
```
@@ -20,7 +20,7 @@ New password for default admin user (user-xxxxx):
<new_password>
```
#### How can I enable debug logging?
### How can I enable debug logging?
* Single node install
* Enable
@@ -54,28 +54,28 @@ OK
```
#### My ClusterIP does not respond to ping
### My ClusterIP does not respond to ping
ClusterIP is a virtual IP, which will not respond to ping. Best way to test if the ClusterIP is configured correctly, is by using `curl` to access the IP and port to see if it responds.
#### Where can I manage Node Templates?
### Where can I manage Node Templates?
Node Templates can be accessed by opening your account menu (top right) and selecting `Node Templates`.
#### Why is my Layer-4 Load Balancer in `Pending` state?
### Why is my Layer-4 Load Balancer in `Pending` state?
The Layer-4 Load Balancer is created as `type: LoadBalancer`. In Kubernetes, this needs a cloud provider or controller that can satisfy these requests, otherwise these will be in `Pending` state forever. More information can be found on [Cloud Providers]({{< baseurl >}}/rancher/v2.x/en/concepts/clusters/cloud-providers/) or [Create External Load Balancer](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/)
#### Where is the state of Rancher stored?
### Where is the state of Rancher stored?
- Single node install: in the embedded etcd of the `rancher/rancher` container, located at `/var/lib/rancher`.
- High Availability install: in the etcd of the RKE cluster created to run Rancher.
#### How are the supported Docker versions determined?
### How are the supported Docker versions determined?
We follow the validated Docker versions for upstream Kubernetes releases. The validated versions can be found under [External Dependencies](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#external-dependencies) in the Kubernetes release CHANGELOG.md.
#### How can I access nodes created by Rancher?
### How can I access nodes created by Rancher?
SSH keys to access the nodes created by Rancher can be downloaded via the **Nodes** view. Choose the node which you want to access and click on the vertical ellipsis button at the end of the row, and choose **Download Keys** as shown in the picture below.
@@ -86,3 +86,10 @@ Unzip the downloaded zip file, and use the file `id_rsa` to connect to you host.
```
$ ssh -i id_rsa user@ip_of_node
```
### How can I automate task X in Rancher?
The UI consists of static files, and works based on responses of the API. That means every action/task that you can execute in the UI, can be automated via the API. There are 2 ways to do this:
* Visit `https://your_rancher_ip/v3` and browse the API options.
* Capture the API calls when using the UI (Most commonly used for this is [Chrome Developer Tools](https://developers.google.com/web/tools/chrome-devtools/#network) but you can use anything you like)