AMD instances are built on the SHENLONG architecture and offloads virtualization features to dedicated hardware. This provides predictable and consistent ultra-high performance and reduces virtualization overheads. This topic describes how to use AMD instances.
Scenarios
Video encoding and decoding
Scenarios in which large numbers of packets are received and transmitted
Web frontend servers
Frontend servers of massively multiplayer online games (MMOs)
Scenarios where applications are developed and tested, such as DevOps scenarios
Specifications
Elastic Container Instance allows you to specify an Elastic Compute Service (ECS) instance type to create AMD instances. The c6a compute-optimized instance family is supported. For example, you can specify the ecs.c6a.large
instance type. For more information, see Overview of instance families.
Usage notes
Add annotations: k8s.aliyun.com/eci-use-specs
to the pod configuration.
Specify the instance type that you want to use in the annotations
field of the pod metadata
.
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
labels:
app: nginx
spec:
replicas: 2
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
annotations:
k8s.aliyun.com/eci-use-specs : "ecs.c6a.xlarge" #Replace the value with the required ECS instance type.
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80
References
For more information about how to use GPU-accelerated elastic container instances, see Use GPU-accelerated elastic container instances.