Installing a private location on a three-node cluster
Deploy private location on a three-node K3s cluster in an online or air-gapped environment.
Before you begin
Before you deploy private location on a three-node cluster, complete the following prerequisites:
- Review the system requirements. See System requirements.
- Prepare your environment. See Prepare environment.
- Add the Instana repository and install the popctl tool on the leader node. See Deploying self-hosted Synthetic PoP with popctl For a multi-node cluster, run commands on the leader node.
The private location installer first installs a K3s cluster, and then deploys private location components on the cluster.
Procedure
Results
You deployed private location, and it is running on your three-node cluster. All pods are in the "running" state.
What to do next
After installation, you can perform the following optional tasks:
-
Scale the installation
Adjust the replica count for the playback engines:
popctl up --multi-node-enable --multi-node-ips=<leader-node-IP>,<instana-1-IP>,<instana-2-IP> \ --set browserscript.replicas=3 \ --set http.replicas=3 \ --set javascript.replicas=3 \ --set ism.replicas=3For more information, see Capacity planning and scaling.
-
Upgrade private location
To upgrade to the latest version, run the popctl up command again with the same configuration.
popctl up --multi-node-enable --multi-node-ips=<leader-node-IP>,<instana-1-IP>,<instana-2-IP>The upgrade process preserves your existing configuration and data.
-
Uninstall private location
To uninstall private location from the three-node cluster, run the following command on the leader node:
popctl downA sample output:
? Do you want to uninstall PoP under namespace "synthetic-pop"? Yes ⠧ Uninstalling synthetic-pop from namespace synthetic-pop [0s] ✓To delete the K3s cluster, run the following command. The system deletes the K3s binary file along with the cluster.
popctl cluster delete
For troubleshooting information, see Troubleshooting a three-node private location deployment.