Open topic with navigation

TIBCO ActiveMatrix® Service Grid - Container Edition 1.0.0

# Deploying Application Configurator to Kubernetes

You can deploy the Application Configurator to Kubernetes by using the sample Kubernetes deployment YAML file provided.

Before you begin

- See Preparing for Containerization.
- Ensure that you have created an Application Configurator Docker image. Upload the Docker image to a suitable public or private registry that is accessible from your Kubernetes cluster. For more information, see Building Application Configurator Docker Image .

Procedure
1. Navigate to `amsgce-runtime-<version>/samples/kubernetes/Application_Configurator`. This folder contains sample Kubernetes deployment YAML file that is required to deploy the Application Configurator.

2. Run the `apply` command of the `kubectl` utility to deploy the Application Configurator to Kubernetes.

       kubectl apply -f <deployment_file>

   Example:

       kubectl apply -f amxce_ac_k8s.yaml

3. Check Pod status by using the following command:

       kubectl get pod -n <namespace>

   Example:

       kubectl get pod -n  app-config-ns

4. You can check the logs of container pods by using the following command:

       kubectl logs <pod> -n  <namespace>

   Example:

       kubectl logs <pod> -n  app-config-ns

5. Enter the following URL in browser to access Application Configurator:`http://<hostname>:31087/appconfig.` Here, 31087 is the default nodePort defined in`amsgce-runtime-<version>/samples/kubernetes/Application_Configurator/amxce_ac_k8s.yaml.`

What to do nextBy using the Application Configurator, you can configure an application and generate an application configuration YAML file. The application configuration YAML file is required to build an application Docker image. For more information about generating an application configuration YAML file, see ActiveMatrix Service Grid - Container Edition Administration.

Copyright © 2020-2021. TIBCO Software Inc. All Rights Reserved.