Ted Yu
2374f9ad7c
Propagate error from NewEtcd
2019-08-14 16:46:23 -07:00
matte21
1371490bd6
Lowercase first letter of chainable errors in PVC protection controller
...
Lowercase first letter of error messages that are not printed right
away to ease chaining with other error messages in PVC protection
controller.
2019-08-15 00:46:02 +02:00
matte21
791d1c81f0
Add live list of pods to PVC protection controller
...
Add live list of pods to PVC protection controller, as opposed to doing
only a cache-based list through the Informer. Both lists are performed
while processing a PVC with deletionTimestamp set to check whether Pods
using the PVC exist and remove the finalizer to enable deletion of the
PVC if that's not the case. Prior to this commit only the cache-based
list was done but that's unreliable because a pod using the PVC might
exist but not be in the cache just yet. On the other hand, the live
list is 100% reliable.
Note that it would be enough to do only the live list. Instead, this
commit adds it after the cache-based list and performs it only if the
latter finds no Pod blocking deletion of the PVC being processed. The
rationale is that live lists are expensive and it's desirable to
minimize them. The drawback is that if at the time of the cache-based
list the cache has not been notified yet of the deletion of a Pod using
the PVC the PVC is kept. Correctness is not compromised because the
finalizer will be removed when the Pod deletion notification is
received, but this means PVC deletion is delayed. Reducing live lists
was valued more than deleting PVCs slightly faster.
Also, add a unit test that fails without the change introduced by this
commit and revamp old unit tests. The latter is needed because expected
behavior is described in terms of API calls the controller makes, and
this commit introduces new API calls (the live lists).
2019-08-15 00:46:02 +02:00
Joe Betz
4f7543e42a
Upgrade AdmissionReview e2e test image to also support v1
2019-08-14 14:57:55 -07:00
Kubernetes Prow Robot
d5bdb7796a
Merge pull request #81386 from neolit123/1.17-kubeadm-etcd-map
...
kubeadm: add v1.17 to the list versions that map to etcd version
2019-08-14 12:46:51 -07:00
Kubernetes Prow Robot
12f1898e51
Merge pull request #81328 from hex108/fix_permit_plugin
...
Fix flaky test TestPreemptWithPermitPlugin
2019-08-14 12:46:38 -07:00
Kubernetes Prow Robot
4ac9701370
Merge pull request #81309 from andrewsykim/ipvs-test-delete-with-realserver
...
proxy/ipvs: test cleanLegacyService with real servers
2019-08-14 12:46:24 -07:00
Kubernetes Prow Robot
95a5781b9d
Merge pull request #81304 from j-griffith/update_hostpathplugin_to_rc4
...
Update CSI hostpathplugin to include cloning fix
2019-08-14 12:46:11 -07:00
Kubernetes Prow Robot
9ac0470a31
Merge pull request #81240 from jpbetz/crd-base-operations-conformance
...
Add CRD e2e tests for untested stable operations
2019-08-14 12:45:57 -07:00
Yang Lu
9d68d44e1f
Add instruction for "Application Default Credentials"
2019-08-14 10:27:58 -07:00
aaa
40bf494e3f
fix shellcheck failures in hack/test-integration.sh and hack/verify-test-featuregates.sh
2019-08-14 13:07:46 -04:00
Joe Betz
3121773af7
Add admission e2e tests for untested stable operations
2019-08-14 09:54:49 -07:00
Kubernetes Prow Robot
f6a70ef271
Merge pull request #80376 from ehashman/issue-66790-2
...
Drop deprecated cadvisor metric labels
2019-08-14 09:10:38 -07:00
Kubernetes Prow Robot
a9bc3c0ab8
Merge pull request #79587 from yue9944882/bugfix/tighten-primitive-json-schema-type-validation
...
DO NOT publish openapi specs containing bad types
2019-08-14 09:10:25 -07:00
Kubernetes Prow Robot
a7c81c663d
Merge pull request #78775 from johscheuer/fix-kube-proxy-cleanup-error
...
Check if options returning an error
2019-08-14 07:26:26 -07:00
AllenZMC
d266b79a39
fix some typos in testing.go
2019-08-14 20:53:24 +08:00
Janek Łukaszewicz
e52110edcd
kube-proxy: do not export network programming latency for deleted enpoints.
2019-08-14 14:00:07 +02:00
draveness
d3cc73965a
feat: use schedulerapi.MaxPriority instead of hard-coded int
2019-08-14 19:16:41 +08:00
draveness
9fb0df5096
feat(scheduler): return error when score is out of range
2019-08-14 19:16:41 +08:00
Kubernetes Prow Robot
34791349d6
Merge pull request #81387 from logicalhan/go-grpc-prom
...
bump go-grpc-prometheus to v1.2.0
2019-08-14 03:29:05 -07:00
Kubernetes Prow Robot
8d925c7510
Merge pull request #81335 from carlory/fix
...
add missing import required by build scripts
2019-08-14 03:28:52 -07:00
Kubernetes Prow Robot
d23b2c7d83
Merge pull request #81215 from zouyee/iscsi
...
remove iSCSI volume storage cleartext secrets in logs
2019-08-14 03:28:38 -07:00
Kubernetes Prow Robot
1906650d92
Merge pull request #80901 from draveness/feature/use-map-instead-of-array
...
feat: use named array instead of array in normalizing score
2019-08-14 03:28:25 -07:00
Haowei Cai
1ec8746c3a
do not publish openapi for a schema containing bad types
...
minor rewords & refactor
run script: update misc
remove null from supported types
2019-08-14 17:49:20 +08:00
Kubernetes Prow Robot
2ad2795136
Merge pull request #79641 from yqwang-ms/yqwang/fix-ds-crash
...
Fix default scheduler crash if scheduler extender filter returns a not found node
2019-08-14 02:08:37 -07:00
Kubernetes Prow Robot
01667422c7
Merge pull request #76365 from yanghaichao12/dev0410
...
omit unused receiver name
2019-08-14 02:08:24 -07:00
Kubernetes Prow Robot
1f6cb3cb9d
Merge pull request #81394 from cblecker/golang-deps
...
Update golang/x/net dependency
2019-08-14 00:40:52 -07:00
Kubernetes Prow Robot
5dad5c726f
Merge pull request #81341 from mgdevstack/unflake-service-reach
...
Add service reachability polling to avoid flakiness
2019-08-14 00:40:39 -07:00
Kubernetes Prow Robot
e258fd741e
Merge pull request #81287 from nikhita/publishing-bot-16-branches
...
publishing: add rules for 1.16 and remove for 1.12
2019-08-14 00:40:25 -07:00
Joe Betz
472555152c
Add CRD e2e tests for list, delete collection, and status sub-resource operations
2019-08-13 23:08:11 -07:00
Johannes M. Scheuermann
352564714a
Handle error correctly in kubee-proxy command
...
Signed-off-by: Johannes M. Scheuermann <joh.scheuer@gmail.com>
2019-08-14 07:41:09 +02:00
Christoph Blecker
f713ec89ed
Fix malformed port in vsphere cloud provider test
...
The port name previously didn't matter on these tests, but is now
actively being checked in go1.12.8 and higher.
3226f2d492
2019-08-13 21:50:36 -07:00
Kubernetes Prow Robot
a520302fb4
Merge pull request #81331 from tariq1890/tst_typo
...
[k8s.io/client-go]fix typo in eventseries_test.go method
2019-08-13 21:39:02 -07:00
Kubernetes Prow Robot
4441f1d9c3
Merge pull request #81330 from tedyu/hide-auth-hdr
...
Hide bearer token in logs
2019-08-13 21:38:49 -07:00
Kubernetes Prow Robot
15e4cf4c79
Merge pull request #76472 from yanghaichao12/dev0412
...
make consistent receiver name
2019-08-13 21:38:36 -07:00
Kubernetes Prow Robot
e084c281ac
Merge pull request #72771 from yanghaichao12/proxy0110
...
add a test case for HostnameOverride
2019-08-13 21:38:23 -07:00
Kevin Klues
b3f4bed97f
Add CPUManager tests for TopologyHint consumption
2019-08-14 06:22:56 +02:00
Kevin Klues
8278d1134c
Consume TopologyHints in the CPUManager
...
Co-Authored-By: Conor Nolan <conor.nolan@intel.com>
2019-08-14 06:22:56 +02:00
Sreemanti Ghosh
7c626a2a00
Add CPUManager tests for TopologyHint generation
...
Co-Authored-By: Conor Nolan <conor.nolan@intel.com>
Co-Authored-By: Kevin Klues <kklues@nvidia.com>
2019-08-14 06:22:56 +02:00
Kevin Klues
156b3f6af8
Generate TopologyHints from the CPUManager
2019-08-14 06:22:56 +02:00
Kevin Klues
9a6788cb13
Add IterateSocketMasks() function to socketmask abstraction
2019-08-14 06:22:56 +02:00
Christoph Blecker
12dbfcbdf3
Fix up failing boilerplate test
2019-08-13 20:21:11 -07:00
Christoph Blecker
f2a4522be1
Update to go 1.12.8
2019-08-13 20:20:45 -07:00
levimm
d95296e5a0
fix azure load balancer update dns label issue
2019-08-14 10:59:23 +08:00
Yuqi Wang
5927ec4f8b
Fix default scheduler crash if scheduler extender filter returns a not found node
2019-08-14 10:38:42 +08:00
Kubernetes Prow Robot
8c7244ac12
Merge pull request #81312 from andrewsykim/ipvs-remove-const
...
proxy/ipvs: remove unused constant rsGracefulDeletePeriod
2019-08-13 19:37:16 -07:00
Kubernetes Prow Robot
3787db3a5b
Merge pull request #81307 from logicalhan/comp-base-metrics
...
add logicalhan as approver on component-base/metrics
2019-08-13 19:37:02 -07:00
Kubernetes Prow Robot
3f0a486cbf
Merge pull request #81244 from liggitt/crd_startup_503
...
Return 503 for custom resource requests during server start
2019-08-13 19:36:49 -07:00
Kubernetes Prow Robot
77c9e98198
Merge pull request #81199 from liggitt/narrow-aggregation-permissions
...
Use the escalate verb for clusterroleaggregator rather than cluster-admin permissions
2019-08-13 19:36:37 -07:00
Kubernetes Prow Robot
1e82e1ca1f
Merge pull request #81099 from oomichi/remove-golint-e2e-framework
...
Rename MetricsForE2E for golint failure
2019-08-13 19:36:24 -07:00