Skip to main content

Frends Agent Deployment for Kubernetes

Deploy a Frends Agent for Kubernetes

T
Written by Tikriti Shabudin
Updated over a year ago

Prerequisites

  • An operational Kubernetes environment. This can be done with, for example, Docker Desktop and enabling the builtin Kubernetes feature.

First Steps

Log into your Frends UI and browse to Administration then Environments.

Next select or create the Environment and Agent Group you wish to deploy the Frends Agent to.

In the Agent Group panel select Advanced settings and ensure the Cross-Platform and Allow new Agents to connect to the Agent group options are enabled

You do not need to create an Agent in Frends, it will be created during deployment.

Next click 'Download Kubernetes Configuration'. The download is a zip file containing the following files

  • deploy directory. This is the working directory. You should run the kubectl commands detailed in README.md from here. When running the commands ensure you are running them from this directory.

  • README.md this file contains kubectl commands, instructions and information specific to your Agent deployment.

  • FRENDS-Agent-Deploy.yaml this yaml file defines the deployment and service configuration for your Agent

  • DatabaseInitializer.zip used to initialize an SQL database for use as a Shared State Store.

  • secrets directory. This contains the appsettings.secrets.json file and the place to copy your optional SSL certificate (pfx). The contents of this directory are used to create Kubernetes Secrets for your deployment.

  • appsettings.secrets.json this json file contains application settings specific to your Agent deployment.

To complete the deployment follow the steps defined in README.md

Did this answer your question?