Kubernetes Submit Queue
feb81270d1
Merge pull request #42346 from kargakis/e2e-deployment-fix
Automatic merge from submit-queue
e2e: require minimum completeness in deployment tests
@janetkuo should reduce deployment-related flakes
For example:
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gke/5334#k8sio-deployment-scaled-rollout-deployment-should-not-block-on-annotation-check
Deployment with 5 pods, all of them updated to the latest replica set. For some reason one of them is never scheduled and even though the strategy parameters in the Deployment allow 2 maxUnavailable the test is stuck for 5mins waiting for the last pod.
```
I0228 12:33:31.406] Feb 28 12:33:20.255: INFO: Pod nginx-2629236890-r7z5n is not available:
I0228 12:33:31.406] {TypeMeta:{Kind: APIVersion:} ObjectMeta:{Name:nginx-2629236890-r7z5n GenerateName:nginx-2629236890- Namespace:e2e-tests-deployment-gctjw SelfLink:/api/v1/namespaces/e2e-tests-deployment-gctjw/pods/nginx-2629236890-r7z5n UID:7095ad3e-fdf4-11e6-af4a-42010af00010 ResourceVersion:7804 Generation:0 CreationTimestamp:2017-02-28 12:28:18.408376434 -0800 PST DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[pod-template-hash:2629236890 name:nginx] Annotations:map[kubernetes.io/created-by:{"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"e2e-tests-deployment-gctjw","name":"nginx-2629236890","uid":"7085ba3f-fdf4-11e6-af4a-42010af00010","apiVersion":"extensions","resourceVersion":"7743"}}
I0228 12:33:31.407] ] OwnerReferences:[{APIVersion:extensions/v1beta1 Kind:ReplicaSet Name:nginx-2629236890 UID:7085ba3f-fdf4-11e6-af4a-42010af00010 Controller:0xc420beccf0}] Finalizers:[] ClusterName:} Spec:{Volumes:[{Name:default-token-58h80 VolumeSource:{HostPath:nil EmptyDir:nil GCEPersistentDisk:nil AWSElasticBlockStore:nil GitRepo:nil Secret:&SecretVolumeSource{SecretName:default-token-58h80,Items:[],DefaultMode:*420,Optional:nil,} NFS:nil ISCSI:nil Glusterfs:nil PersistentVolumeClaim:nil RBD:nil FlexVolume:nil Cinder:nil CephFS:nil Flocker:nil DownwardAPI:nil FC:nil AzureFile:nil ConfigMap:nil VsphereVolume:nil Quobyte:nil AzureDisk:nil PhotonPersistentDisk:nil Projected:nil}}] InitContainers:[] Containers:[{Name:nginx Image:gcr.io/google_containers/update-demo:kitten Command:[] Args:[] WorkingDir: Ports:[] EnvFrom:[] Env:[] Resources:{Limits:map[] Requests:map[]} VolumeMounts:[{Name:default-token-58h80 ReadOnly:true MountPath:/var/run/secrets/kubernetes.io/serviceaccount SubPath:}] LivenessProbe:nil ReadinessProbe:nil Lifecycle:nil TerminationMessagePath:/dev/termination-log TerminationMessagePolicy:File ImagePullPolicy:IfNotPresent SecurityContext:nil Stdin:false StdinOnce:false TTY:false}] RestartPolicy:Always TerminationGracePeriodSeconds:0xc420becd28 ActiveDeadlineSeconds:<nil> DNSPolicy:ClusterFirst NodeSelector:map[] ServiceAccountName:default DeprecatedServiceAccount:default AutomountServiceAccountToken:<nil> NodeName:gke-bootstrap-e2e-default-pool-800b6140-fsl5 HostNetwork:false HostPID:false HostIPC:false SecurityContext:&PodSecurityContext{SELinuxOptions:nil,RunAsUser:nil,RunAsNonRoot:nil,SupplementalGroups:[],FSGroup:nil,} ImagePullSecrets:[] Hostname: Subdomain: Affinity:nil SchedulerName:default-scheduler Tolerations:[]} Status:{Phase:Pending Conditions:[{Type:Initialized Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2017-02-28 12:28:18 -0800 PST Reason: Message:} {Type:Ready Status:False LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2017-02-28 12:28:18 -0800 PST Reason:ContainersNotReady Message:containers with unready status: [nginx]} {Type:PodScheduled Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2017-02-28 12:28:18 -0800 PST Reason: Message:}] Message: Reason: HostIP:10.240.0.2 PodIP: StartTime:2017-02-28 12:28:18 -0800 PST InitContainerStatuses:[] ContainerStatuses:[{Name:nginx State:{Waiting:&ContainerStateWaiting{Reason:ContainerCreating,Message:,} Running:nil Terminated:nil} LastTerminationState:{Waiting:nil Running:nil Terminated:nil} Ready:false RestartCount:0 Image:gcr.io/google_containers/update-demo:kitten ImageID: ContainerID:}] QOSClass:BestEffort}}
```
@kubernetes/sig-apps-misc
2017-03-07 09:11:25 -08:00
..
2017-01-05 14:14:13 -08:00
2017-03-01 17:58:30 +01:00
2017-03-07 09:11:25 -08:00
2017-01-05 14:14:13 -08:00
2017-01-05 14:14:13 -08:00
2017-02-14 10:16:32 -05:00
2017-03-06 17:16:17 -08:00
2017-02-24 16:44:21 -08:00
2017-01-17 16:17:19 -05:00
2017-03-06 15:06:04 -08:00
2017-01-23 17:52:46 -05:00
2017-02-26 20:09:54 +01:00
2017-02-26 20:09:54 +01:00
2017-03-02 00:59:23 -08:00
2017-02-26 20:09:54 +01:00
2017-02-26 20:09:54 +01:00
2017-02-26 20:09:54 +01:00
2017-01-23 17:52:46 -05:00
2017-03-01 11:52:55 -08:00
2017-03-06 12:12:38 +01:00
2017-01-25 19:45:09 +01:00
2017-03-02 16:04:39 -08:00
2017-01-23 17:52:46 -05:00
2017-02-21 13:26:03 +01:00
2017-02-27 19:08:59 +01:00
2017-01-31 13:49:38 +01:00
2017-02-21 12:20:35 +01:00
2017-02-27 11:31:59 -08:00
2017-02-27 11:31:59 -08:00
2017-01-25 19:45:09 +01:00
2016-09-15 18:38:01 -04:00
2016-09-15 18:38:01 -04:00
2017-02-22 05:48:38 -08:00
2017-01-30 12:46:59 -05:00
2017-02-15 18:16:35 +01:00
2017-01-24 13:41:51 -05:00
2017-01-25 19:45:09 +01:00
2017-02-08 13:05:11 -08:00
2017-01-16 10:37:38 -08:00
2017-02-22 08:53:51 -05:00
2017-01-12 10:21:05 +08:00
2017-02-28 23:05:41 -08:00
2017-03-06 12:12:38 +01:00
2017-01-25 19:45:09 +01:00
2016-10-19 15:55:39 +02:00
2017-01-12 13:29:16 -08:00
2017-02-17 09:37:19 +01:00
2017-03-01 11:52:55 -08:00
2017-02-17 09:37:19 +01:00
2017-02-27 09:24:59 -08:00
2017-01-23 17:52:46 -05:00
2017-01-17 16:17:19 -05:00
2017-03-06 12:12:38 +01:00
2017-01-25 19:45:09 +01:00
2017-02-16 20:48:06 -08:00
2017-01-29 21:41:44 +01:00
2017-02-21 16:31:21 +01:00
2016-12-05 16:27:07 -05:00
2017-02-21 15:01:08 +01:00
2017-01-23 17:52:46 -05:00
2017-02-13 22:05:00 -05:00
2017-01-30 12:46:59 -05:00
2017-02-27 09:24:59 -08:00
2016-12-05 16:27:07 -05:00
2017-01-11 09:09:48 -05:00
2017-01-29 21:41:44 +01:00
2017-03-06 17:48:09 -08:00
2017-02-23 21:05:12 -08:00
2017-02-23 21:05:12 -08:00
2017-02-16 20:48:06 -08:00
2017-02-23 21:05:12 -08:00
2017-01-25 19:45:09 +01:00
2017-03-01 13:04:28 -08:00
2017-02-10 10:17:24 -08:00
2017-02-01 06:32:04 -07:00
2017-02-06 18:16:51 -05:00
2017-01-30 12:46:59 -05:00
2017-02-16 20:48:06 -08:00
2017-02-16 20:48:06 -08:00
2017-01-29 21:41:44 +01:00
2017-01-23 17:52:46 -05:00
2017-01-29 21:41:44 +01:00
2017-01-23 17:52:46 -05:00
2017-02-21 15:01:08 +01:00
2017-03-02 10:23:57 +01:00
2017-01-23 17:52:46 -05:00
2017-02-22 09:27:42 -05:00
2017-01-25 19:45:09 +01:00
2017-02-15 16:04:09 -05:00
2017-01-25 08:29:45 -05:00
2017-01-30 12:46:59 -05:00
2017-01-23 17:52:46 -05:00
2016-10-19 15:55:39 +02:00
2017-03-03 11:24:47 -08:00
2017-02-22 09:27:42 -05:00
2017-01-24 13:41:51 -05:00
2017-01-30 12:46:59 -05:00
2017-03-02 10:31:47 +01:00
2017-02-23 21:05:12 -08:00
2017-02-25 22:35:15 -05:00
2017-02-25 22:35:15 -05:00
2017-02-07 10:36:39 -08:00