Sample Kubernetes YAML File for Deploying Hawk Container Edition
Sample Kubernetes YAML file for deploying Hawk Container Edition is provided in the folder amsgce-runtime-<version>/samples/kubernetes/Hawk_Monitoring/hawk.yaml.
The hawk.yaml file contains deployment configuration for Hawk Cluster Manager, Hawk agent and Hawk Console.
In the hawk.yaml file, set up the container (the containers tag) with the Docker image (image) of the Hawk Cluster Manager, Hawk agent, and Hawk Console.
Environment Variables
You can use the following environment variables to configure the Kubernetes YAML file with the Hawk agent container:
| Environment Variable | Required? | Description |
|---|---|---|
| tcp_self_url | Yes |
The tcp_self_url environment variable. It specifies the self URL for the TCP Transport for Hawk® Container Edition. The URL is in the form:
|
| agent_ami_session_url | Yes | Specifies the URL used by the microagent to connect to Hawk agent container by using Hawk TCP AMI session. |
| microagent_name_suffix | No |
Specifies the suffix for the microagent name. The default value is used if no value is specified for the variable. Default: Default microagent name is com.tibco.hawk.amxce.<AMXCENode name> With suffix it is: com.tibco.hawk.amxce.<suffix > This suffix gets appended to microagent's display name as well. |