Commit Graph

12252 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a3a3d4ae14 Merge pull request #98944 from dims/prevent-race-condition-with-bytes-buffer-in-vsphere-unit-tests
Prevent race condition with bytes buffer in vsphere unit tests
2021-02-10 16:56:32 -08:00
Kubernetes Prow Robot
0d598baa4a Merge pull request #98641 from Jeffwan/update_links
Fix ALPHA stability level reference link
2021-02-10 13:42:15 -08:00
Kishor Joshi
f48972e671 additional subnet configuration for AWS ELB (#97431)
* support subnets without cluster tag for auto-discovery
* add support for manual subnet configuration via service annotation
2021-02-10 07:18:59 -08:00
Davanum Srinivas
ad2174f519 prevent race condition with bytes.Buffer in vsphere unit tests
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-02-10 08:42:27 -05:00
Kubernetes Prow Robot
2289b02ea3 Merge pull request #98779 from freehan/nodesync-metrics
add metrics to nodeSyncLoop in service controller
2021-02-09 17:43:20 -08:00
Kubernetes Prow Robot
c07e7f8974 Merge pull request #98246 from YoyinZyc/add_context_to_apiserver
Apply request context to metrics in apiserver.
2021-02-09 17:43:13 -08:00
Minhan Xia
7250083a1e add metrics to nodeSyncLoop in service controller 2021-02-09 14:51:25 -08:00
Kubernetes Prow Robot
93d288e2a4 Merge pull request #98889 from jkaniuk/leaderelection-simplify
Simplify leader election code
2021-02-09 07:50:49 -08:00
Kubernetes Prow Robot
a01bc2ba89 Merge pull request #97513 from fenggw-fnst/work
Fix typo in comment
2021-02-09 04:50:58 -08:00
Kubernetes Prow Robot
943e67c01f Merge pull request #95479 from mgjeong/feature-memory-manager-working
Memory manager
2021-02-09 03:40:56 -08:00
Kubernetes Prow Robot
2b7c61b1bb Merge pull request #98205 from pacoxu/build/pauses
update pause image to 3.4.1 and also update the change log
2021-02-08 18:20:58 -08:00
Artyom Lukianov
932134034c memory manager: update API constant to have camel case format
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:02 +02:00
Artyom Lukianov
7561a0f96e memory manager: provide new flag var to parse reserved-memory parameter
The new flag will parse the `--reserved-memory` flag straight forward
to the []kubeletconfig.MemoryReservation variable instead of parsing
it to the middle map representation.

It gives us possibility to get rid of a lot of unneeded code and use the single
presentation for the reserved-memory.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:01 +02:00
Artyom Lukianov
b7cfc40deb memory manager: update kubelet config API
Update kubelet config API to use slice of MemoryReservation
structs instead of slice of maps.

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:01 +02:00
Artyom Lukianov
24be74e759 memory manager: update bazel files
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:09:59 +02:00
Cezary Zukowski
4a64102918 memory manager: validate reserved-memory against Node Allocatable
Reserved memory of all kinds (and over all
NUMA nodes) must be equal to the values determined
by Node Allocatable feature.

Signed-off-by: Cezary Zukowski <c.zukowski@samsung.com>
2021-02-09 00:54:58 +02:00
Artyom Lukianov
93accb51e4 memory manager: add memory manager flag under kubelet options and kubelet config
The commit also includes generated files after `make generated_files`.

Signed-off-by: Byonggon Chun <bg.chun@samsung.com>
2021-02-09 00:54:58 +02:00
Artyom Lukianov
b95d45e803 memory manager: add new flag type BracketSeparatedSliceMapStringString
Add BracketSeparatedSliceMapStringString to parse config like the below
{numa-node=0,type=memory,limit=1Gi},{numa-node=1,type=memory,limit=1Gi}

Signed-off-by: Byonggon Chun <bg.chun@samsung.com>
2021-02-09 00:54:58 +02:00
Jacek Kaniuk
c891207ab7 Simplify leader election code 2021-02-08 19:39:42 +01:00
Kubernetes Prow Robot
3534e31ade Merge pull request #98834 from cpanato/go1158
[go1.15] Update to go1.15.8
2021-02-06 15:35:11 -08:00
Carlos Panato
06740b1848 [go1.15] staging/publishing: Set default go version to go1.15.8 2021-02-06 15:56:05 +01:00
Kubernetes Prow Robot
96a98e50af Merge pull request #98790 from jkh52/master
Bump konnectivity-client to v0.0.15
2021-02-05 16:33:11 -08:00
Kubernetes Prow Robot
a821a4e13f Merge pull request #98724 from deads2k/prove-overrideability
add test to ensure that user can clear alwaysallowpaths
2021-02-05 14:06:30 -08:00
CaiyuhangC
6990d75625 Remove the dependency between create namespace command and generators (#96556)
* Remove the dependency between create namespace command and generators

* Update create_namespace.go

format the file

rename "kruntime" package to "runtime"

remove the reliance of generators

replace dynamic client with typed client

rename "options" to "o" in "NewNamespaceOptions" fun for better reading and comparison with other create cmd

remove Namespace and EnforceNamespace from NamespaceOptions

remove Mapper from NamespaceOptions

refactory the "Run" fun

refactory the "Run" fun

Update create_namespace.go and create_namespace_test.go

* Update create_namespace.go and create_namespace_test.go

* fix createNamespace function

* fix createNamespace function

* fix createNamespace function

* remove the wrong comment in NamespaceOptions

* add validate operation for cobra.Command

* add some unit tests

* add some unit tests

* remove the call of Validate() from createNamespace() and update return type of createNamespace()

* update test suite for the new createNamespace()
2021-02-05 08:44:52 -08:00
pacoxu
0c152cbbbe update pause to 3.4.1 for tests(e2e)
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-05 21:32:53 +08:00
Kubernetes Prow Robot
2b90d509b5 Merge pull request #98524 from chymy/comp-base-flag-0128
Fix unified flag in --logging-format description
2021-02-05 03:38:51 -08:00
Kubernetes Prow Robot
c5759ab86d Merge pull request #98787 from smarterclayton/pass_zones
test/e2e: Allow zones to be passed to e2e cloud provider
2021-02-04 19:44:51 -08:00
Joseph Anttila Hall
6499d4a730 Bump konnectivity-client to v0.0.15
$ ./hack/pin-dependency.sh \
  sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15
$ ./hack/update-vendor.sh
2021-02-04 19:42:20 -08:00
Clayton Coleman
9830cc911f test/e2e: Allow zones to be passed to e2e cloud provider
Instead of allowing the cloud provider to guess at the zones that
should be applied for a cluster under test, allow the explicit list
of zones to consider to be passed as a new test context flag -gce-zones.

Only the GCE test cloud provider recognizes this value because only
the GCE test cloud provider makes assumptions about zones for verifying
values, and the default assumptions for GKE do not always match non-GKE
providers.
2021-02-04 21:53:54 -05:00
Kubernetes Prow Robot
861ef46f64 Merge pull request #98747 from lauchokyip/fixtypo
Fixed typo in create_priorityclass
2021-02-04 15:55:25 -08:00
Kubernetes Prow Robot
6031faee4b Merge pull request #98464 from chymy/kctl-topnode-20210127
Remove heapster flag in 'kubectl top'
2021-02-04 15:55:06 -08:00
Kubernetes Prow Robot
81d8ccfa8e Merge pull request #97224 from tanjing2020/fix_SA2002
fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints
2021-02-04 13:23:03 -08:00
Kubernetes Prow Robot
7bbffd1126 Merge pull request #96911 from munnerz/fix-typo-admission-chain
Fix typo in API docs for sideEffects field on admission webhook resources
2021-02-04 13:22:52 -08:00
Chok Yip Lau
2edbea60a5 Fixed typo in create_priorityclass 2021-02-03 21:46:10 -05:00
Kubernetes Prow Robot
429eaca536 Merge pull request #98700 from Jiawei0227/update_label
Update gce-pd volume topology label to GA
2021-02-03 16:42:28 -08:00
Kubernetes Prow Robot
aad16fd4cc Merge pull request #98737 from liggitt/nytimes-license
Update github.com/NYTimes/gziphandler
2021-02-03 15:16:28 -08:00
Jordan Liggitt
4e7a9e5bcc Update github.com/NYTimes/gziphandler 2021-02-03 16:57:36 -05:00
Kubernetes Prow Robot
af8594ff99 Merge pull request #97408 from KnicKnic/kubectl_wait
kubectl wait ensures observedGeneration >= generation
2021-02-03 12:42:28 -08:00
David Eads
e86aa3ed23 add test to ensure that user can clear alwaysallowpaths 2021-02-03 09:41:39 -05:00
Kubernetes Prow Robot
074a517720 Merge pull request #98706 from roycaihw/flake/storage-version-integration-healthz
storage version integration test: check the test server's health before running
2021-02-02 21:32:28 -08:00
Jiawei Wang
e76f60d2b8 Update gce-pd volume topology label to GA 2021-02-02 19:13:57 -08:00
Haowei Cai
dc047b183b storage version integration test: check the test server's health before running
we disabled the /healthz check because our test blocks one post-start
hook from finishing. Instead we should check all the other /healthz/...
endpoints before running the tests
2021-02-02 18:31:53 -08:00
Kubernetes Prow Robot
edd4576510 Merge pull request #98671 from liggitt/kubeconfig-env
Isolate TestModifyContext from $KUBECONFIG
2021-02-02 16:14:28 -08:00
Kubernetes Prow Robot
27104f1595 Merge pull request #98324 from atosatto/export-debug-roundripper
client-go: export NewDebuggingRoundTripper function and DebugLevel
2021-02-02 14:06:41 -08:00
Kubernetes Prow Robot
e26570a96e Merge pull request #98203 from yuzhiquan/feature-drain-ignore-error
Add ignore-errors flag for drain
2021-02-02 14:06:28 -08:00
Kubernetes Prow Robot
548ad1b8d3 Merge pull request #98694 from liggitt/crd-apply-speed
Speed up CRD apply/openapi unit tests
2021-02-02 13:16:38 -08:00
Kubernetes Prow Robot
d2659101bf Merge pull request #98325 from deads2k/update-default-authorizer
Update delegated authorization options default to eliminate unnecessary SARs
2021-02-02 11:38:28 -08:00
Kubernetes Prow Robot
2dc0176dff Merge pull request #98693 from adtac/flowcontrolut
flowcontrol: make TestConfigConsumer less time-consuming
2021-02-02 10:46:43 -08:00
Kubernetes Prow Robot
4d3ed163a0 Merge pull request #98477 from palnabarun/update-gogo/protobuf
Update gogo/protobuf to v1.3.2
2021-02-02 09:56:28 -08:00
Kubernetes Prow Robot
34f138ff83 Merge pull request #97823 from Jiawei0227/translation-lib
Preparation for Topology migration to GA for CSI migration
2021-02-02 08:48:28 -08:00