I was using Kubernetes v1 API to delete RC, and I found that the RC can be deleted successfully, but the pods still there, can anyone help?
I also found a similar issue reported by someone here http://stackoverflow.com/questions/33205353/fail-to-delete-rc-by-api but seems not resolved till now. root@kvm-002605:~/dcos-ui/poc/rc-svc# kubectl get rc NAME DESIRED CURRENT AGE gyliu-nginx 1 1 3s root@kvm-002605:~/dcos-ui/poc/rc-svc# kubectl get pods NAME READY STATUS RESTARTS AGE gyliu-nginx-a3f7l 1/1 Running 0 9m Delete the RC via API: curl -X DELETE http://10.0.0.65:8080/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx RC deleted: root@kvm-002605:~/dcos-ui/poc/rc-svc# kubectl get rc But Pods still there: root@kvm-002605:~/dcos-ui/poc/rc-svc# kubectl get pods NAME READY STATUS RESTARTS AGE gyliu-nginx-a3f7l 1/1 Running 0 9m If I use "kubectl delete rc gyliu-nginx", both pods and rc can be deleted successfully. I also used "kubectl --v=8 delete rc gyliu-nginx" and found that the final curl command is same as mine " curl -X DELETE http://10.0.0.65:8080/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx". Detailed output of "kubectl --v=8 delete rc gyliu-nginx" root@kvm-002605:~/dcos-ui/poc/rc-svc# kubectl --v=8 delete rc gyliu-nginx I0621 14:00:38.442820 4619 loader.go:327] Config loaded from file /root/.kube/config I0621 14:00:38.443230 4619 round_trippers.go:296] GET http://10.0.0.65:8080/api I0621 14:00:38.443254 4619 round_trippers.go:303] Request Headers: I0621 14:00:38.443261 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:38.443267 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:38.443982 4619 round_trippers.go:321] Response Status: 200 OK in 0 milliseconds I0621 14:00:38.443994 4619 round_trippers.go:324] Response Headers: I0621 14:00:38.443998 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:38.444001 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:38 GMT I0621 14:00:38.444005 4619 round_trippers.go:327] Content-Length: 132 I0621 14:00:38.444037 4619 request.go:891] Response Body: {"kind":"APIVersions","versions":["v1"],"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]} I0621 14:00:38.444182 4619 round_trippers.go:296] GET http://10.0.0.65:8080/apis I0621 14:00:38.444188 4619 round_trippers.go:303] Request Headers: I0621 14:00:38.444191 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:38.444194 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:38.444581 4619 round_trippers.go:321] Response Status: 200 OK in 0 milliseconds I0621 14:00:38.444603 4619 round_trippers.go:324] Response Headers: I0621 14:00:38.444611 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:38.444618 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:38 GMT I0621 14:00:38.444625 4619 round_trippers.go:327] Content-Length: 1631 I0621 14:00:38.444662 4619 request.go:891] Response Body: {"kind":"APIGroupList","groups":[{"name":"apps","versions":[{"groupVersion":"apps/v1alpha1","version":"v1alpha1"}],"preferredVersion":{"groupVersion":"apps/v1alpha1","version":"v1alpha1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]},{"name":"autoscaling","versions":[{"groupVersion":"autoscaling/v1","version":"v1"}],"preferredVersion":{"groupVersion":"autoscaling/v1","version":"v1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]},{"name":"batch","versions":[{"groupVersion":"batch/v1","version":"v1"},{"groupVersion":"batch/v2alpha1","version":"v2alpha1"}],"preferredVersion":{"groupVersion":"batch/v1","version":"v1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]},{"name":"extensions","versions":[{"groupVersion":"extensions/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"extensions/v1beta1","version":"v1beta1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]},{"name":"policy","versions":[{"groupVersion":"policy/v1alpha1","version":"v1alpha1"}],"preferredVersion":{"groupVersion":"policy/v1alpha1","version":"v1alpha1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]},{"name":"rbac.authorization.k8s.io","versions":[{"groupVersion":"rbac.authorization.k8s.io/v1alpha1","version":"v1alpha1"}],"preferredVersion":{"groupVersion":"rbac.authorization.k8s.io/v1alpha1","version":"v1alpha1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]}]} I0621 14:00:38.445064 4619 round_trippers.go:296] GET http://10.0.0.65:8080/api I0621 14:00:38.445088 4619 round_trippers.go:303] Request Headers: I0621 14:00:38.445095 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:38.445102 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:38.445440 4619 round_trippers.go:321] Response Status: 200 OK in 0 milliseconds I0621 14:00:38.445462 4619 round_trippers.go:324] Response Headers: I0621 14:00:38.445471 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:38.445478 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:38 GMT I0621 14:00:38.445486 4619 round_trippers.go:327] Content-Length: 132 I0621 14:00:38.445516 4619 request.go:891] Response Body: {"kind":"APIVersions","versions":["v1"],"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]} I0621 14:00:38.445626 4619 round_trippers.go:296] GET http://10.0.0.65:8080/apis I0621 14:00:38.445651 4619 round_trippers.go:303] Request Headers: I0621 14:00:38.445663 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:38.445677 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:38.446091 4619 round_trippers.go:321] Response Status: 200 OK in 0 milliseconds I0621 14:00:38.446105 4619 round_trippers.go:324] Response Headers: I0621 14:00:38.446112 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:38.446118 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:38 GMT I0621 14:00:38.446123 4619 round_trippers.go:327] Content-Length: 1631 I0621 14:00:38.446159 4619 request.go:891] Response Body: {"kind":"APIGroupList","groups":[{"name":"apps","versions":[{"groupVersion":"apps/v1alpha1","version":"v1alpha1"}],"preferredVersion":{"groupVersion":"apps/v1alpha1","version":"v1alpha1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]},{"name":"autoscaling","versions":[{"groupVersion":"autoscaling/v1","version":"v1"}],"preferredVersion":{"groupVersion":"autoscaling/v1","version":"v1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]},{"name":"batch","versions":[{"groupVersion":"batch/v1","version":"v1"},{"groupVersion":"batch/v2alpha1","version":"v2alpha1"}],"preferredVersion":{"groupVersion":"batch/v1","version":"v1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]},{"name":"extensions","versions":[{"groupVersion":"extensions/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"extensions/v1beta1","version":"v1beta1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]},{"name":"policy","versions":[{"groupVersion":"policy/v1alpha1","version":"v1alpha1"}],"preferredVersion":{"groupVersion":"policy/v1alpha1","version":"v1alpha1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]},{"name":"rbac.authorization.k8s.io","versions":[{"groupVersion":"rbac.authorization.k8s.io/v1alpha1","version":"v1alpha1"}],"preferredVersion":{"groupVersion":"rbac.authorization.k8s.io/v1alpha1","version":"v1alpha1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.0.65:6443"}]}]} I0621 14:00:38.446478 4619 round_trippers.go:296] GET http://10.0.0.65:8080/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx I0621 14:00:38.446485 4619 round_trippers.go:303] Request Headers: I0621 14:00:38.446489 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:38.446492 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:38.447546 4619 round_trippers.go:321] Response Status: 200 OK in 1 milliseconds I0621 14:00:38.447569 4619 round_trippers.go:324] Response Headers: I0621 14:00:38.447577 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:38 GMT I0621 14:00:38.447586 4619 round_trippers.go:327] Content-Length: 873 I0621 14:00:38.447592 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:38.447621 4619 request.go:891] Response Body: {"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"gyliu-nginx","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx","uid":"65846976-3775-11e6-9096-fa163ebc2006","resourceVersion":"538197","generation":1,"creationTimestamp":"2016-06-21T06:00:03Z","labels":{"app":"gyliu-nginx"}},"spec":{"replicas":1,"selector":{"app":"gyliu-nginx"},"template":{"metadata":{"name":"gyliu-nginx","creationTimestamp":null,"labels":{"app":"gyliu-nginx"}},"spec":{"containers":[{"name":"gyliu-nginx","image":"nginx","resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":1,"fullyLabeledReplicas":1,"observedGeneration":1}} I0621 14:00:38.447917 4619 round_trippers.go:296] GET http://10.0.0.65:8080/api/v1/namespaces/default/replicationcontrollers I0621 14:00:38.447939 4619 round_trippers.go:303] Request Headers: I0621 14:00:38.447946 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:38.447952 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:38.448862 4619 round_trippers.go:321] Response Status: 200 OK in 0 milliseconds I0621 14:00:38.448881 4619 round_trippers.go:324] Response Headers: I0621 14:00:38.448890 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:38.448897 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:38 GMT I0621 14:00:38.448939 4619 request.go:891] Response Body: {"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/default/replicationcontrollers","resourceVersion":"538225"},"items":[{"metadata":{"name":"gyliu-nginx","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx","uid":"65846976-3775-11e6-9096-fa163ebc2006","resourceVersion":"538197","generation":1,"creationTimestamp":"2016-06-21T06:00:03Z","labels":{"app":"gyliu-nginx"}},"spec":{"replicas":1,"selector":{"app":"gyliu-nginx"},"template":{"metadata":{"name":"gyliu-nginx","creationTimestamp":null,"labels":{"app":"gyliu-nginx"}},"spec":{"containers":[{"name":"gyliu-nginx","image":"nginx","resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":1,"fullyLabeledReplicas":1,"observedGeneration":1}},{"metadata":{"name":"liqlin-nginx","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/liqlin-nginx","uid":"3a0b9328-3212-11e6-acf8-fa163ebc2006","resourceVersion":"537812","generation":1,"creationTimestamp":"2016-06-14T09:27:34Z","labels":{"app":"liqlin-nginx"}},"spec":{"replicas":1,"selector":{"app":"liqlin-nginx"},"template":{"metadata":{"name":"liqlin-nginx","creationTimestamp":null,"labels":{"app":"liqlin-nginx"}},"spec":{"containers":[{"name":"liqlin-nginx","image":"nginx","resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":1,"fullyLabeledReplicas":1,"observedGeneration":1}},{"metadata":{"name":"liqlin-nginx2","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/liqlin-nginx2","uid":"2884d614-344c-11e6-9096-fa163ebc2006","resourceVersion":"292679","generation":1,"creationTimestamp":"2016-06-17T05:27:18Z","labels":{"app":"liqlin-nginx2"}},"spec":{"replicas":1,"selector":{"app":"liqlin-nginx2"},"template":{"metadata":{"name":"liqlin-nginx2","creationTimestamp":null,"labels":{"app":"liqlin-nginx2"}},"spec":{"containers":[{"name":"liqlin-nginx2","image":"nginx","resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":1,"fullyLabeledReplicas":1,"observedGeneration":1}}]} I0621 14:00:39.449548 4619 round_trippers.go:296] GET http://10.0.0.65:8080/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx I0621 14:00:39.449701 4619 round_trippers.go:303] Request Headers: I0621 14:00:39.449739 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:39.449812 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:39.451107 4619 round_trippers.go:321] Response Status: 200 OK in 1 milliseconds I0621 14:00:39.451180 4619 round_trippers.go:324] Response Headers: I0621 14:00:39.451207 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:39.451244 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:39 GMT I0621 14:00:39.451270 4619 round_trippers.go:327] Content-Length: 873 I0621 14:00:39.451335 4619 request.go:891] Response Body: {"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"gyliu-nginx","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx","uid":"65846976-3775-11e6-9096-fa163ebc2006","resourceVersion":"538197","generation":1,"creationTimestamp":"2016-06-21T06:00:03Z","labels":{"app":"gyliu-nginx"}},"spec":{"replicas":1,"selector":{"app":"gyliu-nginx"},"template":{"metadata":{"name":"gyliu-nginx","creationTimestamp":null,"labels":{"app":"gyliu-nginx"}},"spec":{"containers":[{"name":"gyliu-nginx","image":"nginx","resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":1,"fullyLabeledReplicas":1,"observedGeneration":1}} I0621 14:00:39.452477 4619 request.go:558] Request Body: {"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"gyliu-nginx","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx","uid":"65846976-3775-11e6-9096-fa163ebc2006","resourceVersion":"538197","generation":1,"creationTimestamp":"2016-06-21T06:00:03Z","labels":{"app":"gyliu-nginx"}},"spec":{"replicas":0,"selector":{"app":"gyliu-nginx"},"template":{"metadata":{"name":"gyliu-nginx","creationTimestamp":null,"labels":{"app":"gyliu-nginx"}},"spec":{"containers":[{"name":"gyliu-nginx","image":"nginx","resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":1,"fullyLabeledReplicas":1,"observedGeneration":1}} I0621 14:00:39.452557 4619 round_trippers.go:296] PUT http://10.0.0.65:8080/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx I0621 14:00:39.452589 4619 round_trippers.go:303] Request Headers: I0621 14:00:39.452624 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:39.452651 4619 round_trippers.go:306] Content-Type: application/json I0621 14:00:39.452679 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:39.455086 4619 round_trippers.go:321] Response Status: 200 OK in 2 milliseconds I0621 14:00:39.455152 4619 round_trippers.go:324] Response Headers: I0621 14:00:39.455182 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:39.455220 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:39 GMT I0621 14:00:39.455247 4619 round_trippers.go:327] Content-Length: 873 I0621 14:00:39.455314 4619 request.go:891] Response Body: {"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"gyliu-nginx","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx","uid":"65846976-3775-11e6-9096-fa163ebc2006","resourceVersion":"538226","generation":2,"creationTimestamp":"2016-06-21T06:00:03Z","labels":{"app":"gyliu-nginx"}},"spec":{"replicas":0,"selector":{"app":"gyliu-nginx"},"template":{"metadata":{"name":"gyliu-nginx","creationTimestamp":null,"labels":{"app":"gyliu-nginx"}},"spec":{"containers":[{"name":"gyliu-nginx","image":"nginx","resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":1,"fullyLabeledReplicas":1,"observedGeneration":1}} I0621 14:00:39.455674 4619 round_trippers.go:296] GET http://10.0.0.65:8080/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx I0621 14:00:39.455744 4619 round_trippers.go:303] Request Headers: I0621 14:00:39.455829 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:39.455895 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:39.456855 4619 round_trippers.go:321] Response Status: 200 OK in 0 milliseconds I0621 14:00:39.456870 4619 round_trippers.go:324] Response Headers: I0621 14:00:39.456874 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:39.456877 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:39 GMT I0621 14:00:39.456881 4619 round_trippers.go:327] Content-Length: 873 I0621 14:00:39.456923 4619 request.go:891] Response Body: {"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"gyliu-nginx","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx","uid":"65846976-3775-11e6-9096-fa163ebc2006","resourceVersion":"538226","generation":2,"creationTimestamp":"2016-06-21T06:00:03Z","labels":{"app":"gyliu-nginx"}},"spec":{"replicas":0,"selector":{"app":"gyliu-nginx"},"template":{"metadata":{"name":"gyliu-nginx","creationTimestamp":null,"labels":{"app":"gyliu-nginx"}},"spec":{"containers":[{"name":"gyliu-nginx","image":"nginx","resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":1,"fullyLabeledReplicas":1,"observedGeneration":1}} I0621 14:00:40.457339 4619 round_trippers.go:296] GET http://10.0.0.65:8080/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx I0621 14:00:40.457476 4619 round_trippers.go:303] Request Headers: I0621 14:00:40.457527 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:40.457575 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:40.458790 4619 round_trippers.go:321] Response Status: 200 OK in 1 milliseconds I0621 14:00:40.458802 4619 round_trippers.go:324] Response Headers: I0621 14:00:40.458844 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:40 GMT I0621 14:00:40.458850 4619 round_trippers.go:327] Content-Length: 848 I0621 14:00:40.458853 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:40.458890 4619 request.go:891] Response Body: {"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"gyliu-nginx","namespace":"default","selfLink":"/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx","uid":"65846976-3775-11e6-9096-fa163ebc2006","resourceVersion":"538230","generation":2,"creationTimestamp":"2016-06-21T06:00:03Z","labels":{"app":"gyliu-nginx"}},"spec":{"replicas":0,"selector":{"app":"gyliu-nginx"},"template":{"metadata":{"name":"gyliu-nginx","creationTimestamp":null,"labels":{"app":"gyliu-nginx"}},"spec":{"containers":[{"name":"gyliu-nginx","image":"nginx","resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":0,"observedGeneration":2}} I0621 14:00:40.459185 4619 round_trippers.go:296] DELETE http://10.0.0.65:8080/api/v1/namespaces/default/replicationcontrollers/gyliu-nginx I0621 14:00:40.459192 4619 round_trippers.go:303] Request Headers: I0621 14:00:40.459196 4619 round_trippers.go:306] Accept: application/json, */* I0621 14:00:40.459199 4619 round_trippers.go:306] User-Agent: kubectl/v1.3.0 (linux/amd64) kubernetes/6460b34 I0621 14:00:40.461023 4619 round_trippers.go:321] Response Status: 200 OK in 1 milliseconds I0621 14:00:40.461034 4619 round_trippers.go:324] Response Headers: I0621 14:00:40.461038 4619 round_trippers.go:327] Content-Type: application/json I0621 14:00:40.461042 4619 round_trippers.go:327] Date: Tue, 21 Jun 2016 06:00:40 GMT I0621 14:00:40.461045 4619 round_trippers.go:327] Content-Length: 80 I0621 14:00:40.461088 4619 request.go:891] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","code":200} replicationcontroller "gyliu-nginx" deleted Thanks, Guangya -- You received this message because you are subscribed to the Google Groups "Containers at Google" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-containers. For more options, visit https://groups.google.com/d/optout.
