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.
- 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.
- Log on to the ACK console. In the left-side navigation pane, choose to view the Deployment.
- In the left-side navigation pane, click Ingresses or Services under Ingresses and Load Balancing to check the configurations of Ingresses or Services.