-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
False
-
False
-
Not Required
-
-
0
-
0
-
0
-
Untriaged
-
None
Issue is not happening on 0.4.2.
Seems to be fixed by Convert OADP operator to a namespace scoped operator by shubham-pampattiwar · Pull Request #427 · openshift/oadp-operator (github.com)
which appears in v0.4.2 which no longer have this issue from their testing.
The issue here is growing number of service accounts and other resources in non-oadp namespaces caused increased memory usage.
We want to know why 0.4.0 operator goes into crash loop after creating lot of resources in a different namespace. Should be some connection with it?
( 5 pods, 5 Deployment.apps, 5 pvcs, 100 buildconfig, 100 imagestream, 10 route, 10 deploymentconfig.apps, 10 replicaset.apps, 3000 Services )
We created it in across 10 namespaces.
to recreate # OpenShift cluster with running oadp 0.4.0
- Create lots of resource in other namespaces
- Oadp pod crash
Step 2 may be switched with step 1 to trigger the same issue.
Resolution attempted
- Resource bumping in clusterserviceversion with following
- resources:
limits:
cpu: "2"
memory: 1Gi
requests:
cpu: "1"
memory: 256Mi
- resources:
Script to recreate resource is attached with following instruction
- PosgreSql
-
- /home/core/performance/postgres/*
- oc apply -f /home/core/performance/postgres -n namespace 1 …10
- creates 5 deployments, pvc, pods under a single namespace
- Service Accounts
-
- /home/core/performance/generteServiceAccounts.sh
- Creates 3000 service accounts per namespace
- Ruby
-
- /home/core/performance/ruby/genertaeMetadata1.sh
- Creates 50 "ImageStream", “service”, buildconfig
You may find path "/home/core/performance/ruby" in the "genertaeMetadata1" sh file. Please feel free to change it accordingly when running on your own cluster.
Reported from kubernetes slack from Yunqian Chen