You can deploy all 6 pods in a dedicated namespace and then add a CPU limit on the whole namespace using ResourceQuota
Your ResourceQuota for that namespace would look something like:
apiVersion: v1
kind: ResourceQuota
metadata:
name: appNamespace-quota
spec:
hard:
limits.cpu: "8"
You can apply this resource in that namespace.
More information about ResourceQuota can be found here
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…