【解决方案】
iManager站点开启资源配额
1、编辑资源配额定义文件,修改namespace和资源配额配置,配置信息如下
apiVersion: v1
kind: ResourceQuota
metadata:
labels:
imanager-create-namespace: iportal-5
name: compute-resource
namespace: iportal-5
spec:
hard:
limits.cpu: "8"
limits.memory: 16Gi
pods: "8"
2、应用资源配额定义文件
kubectl apply -f your-resource-quota-file.yaml