Carlos Panato
3dec5781ad
[go1.15] updatestaging pb.go files using the hack scripts
2021-01-27 11:50:33 +01:00
Carlos Panato
d4840b9e2a
[go1.15] staging/publishing: Set default go version to go1.15.7
2021-01-27 11:43:02 +01:00
Kubernetes Prow Robot
e0bba105cc
Merge pull request #98138 from lala123912/log_format_admission
...
staging/src/k8s.io/apiserver/pkg/admission: migrate to structured logs
2021-01-27 01:13:50 -08:00
SataQiu
1690d6d011
fix the bug that network proxy logging http-connect mode in all cases
...
Signed-off-by: SataQiu <1527062125@qq.com >
2021-01-27 12:09:11 +08:00
Kubernetes Prow Robot
1920e1f2ee
Merge pull request #98406 from navist2020/fix_variable_name
...
Misspelling of the variable name
2021-01-26 19:19:39 -08:00
Andrea Tosatto
1449af1755
Re-run gofmt against staging/src/k8s.io/client-go/transport/
2021-01-27 00:08:07 +00:00
Andrea Tosatto
961fa25dd4
Remove unexpected updates to go.mod and go.sum
2021-01-26 23:49:25 +00:00
Andrea Tosatto
bdd2da5c7e
Update bazel BUILD file
2021-01-26 23:31:42 +00:00
Andrea Tosatto
675cefa1d1
Address golint warnings
2021-01-26 23:29:38 +00:00
Andrea Tosatto
e87349f3ca
Run gofmt against staging/src/k8s.io/client-go/transport/round_trippers_test.go
2021-01-26 23:14:56 +00:00
Andrea Tosatto
9cb5580ac6
Run gofmt against staging/src/k8s.io/client-go/transport/round_trippers.go
2021-01-26 22:04:52 +00:00
Kubernetes Prow Robot
013024864e
Merge pull request #98391 from Jiawei0227/process_start_metric
...
Bug Fix for process_start_time_metric initialization
2021-01-26 10:30:44 -08:00
David Eads
62230d3c46
update delegated authz defaults in kube binaries
2021-01-26 12:53:24 -05:00
Kubernetes Prow Robot
0bf274d471
Merge pull request #98061 from jprzychodzen/le-ccm
...
[cloud-controller-manager] Lower timeout for leaderelection resourcelock
2021-01-26 02:36:46 -08:00
lala123912
2dc8cadd00
staging/src/k8s.io/apiserver/pkg/admission: migrate to structured logs
2021-01-26 16:35:40 +08:00
navist2020
079529c5d8
Misspelling of the variable name
2021-01-26 15:45:45 +08:00
Jiawei Wang
edf9e03660
Bug Fix for process_start_time_metric initialization
2021-01-25 17:30:34 -08:00
Kubernetes Prow Robot
3895b1e4a0
Merge pull request #98240 from cici37/addReviewer
...
Add cici37 to controller-manager OWNERS as reviewer.
2021-01-25 14:15:21 -08:00
Kubernetes Prow Robot
927042c2cf
Merge pull request #96920 from bl-ue/fix-typo-112720-01
...
Fix typo in kubectl/.../attach_test.go
2021-01-25 14:15:00 -08:00
Kubernetes Prow Robot
23303dd086
Merge pull request #98197 from thockin/makefile-unused-variables-watning
...
Make it possible to build with `make --warn-undefined-variables`
2021-01-25 12:39:11 -08:00
Kubernetes Prow Robot
f4250198ea
Merge pull request #98355 from MikeSpreitzer/smaller-sharding-test
...
Less demanding test cases in TestUniformDistribution
2021-01-25 11:43:12 -08:00
Tim Hockin
876c9f0d8c
Rename _examples to examples
...
The alternative to this would be to special-case code-generator. Since
it legit wants codegen, it seems wrong to make it be _examples (which tools
should ignore).
Make examples an "internal module" so the main go.mod for
k8s.io/code-generator does not get too polluted.
2021-01-25 10:20:46 -08:00
Kubernetes Prow Robot
f5bb2c19b9
Merge pull request #97882 from ialidzhikov/staticcheck/x509
...
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/authentication/request/x509
2021-01-25 09:26:54 -08:00
Kubernetes Prow Robot
b7fc3f91ea
Merge pull request #98312 from deads2k/finish-export-option-removal
...
finish removal of exportoptions
2021-01-25 08:15:15 -08:00
Kubernetes Prow Robot
2df1c6a0fa
Merge pull request #92065 from pohly/podinfo-doc-fix
...
storage: document csi.storage.k8s.io/ephemeral also for internal type
2021-01-25 08:14:54 -08:00
David Eads
cebce291dd
Update delegated authorization options default to eliminate unnecessary
...
SARs
healthz, readyz, and livez are canonical names for checks that the kubelet does. By default, allow access to them in the options. Callers can adjust the defaults if they have a reason to require checks.
system:masters has full power, so the authorization check is unnecessary and just uses an extra call for in-cluster access. Callers can adjust the defaults if they have a reason to require checks.
2021-01-25 09:42:18 -05:00
Mike Spreitzer
1f1e8e21d8
Less demanding test cases in TestUniformDistribution
...
Also a bug fix in the evaluation.
2021-01-25 01:44:08 -05:00
Mike Spreitzer
736a87a4ee
Tweak up TestSampler in response to review
2021-01-24 23:38:48 -05:00
drfish
a8c5aa47fc
Remove legacy prometheus visibility package_group
2021-01-25 00:19:29 +08:00
Kubernetes Prow Robot
308aa1a87a
Merge pull request #98273 from wenjiaswe/patch-2
...
Remove unused expectedRV in store_test TestGet
2021-01-23 06:39:39 -08:00
Kubernetes Prow Robot
194e5193c4
Merge pull request #97877 from andyzhangx/azurefile-migration-fix
...
fix azure file migration issue
2021-01-22 18:21:39 -08:00
Andrea Tosatto
8de53ce96c
client-go: export NewDebuggingRoundTripper function and DebugLevel
...
`debuggingRoundTripper` is a useful throbleshooting tool to debug of Kubernetes API requests and their timing.
Unfortunately, as of today, it can only be used via the `DebugWrappers` function, which automatically adjust the amount of debug information exposed by the roundTripper based on the configured `klog` verbosity.
While `DebugWrappers` definitely fits the purpose for clients using `klog`, this is currently hard to be used for controllers using `controller-runtime`, which uses `github.com/go-logr/logr` for logging.
In this PR we change the visibility of `newDebuggingRoundTripper` and `debugLevel` in order to be directly accessible from users of the `k8s.io/client-go/transport` package.
In particular, the changes proposed in this PR allow users of `controller-runtime` to use the `debuggingRoundTripper` to intercept Kubernetes API requests as follows
```go
import (
ctrl "sigs.k8s.io/controller-runtime"
)
func init() {
ctrl.SetLogger(zap.New())
}
func main() {
// wrap the http transport used by the Kubernetes client
restConfig, err := ctrl.GetConfig()
checkError(setupLog, err, "unable to get kubernetes client config")
restConfig.Wrap(func(rt http.RoundTripper) http.RoundTripper {
return transport.NewDebuggingRoundTripper(rt, transport.DebugJustURL)
})
...
}
```
2021-01-22 21:27:48 +01:00
David Eads
3f0f38e96d
generated
2021-01-22 13:47:31 -05:00
David Eads
dabcd852d3
remove ExportOptions
2021-01-22 13:47:31 -05:00
David Eads
37cc89ed8d
finish removal of exportoptions
2021-01-22 13:47:31 -05:00
andyzhangx
1df2fcf8d4
fix azure file migration issue
...
refactor
fix comments
fix annoation nil map
add ut
2021-01-22 09:00:55 +00:00
Kubernetes Prow Robot
661eae7c7c
Merge pull request #97814 from deads2k/podlogs-metrics
...
add metrics for insecure backend proxy
2021-01-21 13:27:00 -08:00
Kubernetes Prow Robot
2efd293658
Merge pull request #97078 from srm09/add-context-to-cordon-update
...
Passes a context to the drain helper object
2021-01-21 12:01:03 -08:00
Wenjia
f8f36c6727
Remove unused expectedRV in store_test TestGet
...
expectedRV is defined in tests struct but not set in test cases, removing the unnecessary checking
2021-01-21 11:27:57 -08:00
Kubernetes Prow Robot
44f8fcfe94
Merge pull request #97688 from pandaamanda/kubectl_proxy_example_format
...
cleanup: fix the format of kubectl proxy examples
2021-01-21 11:09:02 -08:00
Kubernetes Prow Robot
055e8edfae
Merge pull request #98111 from pandaamanda/remove_kubectl_alpha_debug
...
Remove kubectl alpha debug command in 1.21
2021-01-21 09:57:48 -08:00
Kubernetes Prow Robot
7eef3ed8c7
Merge pull request #98003 from lauchokyip/fixlint2
...
Fix golint errors for k8s.io/cli-runtime/pkg/genericclioptions/
2021-01-21 09:57:40 -08:00
Kubernetes Prow Robot
6040a06a2e
Merge pull request #97841 from feranwq/patch-92402-2
...
fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck
2021-01-21 09:57:27 -08:00
Kubernetes Prow Robot
ded5726227
Merge pull request #97523 from pandaamanda/kubectl_alpha
...
code cleanup for kubectl alpha -h
2021-01-21 08:25:14 -08:00
Kubernetes Prow Robot
c2ac8c360e
Merge pull request #96812 from bboreham/comment-grace
...
Comment default behaviour of kubectl drain.GracePeriodSeconds
2021-01-21 08:25:02 -08:00
Kubernetes Prow Robot
5856883274
Merge pull request #98252 from lala123912/log_format_audit
...
staging/src/k8s.io/apiserver/pkg/audit/policy/reader.go: migrate logs to structured logging
2021-01-21 02:05:01 -08:00
Kubernetes Prow Robot
9d99dbc357
Merge pull request #95664 from DirectXMan12/bug/non-racy-recorder-shutdown
...
Don't spawn a goroutine for every event recording
2021-01-20 21:25:00 -08:00
lala123912
eb8f8368bc
staging/src/k8s.io/apiserver/pkg/audit/policy/reader.go migrate logs to structured logging
2021-01-21 11:43:30 +08:00
Kubernetes Prow Robot
49e7fed73f
Merge pull request #97923 from jpbetz/patch-2
...
Add jpbetz to controller-manager OWNERS as reviewer
2021-01-20 17:01:00 -08:00
cici37
094885ec74
Add cici37 to controller-manager OWNERS as reviewer.
2021-01-20 12:48:50 -08:00