Updated on 2026-04-28 GMT+08:00

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
Table 1 Annotation

Annotation

Mandatory

Type

Description

resource.cci.io/instance-type

Yes

String

Description: pod type.

Value options:

  • general-computing: general-computing pods
  • general-computing-lite: general-computing-lite pods