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
Run only one Infra Agent DaemonSet per cluster per host. Multiple agents will cause unexpected behavior.
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.