Kubernetes Prow Robot
a0926b89a6
Merge pull request #97981 from lauchokyip/rmgen
...
Remove dependency of generators from create configmap
2021-01-20 12:09:13 -08:00
Jiawei Wang
f83df5d162
A complete new way
...
- Instead of using a remove/add way to deal with the
topology label, go directly with the replace topology
way so that we dont have to care all the corner case.
Also, since the translateTopologyFromCSIToInTree only
get called from csi-provisioner, there should not be
very odd PV object spec.
- Change the beheavior translateTopologyFromInTreeToCSI
so that it will replace zone label to CSI Topology label
and also replace any beta region label to GA label
2021-01-20 10:50:28 -08:00
Jiawei Wang
67fed317a1
Prepare for Topology migration to GA from CSI migration
...
This also includes a change on CSI migration TranslateCSIToInTree
where we remove the CSI topology and add Kubernetes Topology to
the NodeAffinity
2021-01-20 10:49:58 -08:00
Kubernetes Prow Robot
60146fd08c
Merge pull request #97953 from mborsz/deflog
...
Add trace to SerializeObject
2021-01-20 10:38:38 -08:00
Kubernetes Prow Robot
0d5a368dab
Merge pull request #97752 from borgerli/master
...
fix problem that NewReplicaSet shows <none> when describing deployments
2021-01-20 10:38:12 -08:00
Kubernetes Prow Robot
0140fd8fba
Merge pull request #97429 from sachinkumarsingh092/refactor-command-kubectl-create-pdb
...
Remove the dependency between create poddisruptionbudget and generators
2021-01-20 10:38:00 -08:00
Kubernetes Prow Robot
106bc7e50d
Merge pull request #97895 from lauchokyip/fixlog
...
Moving kubectl logs Long command into variable
2021-01-20 09:50:14 -08:00
Kubernetes Prow Robot
f02435ddda
Merge pull request #97492 from masap/expose1
...
Namespace has no effect when exposing deployment with --dry-run=client
2021-01-20 09:50:01 -08:00
Chok Yip Lau
838b189130
Remove dependency of generators from create configmap
2021-01-20 12:48:50 -05:00
Kubernetes Prow Robot
329e39e439
Merge pull request #98192 from sfrique/cleanup
...
Cleanup: Remove debug print
2021-01-20 08:46:25 -08:00
Kubernetes Prow Robot
ab21bdba89
Merge pull request #98158 from dougsland/kubectlExternalDiff
...
kubectl diff: update regex to allow equal sign
2021-01-20 08:46:12 -08:00
Kubernetes Prow Robot
6206f00aa7
Merge pull request #98110 from dougsland/krunImageName
...
kubectl: run - remove unneeded vars
2021-01-20 08:46:00 -08:00
Kubernetes Prow Robot
b99fc0bb3a
Merge pull request #98093 from lala123912/log_format
...
staging\src\k8s.io\apiserver\pkg\endpoints: migrate to structured logs
2021-01-20 06:31:59 -08:00
Kubernetes Prow Robot
28f713a19d
Merge pull request #98208 from mborsz/patch-14
...
Print queue lengths on watch termination
2021-01-20 05:19:58 -08:00
Kubernetes Prow Robot
17f040034a
Merge pull request #98196 from YoyinZyc/add_context_to_apiserver
...
Apply WithContext to metrics in apiserver admission webhook
2021-01-20 04:25:59 -08:00
Maciej Borsz
8f8beeabb7
Print queue lengths on watch termination
2021-01-20 09:32:00 +01:00
Kubernetes Prow Robot
ac0b0378df
Merge pull request #97635 from nilo19/bug/cherry-pick-443-448
...
Cherry pick 443 and 448 from cloud provider azure
2021-01-19 21:27:59 -08:00
lala123912
12076ff3e5
staging\src\k8s.io\apiserver\pkg\endpoints:migrate to structured logs
2021-01-20 10:32:25 +08:00
yoyinzyc
b3aeaa4ed7
add context to metrics in apiserver admission webhook
2021-01-19 13:38:38 -08:00
Kubernetes Prow Robot
8a8282044c
Merge pull request #97946 from dty1er/bug/describe_ns_indent
...
fix invalid indentation
2021-01-19 13:14:12 -08:00
Henrique Fernandes
32b8d5ae20
Remove debug print
2021-01-19 17:21:50 -03:00
Kubernetes Prow Robot
13d40acecc
Merge pull request #97800 from pandaamanda/kubectl_autoscale_completion
...
Fix statefulset absent of kubectl autoscale bash completions
2021-01-19 08:19:57 -08:00
Douglas Schilling Landgraf
722751accf
kubectl diff: update regex to allow equal param
...
When using GNU diffutils, some commands (e.g. --color[=WHEN])
requires an equal sign.
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com >
2021-01-18 23:22:36 -05:00
wzshiming
abf181ba48
Fix typo
2021-01-19 11:50:56 +08:00
Mike Spreitzer
42f8d4e28f
Added comment explaining the new unit test
2021-01-18 00:57:43 -05:00
xiongzhongliang
e650a8a38c
Remove kubectl alpha debug command in 1.21
2021-01-16 20:17:22 +08:00
Li Bo
a286455a3e
fix problem that NewReplicaSet shows <none> when describing deployments
2021-01-16 13:38:14 +08:00
Douglas Schilling Landgraf
ea017e53af
kubectl: run - remove unneeded vars
...
No need extra vars just for a single validation.
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com >
2021-01-15 21:03:27 -05:00
Kubernetes Prow Robot
8bf42039e6
Merge pull request #96552 from pandaamanda/klog_fmt
...
use klog.Info and klog.Warning when had no format
2021-01-15 17:57:43 -08:00
Kubernetes Prow Robot
5e9b43eab6
Merge pull request #96960 from Jefftree/defaulter-diff
...
Update defaulter gen to not use reflect
2021-01-15 17:07:44 -08:00
Solly Ross
e90e67bd00
Don't record events in goroutines
...
This changes the event recorder to use the equivalent of a select
statement instead of a goroutine to record events.
Previously, we used a goroutine to make event recording non-blocking.
Unfortunately, this writes to a channel, and during shutdown we then
race to write to a closed channel, panicing (caught by the error
handler, but still) and making the race detector unhappy.
Instead, we now use the select statement to make event emitting
non-blocking, and if we'd block, we just drop the event. We already
drop events if a particular sink is overloaded, so this just moves the
incoming event queue to match that behavior (and makes the incoming
event queue much longer).
This means that, if the user uses `Eventf` and friends correctly (i.e.
ensure they've returned by the time we call `Shutdown`), it's
now safe to call Shutdown. This matches the conventional go guidance on
channels: the writer should call close.
2021-01-15 14:58:56 -08:00
Kubernetes Prow Robot
a99ebca030
Merge pull request #97552 from aanm/pr/replace/buffer/with/strings
...
replace bytes.Buffer with strings.Builder
2021-01-15 14:49:56 -08:00
Kubernetes Prow Robot
b6958b2b1b
Merge pull request #97173 from YoyinZyc/add_context
...
Add context to metric interface in component-base/mertic
2021-01-15 12:05:51 -08:00
Kubernetes Prow Robot
294c352380
Merge pull request #98017 from lanzao/patch01
...
Fix golint issues in client/custom_metrics/scheme
2021-01-15 06:31:51 -08:00
Kubernetes Prow Robot
e1c1fd9edf
Merge pull request #97880 from justinsb/spelling
...
Fix spelling typos: scheduable -> schedulable
2021-01-15 03:43:51 -08:00
Kubernetes Prow Robot
083290d996
Merge pull request #97896 from brpratt/fix-external-name-doc
...
Add missing word to ServiceSpec doc
2021-01-14 23:03:51 -08:00
lanzao
a833a0321c
Fix golint issues in client/custom_metrics/scheme
2021-01-15 10:17:12 +08:00
Kubernetes Prow Robot
da26de3167
Merge pull request #97990 from AlexanderYastrebov/offset-97651
...
Uses offset instead of line number in JSONSyntaxError
2021-01-14 16:49:22 -08:00
Kubernetes Prow Robot
bb6d0e7175
Merge pull request #97361 from h4ghhh/leaderelect
...
Modify LeaderElectionConfiguration .ResourceNamespace comment
2021-01-14 15:11:22 -08:00
Alexander Yastrebov
4b422f9e4c
Uses offset instead of line number in JSONSyntaxError
2021-01-14 23:50:34 +01:00
David Eads
782a7a5426
add metrics for insecure backend proxy
2021-01-14 15:26:37 -05:00
Kubernetes Prow Robot
c98ccce62f
Merge pull request #96698 from wawa0210/fix-96697
...
Update help document address
2021-01-14 07:15:05 -08:00
Kubernetes Prow Robot
a16df75344
Merge pull request #98058 from jprzychodzen/le-comment
...
[Leader election] Add documentation to function
2021-01-14 02:45:02 -08:00
Jakub Przychodzeń
6cd0449015
[cloud-controller-manager] Lower timeout for leaderelection resourcelock
...
Migrate how resource lock and leader election config is generated to new way, hidding kubeClient. This also halfs kubeClient timeout, making it an useful value.
If timeout is equal to RenewDeadline and we hit client timeout on request, there will be no retry, as RenewDeadline part will cancel the context and lose leader election. So setting a timeout to value at least equal to RenewDeadline is pointless.
Setting it as half of RenewDeadline is a heuristic to resolve this missing retry problem without adding additional parameter
2021-01-14 11:33:58 +01:00
Nick Maliwacki
bca0ddeba0
add .status.observedGeneration tests & update names
2021-01-13 22:35:58 -08:00
Kubernetes Prow Robot
9d16b19484
Merge pull request #95135 from fisherxu/bump-nodereport
...
Bump NodeStatusReportFrequency default value to 5min in comment
2021-01-13 17:47:03 -08:00
Kubernetes Prow Robot
a3bf53a0a5
Merge pull request #97083 from knight42/feat/enable-spdy-ping
...
feat: enable SPDY pings on connections
2021-01-13 15:19:02 -08:00
Kubernetes Prow Robot
e059af6406
Merge pull request #98023 from tkashem/fix-test
...
fix apf controller unit test
2021-01-13 14:17:26 -08:00
Kubernetes Prow Robot
a28c802db7
Merge pull request #97538 from lingsamuel/requirement-return-field-error
...
make labels.NewRequirement returns aggregated field.ErrorList
2021-01-13 14:17:17 -08:00
Abu Kashem
f20c6cb2d9
fix apf controller unit test
...
- don't expose the internal states of the apf controller to the caller
- return a boolean, instead of the priority level states
2021-01-13 15:22:28 -05:00