1. 11 Dec, 2016 6 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #38452 from euank/cfssl · 3f7b0004
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 38277, 36361, 38452)
      
      local-up: resolve sudo -E'd paths better
      
      This problem won't affect everyone, but for people who have `--with-secure-path` configured for their sudo binaries, `sudo -E` won't actually preserve PATH, which means the sub-bash won't necessarily be able to find the binary which `test` found to exist.
      This fixes that.
      
      Ubuntu [used to](https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/50797) configure it that way, and they might still.
      It's configured as such on my (Gentoo) machine.
      3f7b0004
    • Kubernetes Submit Queue's avatar
      Merge pull request #36361 from ivan4th/build-container-rsync-optimizations · 48cae782
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 38277, 36361, 38452)
      
      Add options for build container rsync optimization
      
      KUBE_RSYNC_COMPRESS env var sets rsync compression level.
      KUBE_RSYNC_GENERATED_TO_BUILD_CONTAINER env var disables rsyncing
      generated files to build containers.
      
      Why KUBE_RSYNC_COMPRESS is needed -- from rsync manual on `--compress` option (implied by non-zero `--compress-level`):
      > Note that this option typically achieves better compression ratios than can be achieved by using a compressing remote shell or a compressing transport because it takes advantage of the implicit information in the matching data blocks that are not explicitly sent over  the connection.
      
      Use case for `KUBE_RSYNC_GENERATED_TO_BUILD_CONTAINER`: when you sometimes build stuff locally (e.g. `make WHAT=cmd/kubectl`) and sometimes do it on remote docker (`build-tools/run.sh make WHAT=cmd/hyperkube`), local builds touch generated files which causes them to be rsynced to the build data container, which may slow down the builds. Still, I'm not sure whether local->remote rsync of generated files is useful (e.g. someone may want to edit generated files for debugging purposes?), so I made not rsyncing these files an option instead of forcing such behavior.
      48cae782
    • Kubernetes Submit Queue's avatar
      Merge pull request #38277 from xilabao/fix-advertise-address-in-local-cluster · e8bcf8d3
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix set advertise address in local cluster
      e8bcf8d3
    • Kubernetes Submit Queue's avatar
      Merge pull request #38438 from MrHohn/addon-manager-coreos · 37cd01dc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Keeps addon manager yamls in sync
      
      From #38437.
      
      We should have kept all addon manager YAML files in sync. This does not fix the release scripts issue, but we should still have this.
      
      @mikedanese @ixdy
      37cd01dc
    • Kubernetes Submit Queue's avatar
      Merge pull request #38523 from MrHohn/kube-dns-rename · d8c92531
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 38058, 38523)
      
      Renames kube-dns configure files from skydns* to kubedns*
      
      `skydns-` prefix and `-rc` suffix are confusing and misleading. Renaming it to `kubedns` in existing yaml files and scripts.
      
      @bowei @thockin
      d8c92531
    • Kubernetes Submit Queue's avatar
      Merge pull request #38058 from smarterclayton/unstructured · 543cfa1a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 38058, 38523)
      
      Move unstructured types under `meta/v1` to indicate they are typed
      
      Add a few abstractions that make them simpler to use from generic code that does not need accessors. Move OwnerReference to meta/v1 and remote metatypes.go
      
      Part of #37530
      543cfa1a
  2. 10 Dec, 2016 29 commits
  3. 09 Dec, 2016 5 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #37611 from yarntime/fix_typo_in_pet_set · f7e36688
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      fix typo in pet_set
      
      fix typo in pet_set.
      f7e36688
    • Chao Xu's avatar
      15d0984b
    • Kubernetes Submit Queue's avatar
      Merge pull request #38519 from dims/fix-url-parse-in-golang-1.8 · beb895f2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 37677, 38519)
      
      Better deal with failures under golang 1.8beta1
      
      If there is any error in the initial parsing then we should just
      try adding the scheme.
      
      url.Parse(base) has changed in 1.8. Please see the following change
      https://github.com/golang/go/commit/c5ccbdd22bdbdc43d541b7e7d4ed66ceb559030e
      
      Fixes #38380
      beb895f2
    • Kubernetes Submit Queue's avatar
      Merge pull request #37677 from wojtek-t/fix_hanging_cacher_2 · fe9c4d69
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Proper fix for non-receiving watchers
      
      Follow up on #37195
      fe9c4d69
    • Kubernetes Submit Queue's avatar
      Merge pull request #34554 from derekwaynecarr/quota-storage-class · b72c006e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 37270, 38309, 37568, 34554)
      
      Ability to quota storage by storage class
      
      Adds the ability to quota storage by storage class.
      1. `<storage-class>.storageclass.storage.k8s.io/persistentvolumeclaims` - quota the number of claims with a specific storage class
      2. `<storage-class>.storageclass.storage.k8s.io/requests.storage` - quota the cumulative request for storage in a particular storage class.
      
      For example:
      
      ```
      $ cat quota.yaml
      apiVersion: v1
      kind: ResourceQuota
      metadata:
        name: storage-quota
      spec:
        hard:
          requests.storage: 100Gi
          persistentvolumeclaims: 100
          gold.storageclass.storage.k8s.io/requests.storage: 50Gi
          gold.storageclass.storage.k8s.io/persistentvolumeclaims: 5
          silver.storageclass.storage.k8s.io/requests.storage: 75Gi
          silver.storageclass.storage.k8s.io/persistentvolumeclaims: 10
          bronze.storageclass.storage.k8s.io.kubernetes.io/requests.storage: 100Gi
          bronze.storageclass.storage.k8s.io/persistentvolumeclaims: 15
      $ kubectl create -f quota.yaml
      $ cat pvc-bronze.yaml
      kind: PersistentVolumeClaim
      apiVersion: v1
      metadata:
        generateName: pvc-bronze-
        annotations:
          volume.beta.kubernetes.io/storage-class: "bronze"
      spec:
        accessModes:
          - ReadWriteOnce
        resources:
          requests:
            storage: 8Gi
      $ kubectl create -f pvc-bronze.yaml
      $ kubectl get quota storage-quota -o yaml
      apiVersion: v1
      kind: ResourceQuota
      ...
      status:
        hard:
          bronze.storageclass.storage.k8s.io/persistentvolumeclaims: "15"
          bronze.storageclass.storage.k8s.io/requests.storage: 100Gi
          gold.storageclass.storage.k8s.io/persistentvolumeclaims: "5"
          gold.storageclass.storage.k8s.io/requests.storage: 50Gi
          persistentvolumeclaims: "100"
          requests.storage: 100Gi
          silver.storageclass.storage.k8s.io/persistentvolumeclaims: "10"
          silver.storageclass.storage.k8s.io/requests.storage: 75Gi
        used:
          bronze.storageclass.storage.k8s.io/persistentvolumeclaims: "1"
          bronze.storageclass.storage.k8s.io/requests.storage: 8Gi
          gold.storageclass.storage.k8s.io/persistentvolumeclaims: "0"
          gold.storageclass.storage.k8s.io/requests.storage: "0"
          persistentvolumeclaims: "1"
          requests.storage: 8Gi
          silver.storageclass.storage.k8s.io/persistentvolumeclaims: "0"
          silver.storageclass.storage.k8s.io/requests.storage: "0"
      ```
      b72c006e