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
    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 Generating Application Configuration.