Merge pull request #1189 from webrecorder/microk8s-ansible-docs
Small Microk8s Ansible Fixes
This commit is contained in:
commit
e9f004ad5e
@ -19,7 +19,7 @@ microk8s_channel: stable
|
||||
your_user: root # if your cloud provide uses another user change this
|
||||
browsertrix_cloud_home: "/opt/browsertrix-cloud"
|
||||
microk8s_user_home: "/home/{{ microk8s_user }}"
|
||||
microk8s_user: conan # change this to a different user if you don't want conan the deployer
|
||||
microk8s_user: conan # change this to a different user if you don't want conan the deployer
|
||||
microk8s_plugins:
|
||||
dns: true # CoreDNS
|
||||
ingress: true # Ingress controller for external access
|
||||
@ -28,3 +28,10 @@ microk8s_plugins:
|
||||
registry: true # Private image registry exposed on localhost:32000
|
||||
storage: true # Storage class; allocates storage from host
|
||||
cert-manager: true # Cert manager
|
||||
|
||||
|
||||
# These options are only necessary for HTTPS
|
||||
enable_signing: false # Change this if you want HTTPS
|
||||
signing_domain: "mydomain.com" # Set to your domain for HTTPS
|
||||
cert_email: "user@mydomain.com" # Email for CertBot
|
||||
signing_authtoken: "{{ 99999999 | random | to_uuid }}"
|
||||
|
@ -13,12 +13,22 @@ To run this ansible playbook, you need to:
|
||||
- Make sure you can ssh to it, with a sudo user: ssh <your-user>@<your-domain>
|
||||
- Install Ansible on your local machine (the control machine).
|
||||
|
||||
!!! note
|
||||
|
||||
Ansible requires an SSH key with no password. You cannot use a passphrase.
|
||||
Sudo must similarly be available without a passphrase for ansible to work
|
||||
|
||||
??? info Debian Users
|
||||
|
||||
You will need to install `acl` on the target Ansible machine to set permissions:
|
||||
`sudo apt-get install acl`
|
||||
|
||||
#### Install
|
||||
|
||||
1. Clone the repo:
|
||||
```zsh
|
||||
git clone https://github.com/webrecorder/browsertrix-cloud.git
|
||||
cd browsertrix-cloud
|
||||
cd browsertrix-cloud/ansible
|
||||
```
|
||||
|
||||
2. [Look at the configuration options](https://github.com/webrecorder/browsertrix-cloud/blob/main/ansible/group_vars/microk8s/main.yml) and modify them or pass them as extra variables as shown below.
|
||||
|
Loading…
Reference in New Issue
Block a user