Set up PSA in a Windows Environment Using Minikube
- Minikube is installed in a single machine. Hence, it is not scalable or highly available when you set up PSA in Minikube.
- Functionality-wise, there is no difference between PSA in Minikube and PSA in AKS, EKS, or any other Kubernetes cluster.
Set up the Web Monitoring PSA in a Windows environment using Minikube as follows:
Create an Azure Windows Virtual Machine
Perform the following steps:
Set up Minikube in the Azure Windows Virtual Machine
Perform the following steps:
Deploy Heimdall in the Minikube Cluster
Create the Kubernetes Cluster
When you install Minikube on your machine, it comes with its Docker environment. If you build the Docker images on your machine and use those images for the Kubernetes deployment, it pulls the images from the Docker registry or hub and produces an error while starting the pod. This occurs because your machine's docker daemon and the Minikube docker daemon are different. Therefore, you must ensure that you use the Minikube docker daemon to build the docker images.
To use Minikube docker daemon, run this command:
minikube -p minikube docker-env | Invoke-Expression
Download the zip file for Simple Synth PSA installation from the Splunk AppDynamics Download Center or from the beta upload tool, and then copy the file to your virtual machine.
To start the Kubernetes cluster:
minikube start --kubernetes-version=v1.x.x
Pull the Pre-built Docker Image
Pull the pre-built docker images for sum-chrome-agent, sum-api-monitoring-agent, and sum-heimdall from DockerHub. The pre-built images include the dependent libraries, so you can use these images even when you do not have access to the Internet.
Run the following commands to pull the agent images:
docker pull appdynamics/heimdall-psa
docker pull appdynamics/chrome-agent-psa
docker pull appdynamics/api-monitoring-agent-psa
Add Custom Python Libraries
Save Images to Minikube's Docker Daemon
You must tag and push the images to a registry for the cluster to access them. Execute the following command to save the images to Minikube docker:
sum-heimdall-image
minikube image load appdynamics/heimdall-psa:<heimdall-tag>
sum-chrome-image
minikube image load appdynamics/chrome-agent-psa:<chrome-tag>
sum-api-monitoring-image
minikube image load appdynamics/api-monitoring-agent-psa:<api-monitoring-tag>