Background information

After you generate Kubernetes resource files by using Kompose and preprocess the files, you can use the kubectl tool to deploy the Kubernetes resource files to a Container Service for Kubernetes (ACK) cluster. Make sure that cluster credentials are configured when you set up kubectl.

Procedure

  1. Run the following command to deploy all Kubernetes resource files in the current directory:
    kubectl create -f .            # Create resources based on filenames or standard input. The period (.) specifies that resources are created based on resource files in the current directory.
    Resource files
  2. Log on to the ACK console. In the left-side navigation pane, choose Applications > Deployments to view the Deployment.
  3. In the left-side navigation pane, click Ingresses or Services under Ingresses and Load Balancing to check the configurations of Ingresses or Services.