k3s/pkg
Kubernetes Submit Queue 923abd0149
Merge pull request #56821 from dashpole/fake_client_running_containers
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

[Test Fix] Fake docker client can remove containers which have not been started

**What this PR does / why we need it**:
During kubemark-5000 scalability tests, which use the fake docker client, we encountered a bug where containers where the pod was deleted before the container was started could not be deleted.
This is because we only remove pods from the `ExitedContainers` list.  Containers are only added to this when they have been created, started, and then stopped.  However, containers that have only been created, but not started cannot be deleted.  This PR fixes this issue by allowing containers with `State.Running=false` to be deleted.

**Which issue(s) this PR fixes**:
Ref #53327 

**Release note**:
```release-note
NONE
```
/sig node
/kind bug
/priority critical-urgent
/assign @Random-Liu @dchen1107 @shyamjvs
2017-12-05 02:42:53 -08:00
..
api generated 2017-11-22 18:40:09 +00:00
apimachinery/tests
apis Use full gopath for externalTypes of missing API groups. 2017-11-26 00:12:45 +08:00
auth
bootstrap/api Validate usage strings when creating bootstrap tokens via kubeadm 2017-11-13 09:37:20 +08:00
capabilities
client generated 2017-11-22 18:40:09 +00:00
cloudprovider Merge pull request #56709 from gnufied/cluster-role-for-cloud-provider 2017-12-04 17:14:14 -08:00
controller VolumeHost.GetNodeName method added for CSI fix 2017-12-02 05:54:54 -05:00
credentialprovider fix awsStandardDNSSuffix 2017-11-15 16:39:48 +08:00
features declare ipvs proxier beta 2017-11-30 17:49:08 +08:00
fieldpath Validate key subscript for metadata.annotations and metadata.labels separately 2017-11-22 15:50:40 -08:00
generated generated 2017-11-22 18:40:09 +00:00
hyperkube
kubeapiserver Merge pull request #56175 from ericchiang/oidc-fix-prefixing 2017-11-21 19:49:33 -08:00
kubectl build patch from openapi only for registered types 2017-12-01 13:44:11 -08:00
kubelet fake docker client can remove containers which have not been started 2017-12-04 14:18:32 -08:00
kubemark Move ungated 'alpha' KubeletConfiguration fields and self-registration fields to KubeletFlags 2017-11-15 17:47:10 -08:00
master kube-apiserver: enable admission registration v1beta by default 2017-12-01 12:14:07 +01:00
printers support flexvlome in psp 2017-11-23 16:06:51 +08:00
probe
proxy add cleanup-ipvs flag 2017-11-21 15:05:23 +08:00
quota update unit test for hugepage resourceQuota support 2017-11-13 09:37:20 +08:00
registry admission: do not require v1alph1 for v1beta1 2017-12-01 14:14:39 +01:00
routes Update Dashboard add-on to version 1.8.0 2017-11-28 17:53:02 +01:00
security support flexvlome in psp 2017-11-23 16:06:51 +08:00
securitycontext Update generated files 2017-11-09 12:14:08 +01:00
serviceaccount Update generated files 2017-11-09 12:14:08 +01:00
ssh
util Use PATCHs instead of PUTs in CIDR allocator 2017-11-23 21:04:28 +01:00
version Capture git export-subst strings in version.sh for 'git archive' use. 2017-11-09 16:36:27 -08:00
volume CSI - Extract volume attributes from PV annotations" 2017-12-03 18:10:09 -05:00
watch
.import-restrictions
BUILD generated 2017-11-22 18:40:09 +00:00
OWNERS