Replication Controllers are not cleaned up



  • I am currently constantly reaching the replication controller quota limit of 30. oc get shows that most of them have a desired count of 0 and a current count of 0. It seems that the replication controllers of old deployments don't get cleaned up. Am I doing something wrong here or is this a bug?

    NAME                   DESIRED   CURRENT   AGE
    demoapi-55             0         0         19h
    demoapi-62             0         0         17h
    demoapi-63             0         0         17h
    demoapi-64             0         0         17h
    demoapi-65             0         0         16h
    demoapi-66             0         0         1h
    demoapi-67             0         0         1h
    demoapi-68             0         0         1h
    demoapi-69             0         0         1h
    demoapi-70             1         1         32m
    demodashboard-29       0         0         18h
    demodashboard-30       0         0         17h
    demodashboard-31       0         0         17h
    demodashboard-32       0         0         17h
    demodashboard-33       0         0         17h
    demodashboard-34       0         0         16h
    demodashboard-35       0         0         1h
    demodashboard-36       0         0         1h
    demodashboard-37       0         0         1h
    demodashboard-38       0         0         33m
    demodashboard-39       1         1         32m
    elasticsearch-5        0         0         18h
    elasticsearch-6        1         1         18h
    mariadb-1              0         0         23d
    mariadb-2              0         0         16d
    mariadb-3              0         0         6d
    mariadb-4              1         1         6d
    mariadb-5              0         0         4d
    openshift-rabbitmq-1   0         0         16d
    openshift-rabbitmq-2   1         1         5d
    

  • APPUiO Staff

    This can be configured with the setting revisionHistoryLimit in the deployment controller. See: https://docs.openshift.com/container-platform/3.3/dev_guide/deployments/how_deployments_work.html#creating-a-deployment-configuration



  • Thanks that works


Log in to reply
 

Looks like your connection to APPUiO Discussion and Help Forum was lost, please wait while we try to reconnect.