Installing kubernetes for a demo installation (on a single virtual machine)¶
How to set up your hosts.ini file¶
Assuming a single virtual machine with a public IP address running Ubuntu 18.04, with at least 5 CPU cores and at least 8 GB of memory.
Move to wire-server-deploy/ansible
:
Then:
NOTE¶
If you use ssh keys, and the user you login with is either root or can elevate to root without a password, you don’t need to do anything further to use ansible. If, however, you use password authentication for ssh access, and/or your login user needs a password to become root, see Manage ansible authentication settings.
Passwordless authentication¶
Presuming a fresh default Ubuntu 18.04 installation, the following steps will enable the Ansible playbook to run without specifying passwords.
This presumes you named your default Ubuntu user “wire”, and X.X.X.X is the IP or domain name of the target server Ansible will install Kubernetes on.
On the client (from wire-server-deploy/ansible
), run:
And on the server (X.X.X.X), run:
Then on the client:
Open hosts.ini and replace X.X.X.X
with the IP address of your virtual machine that you use for ssh access. You can try using:
Minio setup¶
In the inventory/demo/hosts.ini
file, edit the minio variables in [minio:vars]
(prefix
, domain
and deeplink_title
) by replacing example.com
with your own domain.
How to install kubernetes¶
From wire-server-deploy/ansible
:
When the playbook finishes correctly (which can take up to 20 minutes), you should have a folder artifacts
containing a file admin.conf
. Copy this file:
Make sure you can reach the server:
should give output similar to this: