Deploying TIBCO Hawk Container Edition to Kubernetes

Hawk Container Edition can be deployed on Kubernetes by using the deployment configuration files (YAML format), which contain the configuration details for deployment including environment variables.

Before you begin
    Procedure
  1. Navigate to amsgce-runtime-<version>/samples/kubernetes/Hawk_Monitoring.
  2. In the hawk.yaml file, update Docker images of Hawk agent, Hawk Cluster Manager, and Hawk Console. For more information about the Kubernetes deployment YAML files configurations of Hawk Container Edition components, see Sample Kubernetes YAML File for Deploying Hawk Container Edition.
  3. Run the apply command of kubectl utility to deploy Hawk Container Edition to Kubernetes.

    kubectl apply -f hawk.yaml 
  4. You can check the logs of container pods by using the following command:

    kubectl logs <pod> -n <namespace>
  5. You can also get the external IP to the external service of the cluster by using the get services command. You can then use that IP to connect to the cluster.

    kubectl get services hkce-console-service -n <namespace>
What to do next

If you have a Hawk console container running, you can access it at http://<Console_host_IP>:<Host_port>/HawkConsole.

For example: http://<host>:31083/HawkConsole. Where 31083 is default NodePort specified in the sample hawk.yaml file. You can change it to any valid NodePort.

For more information about Monitoring ActiveMatrix Service Grid - Container Edition, see ActiveMatrix Service Grid - Container Edition Monitoring.