This topic describes the differences in the basic settings when you create an application from an image in a cluster of Container Service for Swarm and in a cluster of Container Service for Kubernetes (ACK).
Create an application from an image
On the Basic Information wizard page, you must specify the following information that is required only by an ACK cluster: namespace for deployment, number of replicas, and application type.
Namespace is a Kubernetes-specific concept. Namespaces are used to isolate resources such as CPU resources within a Kubernetes cluster. You can also use namespaces to distinguish different environments, such as staging environments and development environments. If you want to isolate resources among production environments, we recommend that you create a cluster for each production environment. For more information about Kubernetes namespaces, see Terms.
In the General section, you must specify the image name and image version.
- The network mode is automatically selected when you create an ACK cluster. You can select Flannel or Terway as the network plug-in. For more information, see Flannel and Terway.
- The Required Resources field specifies the amount of CPU and memory resources that are required by a container. The Resource Limit field specifies the maximum resource amount that can be allocated to a container. These fields are similar to the CPU Limit and Memory Limit fields in the Container section when you create an application from an image in a Swarm cluster.