These instructions are about installing a light version of Netdata Cloud, for clients who do not have a Kubernetes cluster installed. This setup is only for demonstration purposes, as it has no built-in resiliency on failures of any kind.
To install the whole environment, log in to the designated host and run:
curl https://netdata-cloud-netdata-static-content.s3.amazonaws.com/provision.sh -o provision.sh
chmod +x provision.sh
sudo ./provision.sh install \
-key-id "" \
-access-key "" \
-onprem-license-key "" \
-onprem-license-subject "" \
-onprem-url "" \
-certificate-path "" \
-private-key-path ""
What does the script do during installation?
Prompts for user to provide:
-key-id
- AWS ECR access key ID.-access-key
- AWS ECR Access Key.-onprem-license-key
- Netdata Cloud On-Prem license key.-onprem-license-subject
- Netdata Cloud On-Prem license subject.-onprem-url
- URL for the On-prem (without http(s) protocol).-certificate-path
- path to your PEM encoded certificate.-private-key-path
- path to your PEM encoded key.After all the above installation will begin. The script will install:
When all the required software is installed script starts to provision the K3s cluster with gathered data.
After cluster provisioning netdata is ready to be used.
WARNING: This script will automatically expose not only netdata but also a mailcatcher under
<URL from point 1.>/mailcatcher
.
Only login by mail can work without further configuration. Every mail this Netdata Cloud On-Prem sends, will appear on the mailcatcher, which acts as the SMTP server with a simple GUI to read the mails.
Steps:
<URL from point 1.>/mailcatcher
. Find yours and click the link.To uninstall the whole PoC, use the same script that installed it, with the uninstall
switch.
cd <script dir>
sudo ./provision.sh uninstall