Specifying the Pod Type
CCI provides multiple pod types to meet different service requirements such as low costs or stable performance.
Pod Types
- General-computing
This type of pod provides stable and high-performance container computing for medium- and heavy-load enterprise applications that require high computing and network performance, such as web applications, e-commerce, games, and finance.
- General-computing-lite
This type of pod provides highly cost-effective container compute for compute-intensive services such as rendering and transcoding.
Configuration Example
apiVersion: cci/v2
kind: Pod
metadata:
annotations:
resource.cci.io/pod-size-specs: 2.00_4.0
resource.cci.io/instance-type: general-computing # Pod type: general-computing pods
labels:
app: nginx
name: 'test1'
namespace: test
spec:
containers:
- name: nginx
image: nginx:latest
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
ports:
- containerPort: 80
protocol: TCP
imagePullSecrets:
- name: imagepull-secret | Annotation | Mandatory | Type | Description |
|---|---|---|---|
| resource.cci.io/instance-type | Yes | String | Description: pod type. Value options:
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot