Unable to delete deploymentconfig with finalizer of foregroundDeletion

Solution Verified - Updated -

Issue

DeploymentConfig does not delete after running oc delete dc/test multiple times.

# oc get dc -o yaml test
apiVersion: v1
kind: DeploymentConfig
metadata:
  creationTimestamp: 2018-03-12T00:49:16Z
  deletionGracePeriodSeconds: 0
  deletionTimestamp: 2018-03-21T18:41:29Z
  finalizers:
  - foregroundDeletion
  generation: 29
  labels:
    app: test
  name: test
  namespace: testproject
  resourceVersion: "125930908"
  selfLink: /oapi/v1/namespaces/testproject/deploymentconfigs/test
  ...

Environment

  • Red Hat OpenShift Container Platform 3.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In