helm instead of manifest files.
The following steps assume that you have already installed
kubectl on your machine Prerequisites
1
Kubernetes Version
Kubernetes
v1.21 or above2
Kubernetes Access
Access to Kubernetes cluster and client (i.e. kubectl)
Step 1: Open Powershell Terminal
Set theMW_API_KEY and MW_TARGET environment variables:
Powershell
Step 2: Install with Helm [Optional]
You have the option to install the Infra Agent withhelm instead of using manifest files.
Set the following environment variable to use helm:
Make sure helm is already installed on your machine prior to adding the following environment variable.
Powershell
Step 3: Install Infra Agent
Download the MW Kubernetes Install script and execute the following command:Powershell
Troubleshooting
Once the Infra Agent is installed on your cluster metrics should begin appearing in the Middleware application within a few minutes. If metrics do not appear, confirm that Kubernetes has access to the internet, either directly or through a proxy, and that only one Infra Agent is running per cluster.Uninstall
Download the MW Kubernetes Uninstall script and execute the following command:Powershell
Need assistance or want to learn more about Middleware? Contact us at support[at]middleware.io.