Skip to content

Conversation

@dims
Copy link
Member

@dims dims commented Nov 9, 2018

What type of PR is this?
/kind cleanup

What this PR does / why we need it:

  • Move from the old github.com/golang/glog to k8s.io/klog
  • klog as explicit InitFlags() so we add them as necessary
  • we update the other repositories that we vendor that made a similar
    change from glog to klog
    • github.com/kubernetes/repo-infra
    • k8s.io/gengo/
    • k8s.io/kube-openapi/
    • github.com/google/cadvisor
  • Entirely remove all references to glog
  • Fix some tests by explicit InitFlags in their init() methods

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 #70264

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Nov 9, 2018
@k8s-ci-robot k8s-ci-robot added area/apiserver area/kubeadm area/kubelet sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/auth Categorizes an issue or PR as relevant to SIG Auth. sig/autoscaling Categorizes an issue or PR as relevant to SIG Autoscaling. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/scheduling Categorizes an issue or PR as relevant to SIG Scheduling. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Nov 9, 2018
@dims
Copy link
Member Author

dims commented Nov 9, 2018

/priority important-soon

@k8s-ci-robot k8s-ci-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Nov 9, 2018
@dims dims changed the title Update cadvisor and other repos for klog take 2 Update cadvisor and other repos for klog Nov 9, 2018
@dims
Copy link
Member Author

dims commented Nov 9, 2018

/test pull-kubernetes-e2e-gke

@dims
Copy link
Member Author

dims commented Nov 9, 2018

/assign @mikedanese @thockin

@dims dims force-pushed the update-cadvisor-and-other-repos-for-klog-take-2 branch from 77df3a7 to 513f595 Compare November 9, 2018 22:54
@k8s-ci-robot k8s-ci-robot added this to the v1.13 milestone Nov 9, 2018
@thockin
Copy link
Member

thockin commented Nov 10, 2018

Racking up the big numbers!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 10, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dims, thockin

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 10, 2018
@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

1 similar comment
@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

dims added 4 commits November 10, 2018 07:50
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
  * github.com/kubernetes/repo-infra
  * k8s.io/gengo/
  * k8s.io/kube-openapi/
  * github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods

Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
Change-Id: I3b1ca9f2687388c831d9d46a4e1de413ffae06ac
Change-Id: I31aa2483065a4ef6acb65c18cda73c325c432df3
Change-Id: I64b30c68a606b4f5c095a66496a1e48c4d62ea88
@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to fejta).

Review the full test history for this PR.

Silence the bot with an /lgtm cancel comment for consistent failures.

Change-Id: I27ff0545bc456ed8c0900cfeb90555f9ab7ae235
@dims dims force-pushed the update-cadvisor-and-other-repos-for-klog-take-2 branch from 513f595 to e558e29 Compare November 10, 2018 13:06
@k8s-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 10, 2018
@dims
Copy link
Member Author

dims commented Nov 10, 2018

reapply /lgtm from @thockin as this was a simple rebase.

@dims dims added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 10, 2018
@dims
Copy link
Member Author

dims commented Nov 10, 2018

/test pull-kubernetes-e2e-gke

@k8s-ci-robot k8s-ci-robot merged commit a3ccea9 into kubernetes:master Nov 10, 2018
k8s-ci-robot pushed a commit that referenced this pull request Nov 23, 2018
The inotify code was removed from golang.org/x/exp several years ago. Therefore
importing it from that path prevents downstream consumers from using any module
that makes use of more recent features of golang.org/x/exp.

This change is a followup to google/cadvisor#2060 which was merged with #70889

This fixes #68478
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/apiserver area/kubeadm area/kubelet cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note-none Denotes a PR that doesn't merit a release note. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/auth Categorizes an issue or PR as relevant to SIG Auth. sig/autoscaling Categorizes an issue or PR as relevant to SIG Autoscaling. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/scheduling Categorizes an issue or PR as relevant to SIG Scheduling. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use a forked version of glog in kubernetes

5 participants