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
- 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. -
Run the
apply
command of thekubectl
utility to deploy the Application Configurator to Kubernetes.kubectl apply -f <deployment_file>
Example:
kubectl apply -f amxce_ac_k8s.yaml
-
Check Pod status by using the following command:
kubectl get pod -n <namespace>
Example:
kubectl get pod -n app-config-ns
-
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
- Enter the following URL in browser to access Application Configurator:
http://<hostname>:31087/appconfig.
Here, 31087 is the default nodePort defined inamsgce-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.