1. 30 Aug, 2018 7 commits
  2. 29 Aug, 2018 25 commits
  3. 28 Aug, 2018 8 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #67369 from tianshapjq/should-not-eventf-directly · cd064199
      Kubernetes Submit Queue authored
      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>.
      
      should not event directly
      
      **What this PR does / why we need it**:
      should not event directly, using recordContainerEvent() to generate ref and deduplicate events instead.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      none
      ```
      cd064199
    • Kubernetes Submit Queue's avatar
      Merge pull request #67947 from saravanan30erd/fluentd-elasticsearch · a2f4f585
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 67067, 67947). 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>.
      
      fixes fluentd configuration params in fluentd-elasticsearch addon
      
      **What this PR does / why we need it**:
      - fixes the errors/warnings in fluentd configuration.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      ```
      2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
      2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
      2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
      2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
      2018-08-28 11:40:50 +0000 [warn]: 'filters' parameter is deprecated: filters has been renamed as matches
      2018-08-28 11:40:50 +0000 [warn]: parameter 'time_format' in <source>
        @id fluentd-containers.log
        @type tail
        path "/var/log/containers/*.log"
        pos_file "/var/log/es-containers.log.pos"
        time_format %Y-%m-%dT%H:%M:%S.%NZ
        tag "raw.kubernetes.*"
        read_from_head true
        <parse>
          @type "multi_format"
          <pattern>
            format json
            time_key "time"
            time_format "%Y-%m-%dT%H:%M:%S.%NZ"
            time_type string
          </pattern>
          <pattern>
            format /^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$/
            time_format "%Y-%m-%dT%H:%M:%S.%N%:z"
            expression ^(?<time>.+) (?<stream>stdout|stderr) [^ ]* (?<log>.*)$
            ignorecase false
            multiline false
          </pattern>
        </parse>
      </source> is not used.
      ```
      
      **Release note**:
      
      ```release-note
      fixes the errors/warnings in fluentd configuration
      ```
      a2f4f585
    • Kubernetes Submit Queue's avatar
      Merge pull request #67067 from moonek/master · 42c6f1fb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 67067, 67947). 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>.
      
      Do not count soft-deleted pods for scaling purposes in HPA controller
      
      **What this PR does / why we need it**:
      The metrics of "soft-deleted" pods in general to be deleted should probably not matter for scaling purposes, since they'll be gone "soon", whether they're nodelost or just normally delete.
      
      As long as soft-deleted pods still exist, they prevent normal scale up.
      
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes https://github.com/kubernetes/kubernetes/issues/62845
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Stop counting soft-deleted pods for scaling purposes in HPA controller to avoid soft-deleted pods incorrectly affecting scale up replica count calculation.
      ```
      42c6f1fb
    • Xing Yang's avatar
      Re-generate files · 88d3d964
      Xing Yang authored
      88d3d964
    • Kubernetes Submit Queue's avatar
      Merge pull request #67545 from sttts/sttts-auth-optional-kubeconfig · 1b3a2dd0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 66960, 67545). 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>.
      
      delegated authn/z: optionally opt-out of mandatory authn/authz kubeconfig
      
      This adds `RemoteKubeConfigFileOptional` field to the delegated authn/z option structs. If set to true, the authn/z kubeconfig file flags are optional. If no kubeconfig is given, all token requests are considered to be anonymous and no client CA is looked up in the cluster.
      
      Prerequisite for https://github.com/kubernetes/kubernetes/pull/64149 and https://github.com/kubernetes/kubernetes/pull/67069.
      1b3a2dd0
    • Kubernetes Submit Queue's avatar
      Merge pull request #66960 from rosti/drop-arch-suffixes · 5774bf15
      Kubernetes Submit Queue authored
      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>.
      
      kubeadm: Drop arch suffixes
      
      **What this PR does / why we need it**:
      
      This change removes arch suffixes from control plane images (etcd, kube-apiserver, kube-scheduler, kube-proxy, etc.). These are not needed, as almost all control plane images have a fat manifest now. It also adds a missing unit test for `GetGenericImage`
      
      We have arch suffixes only for kube-dns images now.
      
      Sample output of `kubeadm config images pull` with this change:
      
      ```
      $ ./_output/bin/kubeadm config images pull
      [config/images] Pulled k8s.gcr.io/kube-apiserver:v1.11.1
      [config/images] Pulled k8s.gcr.io/kube-controller-manager:v1.11.1
      [config/images] Pulled k8s.gcr.io/kube-scheduler:v1.11.1
      [config/images] Pulled k8s.gcr.io/kube-proxy:v1.11.1
      [config/images] Pulled k8s.gcr.io/pause:3.1
      [config/images] Pulled k8s.gcr.io/etcd:3.2.18
      [config/images] Pulled k8s.gcr.io/coredns:1.1.3
      $ ./_output/bin/kubeadm config images pull --feature-gates=CoreDNS=false
      [config/images] Pulled k8s.gcr.io/kube-apiserver:v1.11.1
      [config/images] Pulled k8s.gcr.io/kube-controller-manager:v1.11.1
      [config/images] Pulled k8s.gcr.io/kube-scheduler:v1.11.1
      [config/images] Pulled k8s.gcr.io/kube-proxy:v1.11.1
      [config/images] Pulled k8s.gcr.io/pause:3.1
      [config/images] Pulled k8s.gcr.io/etcd:3.2.18
      [config/images] Pulled k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.10
      [config/images] Pulled k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.10
      [config/images] Pulled k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.10
      ```
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Refs kubernetes/kubeadm#1030 kubernetes/kubeadm#51
      
      **Special notes for your reviewer**:
      /cc @kubernetes/sig-cluster-lifecycle-pr-reviews
      /area kubeadm
      /kind feature
      /assign @luxas
      /assign @timothysc
      /assign @dims 
      /assign @neolit123 
      
      **Release note**:
      
      ```release-note
      kubeadm: Control plane images (etcd, kube-apiserver, kube-proxy, etc.) don't use arch suffixes. Arch suffixes are kept for kube-dns only.
      ```
      5774bf15
    • Xing Yang's avatar
      Modify DataSource comments · de00a663
      Xing Yang authored
      de00a663
    • Xing Yang's avatar
      Modify comments for DataSource · 9c1b29ec
      Xing Yang authored
      9c1b29ec