1. 08 Mar, 2017 7 commits
  2. 07 Mar, 2017 33 commits
    • David Ashpole's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #42588 from krousey/upgrades · d6ae61c3
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Create "framework" per upgrade test
      
      There were already a few tests just using the default framework
      namespace instead of creating a new one. Also there are several
      testing libraries that use the default framework's default namespace
      as well. It's just easier this way.
      d6ae61c3
    • David Ashpole's avatar
      new suite with memcg turned on · 0e20caf3
      David Ashpole authored
      0e20caf3
    • nikhiljindal's avatar
      Autogenerated swagger changes · 471a0915
      nikhiljindal authored
      471a0915
    • nikhiljindal's avatar
      Disable checking APIs in test · 09af9dc9
      nikhiljindal authored
      09af9dc9
    • Kubernetes Submit Queue's avatar
      Merge pull request #42625 from caesarxuchao/add-notes-client-go-examples · d64434c0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Adding note saying client-go examples only work with the code in the same branch
      
      Adding this note because the problem has confused many users.
      
      It's doc change and only affects client-go examples, so adding the milestone.
      d64434c0
    • Kubernetes Submit Queue's avatar
      Merge pull request #42264 from yujuhong/kubemark_cri · 1ed3aa67
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kubemark: enable CRI for the hollow nodes
      
      This fixes #41488
      1ed3aa67
    • nikhiljindal's avatar
      DO not register batch and autoscaling APIs · cbd30249
      nikhiljindal authored
      cbd30249
    • Kubernetes Submit Queue's avatar
      Merge pull request #42648 from sttts/sttts-multiple-feature-gate-calls · 7593a9f5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42637, 42648)
      
      Support multiple --feature-gates flags in the command line
      
      Fixes the issue in https://github.com/kubernetes/kubernetes/pull/42647.
      
      Before this change the whole set of gates was replaced with new values. Now values are overridden one by one.
      7593a9f5
    • Kubernetes Submit Queue's avatar
      Merge pull request #42637 from jsafrane/v1-examples · dddf7bff
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42637, 42648)
      
      Update examples with storage.k8s.io/v1
      
      This should squeeze into 1.6. All changes are in `examples` directory and reflect our new API.
      
      Release note:
      ```release-note
      NONE
      ```
      
      @kubernetes/sig-storage-pr-reviews
      dddf7bff
    • David Ashpole's avatar
      use default timeout · 6a0d5506
      David Ashpole authored
      6a0d5506
    • Kubernetes Submit Queue's avatar
      Merge pull request #42613 from pipejakob/fix-health-port · 55d500e6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kubeadm: Make kube-apiserver's liveness probe match its bindport.
      
      The `kube-apiserver` liveness probe port had previously been hardcoded, so if you used `--apiserver-bind-port` to override the default port (6443), then the health check for the pod would quickly fail and kubelet would continuously kill the apiserver.
      
      **Which issue this PR fixes**: fixes https://github.com/kubernetes/kubeadm/issues/196
      
      **Release note**:
      
      ```release-note
      kubeadm: fix kube-apiserver liveness probe port when --apiserver-bind-port given
      ```
      55d500e6
    • Yu-Ju Hong's avatar
      a0f90e14
    • Yu-Ju Hong's avatar
      Various fixes for the fake docker client · 516848c3
      Yu-Ju Hong authored
       * Properly return ImageNotFoundError
       * Support inject "Images" or "ImageInspects" and keep both in sync.
       * Remove the FakeDockerPuller and let FakeDockerClient subsumes its
         functinality. This reduces the overhead to maintain both objects.
       * Various small fixes and refactoring of the testing utils.
      516848c3
    • Kubernetes Submit Queue's avatar
      Merge pull request #42634 from gmarek/nc_test_sleep · c9d4e601
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Extend the sleep time in the NC unit test
      
      Ref. https://github.com/kubernetes/kubernetes/issues/39975#issuecomment-284600278
      c9d4e601
    • Kubernetes Submit Queue's avatar
      Merge pull request #42346 from kargakis/e2e-deployment-fix · feb81270
      Kubernetes Submit Queue authored
      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
      feb81270
    • Dr. Stefan Schimanski's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #42641 from deads2k/api-09-patch · cf116070
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      deflake TestPatch by waiting for cache
      
      Fixes #39471
      
      Rather than retry on conflicts for an unknown number of times, we have the resource version after the previous patch and we can use that to wait for a GET response that is at least as current as that resourceVersion.
      
      @kubernetes/sig-api-machinery-pr-reviews @liggitt @wojtek-t
      cf116070
    • Kubernetes Submit Queue's avatar
      Merge pull request #42609 from intelsdi-x/test-out-of-oir · 5cc6a4e2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41890, 42593, 42633, 42626, 42609)
      
      Pods pending due to insufficient OIR should get scheduled once sufficient OIR becomes available (e2e disabled).
      
      #41870 was reverted because it introduced an e2e test flake. This is the same code with the e2e for OIR disabled again.
      
      We can attempt to enable the e2e test cases one-by-one in follow-up PRs, but it would be preferable to get the main fix merged in time for 1.6 since OIR is broken on master (see #41861).
      
      cc @timothysc
      5cc6a4e2
    • Kubernetes Submit Queue's avatar
      Merge pull request #42626 from xilabao/patch-9 · 6466e34a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41890, 42593, 42633, 42626, 42609)
      
      add "use" to validResourceVerbs
      
      ref to https://github.com/kubernetes/kubernetes/issues/17637
      6466e34a
    • Kubernetes Submit Queue's avatar
      Merge pull request #42633 from gmarek/nc_logs · 74c60fbd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41890, 42593, 42633, 42626, 42609)
      
      Improve NodeControllers logs
      74c60fbd
    • Kubernetes Submit Queue's avatar
      Merge pull request #42593 from deads2k/controller-02-disable · 2bdb2275
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41890, 42593, 42633, 42626, 42609)
      
      make all controllers obey the disable flags
      
      Fixes https://github.com/kubernetes/kubernetes/issues/42592 
      
      Some controllers weren't disable-able.  This fixes them so they obey our flags.
      
      @ncdc
      2bdb2275
    • Kubernetes Submit Queue's avatar
      Merge pull request #41890 from soltysh/issue37166 · ed043168
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41890, 42593, 42633, 42626, 42609)
      
      Remove everything that is not new from batch/v2alpha1
      
      Fixes #37166.
      
      @lavalamp you've asked for it 
      @erictune this is a prereq for moving CronJobs to beta. I initially planned to put all in one PR, but after I did that I figured out it'll be easier to review separately. ptal 
      
      @kubernetes/api-approvers @kubernetes/sig-api-machinery-pr-reviews ptal
      ed043168
    • deads2k's avatar
      deflake TestPatch by waiting for cache · 5fd0162a
      deads2k authored
      5fd0162a
    • Jan Safranek's avatar
      Update examples with storage.k8s.io/v1 · 02fbd8a0
      Jan Safranek authored
      02fbd8a0
    • gmarek's avatar
      Extend the sleep time in the NC unit test · 65f55678
      gmarek authored
      65f55678
    • gmarek's avatar
      Improve NodeControllers logs · 0db355a8
      gmarek authored
      0db355a8
    • xilabao's avatar
      add "use" to validResourceVerbs · a01cf0e6
      xilabao authored
      a01cf0e6
    • Chao Xu's avatar
      adding note · cecf0ca7
      Chao Xu authored
      cecf0ca7
    • Kubernetes Submit Queue's avatar
      Merge pull request #42584 from shashidharatd/federation · 302aab9b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42506, 42585, 42596, 42584)
      
      [Federation][e2e] Add wait for namespaces to appear in federated cluster
      
      Some federation e2e tests are failing because the namespace (created for every test case) does not seem to appear in one (or more) of federated clusters.
      This may be a timing issue, so introducing a wait until the namespace is created in federated clusters.
      
      cc @madhusudancs, @nikhiljindal, @kubernetes/sig-federation-bugs
      302aab9b
    • Kubernetes Submit Queue's avatar
      Merge pull request #42596 from enisoc/e2e-rc · 4f57c107
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42506, 42585, 42596, 42584)
      
      RC/RS: Fix ignoring inactive Pods.
      
      **What this PR does / why we need it**:
      
      Fix typo that broke ignoring of inactive Pods in RC, and add unit test for that case.
      
      **Which issue this PR fixes**:
      
      Fixes #37479
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      ```
      4f57c107
    • Kubernetes Submit Queue's avatar
      Merge pull request #42585 from derekwaynecarr/cgroup-flake · a1c5d1b8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42506, 42585, 42596, 42584)
      
      provide active pods to cgroup cleanup
      
      **What this PR does / why we need it**:
      This PR provides more information for when a pod cgroup is considered orphaned.  The running pods cache is based on the runtime's view of the world.  we create pod cgroups before containers so we should just be looking at activePods.
      
      **Which issue this PR fixes**
      Fixes https://github.com/kubernetes/kubernetes/issues/42431
      a1c5d1b8
    • Kubernetes Submit Queue's avatar
      Merge pull request #42506 from liggitt/etcd-prefix · 8b10527b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42506, 42585, 42596, 42584)
      
      Preserve custom etcd prefix compatibility for etcd3
      
      Fixes #42505
      
      ```release-note
      restored normalization of custom `--etcd-prefix` when `--storage-backend` is set to etcd3
      ```
      8b10527b