Patrick Ohly
24f5764787
pv controller test: more test cases
...
The main goal was to cover retrieval of a PVC from the apiserver when
it isn't known yet. This is achieved by adding PVCs and (for the sake
of completeness) PVs to the reactor, but not the controller, when a
special annotation is set. The approach with a special annotation was
chosen because it doesn't affect other tests.
The other test cases were added while checking the existing tests
because (at least at first glance) the situations seemed to be not
covered.
2020-10-28 10:52:11 +01:00
Patrick Ohly
22f81e9e0b
pv controller test: use sub tests
...
This makes it possible to run individual tests.
2020-10-28 10:39:59 +01:00
Patrick Ohly
06f934ea1f
pv controller test: enable klog output
...
This makes it possible to run tests with -v=5 and thus actually get
some output.
2020-10-28 10:39:10 +01:00
Patrick Ohly
5686664a1d
PV controller: don't delete PVs when PVC is not known yet
...
Normally, the PV controller knows about the PVC that triggers the
creation of a PV before it sees the PV, because the PV controller must
set the volume.beta.kubernetes.io/storage-provisioner annotation that
tells an external provisioner to create the PV.
When restarting, the PV controller first syncs its caches, so that
case is also covered.
However, the creator of a PVC might decided to set that annotation
itself to speed up volume creation. While unusual, it's not forbidden
and thus part of the external Kubernetes API. Whether it makes sense
depends on the intentions of the user.
When that is done and there is heavy load, an external provisioner
might see the PVC and create a PV before the PV controller sees the
PVC. If the PV controller then encounters the PV before the PVC, it
incorrectly concludes that the PV needs to be deleted instead of being
bound.
The same issue occurred earlier for external binding and the existing
code for looking up a PVC in the cache or in the apiserver solves the
issue also for volume provisioning, it just needs to be enabled also
for PVs without the pv.kubernetes.io/bound-by-controller annotation.
2020-10-27 11:26:58 +01:00
Kubernetes Prow Robot
1c6057b59c
Merge pull request #94605 from yttan/lint
...
fix golint failures for staging/src/k8s.io/client-go/examples/workqueue
2020-09-08 21:35:52 -07:00
Kubernetes Prow Robot
a42dde2e97
Merge pull request #91568 from ialidzhikov/enh/cpva
...
Update Calico cpva to v0.8.3
2020-09-08 19:17:52 -07:00
Kubernetes Prow Robot
3cf80090f0
Merge pull request #93044 from Huang-Wei/rm-sched-podInformer
...
Initialize scheduler's podInformer in sharedInformerFactory
2020-09-08 17:49:52 -07:00
Kubernetes Prow Robot
5e95af8c7d
Merge pull request #93087 from roycaihw/storage-version/move-types
...
Move the StorageVersions types to kube-apiserver
2020-09-08 16:33:52 -07:00
Kubernetes Prow Robot
8ba20a8b43
Merge pull request #94629 from dims/sort-list-of-formats-for-logging-format-description
...
Sort list of formats for --logging-format description to make it deterministic
2020-09-08 15:05:52 -07:00
Haowei Cai
769f057004
generated
2020-09-08 14:34:55 -07:00
Haowei Cai
d7ff169552
fix import paths
2020-09-08 14:34:55 -07:00
Haowei Cai
b71252a0ab
add internal.apiserver.k8s.io/v1alpha1 to known gvs
2020-09-08 14:34:55 -07:00
Haowei Cai
096f32d1b3
update doc.go and register.go
2020-09-08 14:34:55 -07:00
Haowei Cai
1f4a4e9040
move apiserverinternal types to kube-apiserver
...
move versioned types to k8s.io/api;
cleanup generated files
2020-09-08 14:34:55 -07:00
Wei Huang
d8def59871
Initialize scheduler's podInformer in sharedInformerFactory
...
Scheduler's specific podInfomer is now initialized inside the sahredInformerFactory.
2020-09-08 12:57:17 -07:00
Kubernetes Prow Robot
6c824ec976
Merge pull request #94623 from answer1991/disable-goaway-ut
...
Skip TestClientReceivedGOAWAY
2020-09-08 12:30:12 -07:00
Kubernetes Prow Robot
48e268d6bf
Merge pull request #94616 from dims/add-justaugustus-for-staging/publishing
...
Add Stephen Augustus as Reviewer for staging/publishing
2020-09-08 12:30:03 -07:00
Kubernetes Prow Robot
8728450be1
Merge pull request #94179 from ddymko/golint-fix-azuredd
...
fix golint for pkg/volume/azure_dd
2020-09-08 12:29:53 -07:00
Davanum Srinivas
fdbb32884e
Sort list of formats for --logging-format description to make it deterministic
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-09-08 15:22:08 -04:00
Kubernetes Prow Robot
4c1caeb3ab
Merge pull request #94610 from soltysh/94112_followup
...
Remove pkg/api/endpoints
2020-09-08 11:29:16 -07:00
Kubernetes Prow Robot
25a7ae15c0
Merge pull request #94401 from andrewsykim/add-myself-node-reviewers
...
add myself to sig-node-reviewers
2020-09-08 11:29:02 -07:00
Kubernetes Prow Robot
7d4fb9dc2b
Merge pull request #94614 from sttts/sttts-fix-non-unique-test-env-var
...
e2e: fix deployment non-unique env vars to avoid SSA error
2020-09-08 09:43:43 -07:00
chenjun.cj
3a4ae287d4
skip TestClientReceivedGOAWAY
2020-09-09 00:26:24 +08:00
Kubernetes Prow Robot
3fc1bc76a9
Merge pull request #94481 from wojtek-t/fix_custom_metrics
...
Cleanup custom metrics conversion functions
2020-09-08 07:33:57 -07:00
Kubernetes Prow Robot
92042fe6ea
Merge pull request #72671 from yanghaichao12/dev0108
...
validate KubeletCgroups and KubeReservedCgroup
2020-09-08 07:33:43 -07:00
Kubernetes Prow Robot
44ecd80cf1
Merge pull request #91557 from chendave/cleanup
...
cleanup: remove useless methods
2020-09-08 06:27:44 -07:00
Davanum Srinivas
61ad35d27a
Add Stephen Augustus as Reviewer for staging/publishing
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-09-08 08:38:14 -04:00
Kubernetes Prow Robot
73375fbdac
Merge pull request #94552 from justaugustus/fix-go-runner-arch
...
build: Fix go-runner arch in server images
2020-09-08 04:54:21 -07:00
Kubernetes Prow Robot
d239cdfbc0
Merge pull request #94059 from ahg-g/ahg-anti-affinity
...
Track pods with required anti-affinity
2020-09-08 04:54:12 -07:00
Kubernetes Prow Robot
4847c69ced
Merge pull request #91442 from saschagrunert/seccomp-ga-e2e
...
Update seccomp e2e test for GA
2020-09-08 04:53:58 -07:00
Kubernetes Prow Robot
cfaa2c4b66
Merge pull request #88337 from mgugino-upstream-stage/drain-custom-filters
...
kubectl/drain add support for custom pod filters
2020-09-08 04:53:43 -07:00
Dr. Stefan Schimanski
aa04982471
e2e: fix deployment non-unique env vars to avoid SSA error
2020-09-08 13:45:32 +02:00
Maciej Szulik
ed9f4ac9fc
Remove pkg/api/endpoints
2020-09-08 10:59:33 +02:00
Kubernetes Prow Robot
ccbaec1793
Merge pull request #94236 from wangxy518/patch-3
...
Update CHANGELOG-1.18.md
2020-09-08 01:27:42 -07:00
yttan
d3db1ec12d
fix golint failures for staging/src/k8s.io/client-go/examples/workqueue
2020-09-08 15:02:40 +08:00
Kubernetes Prow Robot
4fd93ff852
Merge pull request #94114 from MarcPow/azure-provider-ip-tags
...
Azure Cloud Provider should support Service annotations that allow for ip-tag control over the public ips created for LoadBalancer Services
2020-09-07 20:59:42 -07:00
Kubernetes Prow Robot
6b388f0684
Merge pull request #94187 from chendave/avoid_apicall
...
Avoid the API call to update pod if nothing is changed
2020-09-07 15:01:44 -07:00
Kubernetes Prow Robot
62d46b8b8b
Merge pull request #94573 from siadat/double-pointer
...
Remove unnecessary double-pointer
2020-09-07 14:02:07 -07:00
Kubernetes Prow Robot
b837699f74
Merge pull request #94125 from soulxu/only_includes_all_nodes_for_preferred
...
Only process all nodes when incoming pod has no preferred affinity
2020-09-07 14:01:58 -07:00
Kubernetes Prow Robot
2481e88485
Merge pull request #93473 from Nordix/sched-fix-mael
...
Change nodeInfolist building logic in scheduler
2020-09-07 14:01:44 -07:00
Kubernetes Prow Robot
93eec92fe8
Merge pull request #94596 from mm4tt/log_dump_revert
...
Revert "fix cluster/log-dump/log-dump.sh shellcheck failures"
2020-09-07 10:09:42 -07:00
Matt Matejczyk
67f9d69eaf
Revert "fix cluster/log-dump/log-dump.sh shellcheck failures"
...
This reverts commit 742701622a
.
It broke log dumping, see https://github.com/kubernetes/kubernetes/pull/88349#issuecomment-688385378
2020-09-07 17:13:33 +02:00
Kubernetes Prow Robot
86cbfc3ca2
Merge pull request #94570 from knight42/fix/TestEventSeriesf
...
test(tools::events): deflake TestEventSeriesf
2020-09-07 07:11:41 -07:00
Kubernetes Prow Robot
b16070f3ce
Merge pull request #92643 from aojea/connDebug
...
conntrack e2e test debug connections
2020-09-07 05:03:42 -07:00
knight42
d9bff7b276
test(tools::events): deflake TestEventSeriesf
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-07 19:43:55 +08:00
Kubernetes Prow Robot
4e9bdd481e
Merge pull request #94471 from kshitijcode/kubelet-taint-fix-93608
...
Added support for register-with-taints setting #93608
2020-09-07 01:33:41 -07:00
Kubernetes Prow Robot
c06bc2f6e9
Merge pull request #94363 from mborsz/patch-13
...
Add WatchListPageSize to cache.Config
2020-09-07 00:13:41 -07:00
Kubernetes Prow Robot
2a8640b42a
Merge pull request #94386 from JornShen/cleanup_testutil_metrics
...
clean up testutil/metrics.go
2020-09-06 22:17:55 -07:00
Kubernetes Prow Robot
35e235bba7
Merge pull request #94297 from MarcPow/remove-service-annotation-disable-tcp-reset
...
Remove azure-load-balancer-disable-tcp-reset annotation
2020-09-06 22:17:41 -07:00
Kubernetes Prow Robot
01e9ddac80
Merge pull request #94265 from andyzhangx/only-update-data-disk
...
only update Azure data disks when attach/detach
2020-09-06 20:55:55 -07:00