Commit Graph

108353 Commits

Author SHA1 Message Date
Antonio Ojea
3a8edca2d8 e2e: services with evicted pods doesn't have endpoints 2022-05-27 06:43:03 +02:00
Antonio Ojea
ffdbce6291 e2e test for evicted pods 2022-05-27 06:43:03 +02:00
Antonio Ojea
aa35f6f160 endpoints controller: don't consider terminal endpoints
Terminal pods, whose phase its Failed or Succeeded, are guaranteed
to never regress and to be stopped, so their IPs never should
be published on the Endpoints.
2022-05-27 06:42:58 +02:00
Antonio Ojea
b905c2870b endpointslices: terminal pods doesn't receive enpoints 2022-05-27 06:42:52 +02:00
Antonio Ojea
d16d23e0c7 add pod util to verify pod is terminal
pods on phase succeeded or failed are guaranteed to have all containers
stopped and to not ever regress
2022-05-27 06:42:39 +02:00
Antonio Ojea
7397e60477 agnhost: bump version 2.39 2022-05-25 16:02:10 +02:00
Kubernetes Prow Robot
1290d6a4c0
Merge pull request #110212 from aojea/fix_agnhost_sigterm
agnhost: fix sigterm shutdown
2022-05-25 06:38:44 -07:00
Kubernetes Prow Robot
072148d339
Merge pull request #110194 from p0lyn0mial/hardens-test-aggregated-api-server
hardens TestAggregatedAPIServer
2022-05-25 04:58:45 -07:00
Antonio Ojea
2b822161f0 agnhost: fix sigterm shutdown 2022-05-25 12:50:23 +02:00
Lukasz Szaszkiewicz
c4e337c57c hardens TestAggregatedAPIServer
Since ClientCAs are provided by "client-ca::kube-system::extension-apiserver-authentication::client-ca-file" controller
we need to wait until it picks up the configmap (via a lister) before checking the CAs otherwise the response might contain an empty result.
2022-05-25 12:41:26 +02:00
Kubernetes Prow Robot
d5579bf778
Merge pull request #109424 from gkarthiks/master
Refactor kube-proxy internal naming for Service Port Name string
2022-05-24 18:42:43 -07:00
Kubernetes Release Robot
cc71683fda CHANGELOG: Update directory for v1.21.13 release 2022-05-25 00:32:11 +00:00
Kubernetes Prow Robot
e1d92980e3
Merge pull request #107419 from sanposhiho/non-need-e2e-queue-move
Delete non-need `AddUnschedulableIfNotPresent` calling in `TestCoreResourceEnqueue`
2022-05-24 17:06:43 -07:00
Kubernetes Prow Robot
f8c77fda0c
Merge pull request #110176 from deads2k/try-new-image
update to new level of agnhost
2022-05-24 14:27:25 -07:00
areller
a6943ad863
[fix] fix and refactor TestValidateStatefulSet and TestValidateStatefulSet test cases (#109809)
* restructure tests

restructure TestValidateStatefulSet and TestValidateStatefulSetUpdate to be an array and accept list of expected errors. in this commits, no tests were changed and expected errors are not filled yet

* add expected errors

adding expected errors and making the tests pass, without making any changes to the tests

* clean up TestValidateStatefulSet error cases

* clean up TestValidateStatefulSetUpdate cases

* validate new statefulset as part of update validation

* address PR comments
2022-05-24 11:55:24 -07:00
Kubernetes Prow Robot
114cdea709
Merge pull request #110079 from ash2k/dial-with-context
Always dial using a context
2022-05-24 08:52:17 -07:00
Kubernetes Prow Robot
1ad8613d5c
Merge pull request #109790 from p0lyn0mial/users-watchtools-informerwatcher
users of watchtools.NewIndexerInformerWatcher should wait for the informer to sync
2022-05-24 08:52:05 -07:00
David Eads
c1a891c661 update to the latest agnhost image 2022-05-24 11:12:37 -04:00
Kubernetes Prow Robot
78a4ba6af8
Merge pull request #110174 from deads2k/readyz-agnhost
add readyz handling to netexec
2022-05-24 07:26:18 -07:00
Kubernetes Prow Robot
c3d550d4e7
Merge pull request #110101 from MikeSpreitzer/rename-observers
Give apf metrics abstractions more familiar names
2022-05-24 07:26:06 -07:00
Kubernetes Prow Robot
97baaf100c
Merge pull request #109749 from p0lyn0mial/harden-test-suspend-job
hardens integration job tests
2022-05-24 05:56:06 -07:00
Lukasz Szaszkiewicz
59a5c1a6ea hardens integration job tests
the job controller used by the tests must wait for the caches to sync
since the tests don't check /readyz there is no way
the tests can tell it is safe to call the server and requests won't be rejected
2022-05-24 13:47:38 +02:00
Mike Spreitzer
a4c18fa7fc Rename observer.go to interface.go 2022-05-24 07:28:54 -04:00
Lukasz Szaszkiewicz
4a7845b485 users of watchtools.NewIndexerInformerWatcher should wait for the informer to sync
previously users of this method were relying on the fact that a call to LIST was made.
Instead, users should use the dedicated `HasSynced` method.
2022-05-24 13:05:40 +02:00
Mikhail Mazurskiy
2d62c57533 Always dial using a context 2022-05-24 11:51:08 +10:00
Kubernetes Prow Robot
fdb2d54475
Merge pull request #108210 from jlsong01/update_kubectl_warning
coordinate the kubectl warning style
2022-05-23 15:57:09 -07:00
Mike Spreitzer
7d64a93a14 Give apf metrics abstractions more familiar names
The logic is similar to Prometheus gauges and vectors,
adopt that terminology.
2022-05-23 16:09:43 -04:00
David Eads
566394467e add readyz handling to netexec 2022-05-23 14:26:09 -04:00
Kubernetes Prow Robot
31a10245d6
Merge pull request #110058 from glebiller/managed-fields-time
Update managedFields time when field value is modified
2022-05-23 10:32:02 -07:00
Kubernetes Prow Robot
aa49dffc7f
Merge pull request #110148 from wojtek-t/metrics_recorder_shutdown
Clear shutdown of scheduler metrics recorder
2022-05-23 07:18:15 -07:00
Kubernetes Prow Robot
1131fb95fc
Merge pull request #110125 from wojtek-t/fix_resource_quota_shutdown
Fix resource quota shutdown
2022-05-23 07:18:03 -07:00
Kubernetes Prow Robot
cfd69463de
Merge pull request #109975 from wojtek-t/cleanup_repair_controllers
Cleanup portallocator/ipallocator interfaces
2022-05-23 06:08:01 -07:00
jlsong01
272e245f06 add a warning printer in cli-runtime to coordinate warning style
modified:   staging/src/k8s.io/kubectl/pkg/cmd/auth/auth.go
2022-05-23 19:10:15 +08:00
Kubernetes Prow Robot
e9f1c9cc7c
Merge pull request #110138 from wojtek-t/fix_leaking_goroutines_in_kubelet_test
Fix leaking goroutines in kubelet integration test
2022-05-23 04:06:01 -07:00
Wojciech Tyczyński
f8211d7e44 Fix ResourceQuota admission shutdown 2022-05-23 12:34:50 +02:00
Wojciech Tyczyński
b5550a3452 Cleanup portallocator/ipallocator interfaces 2022-05-23 12:19:24 +02:00
Wojciech Tyczyński
0d41d2921e Fix leaking goroutines in kubelet integration test 2022-05-23 11:50:29 +02:00
Kubernetes Prow Robot
9997897f44
Merge pull request #110100 from tkashem/client-go-backoff-fix
client-go: fix backoff delay
2022-05-22 23:26:01 -07:00
gkarthiks
1fd959e256 refactor: serviceNameString to svcptNameString
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

refactor: svc port name variable #108806

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

refactor: rename struct for service port information to servicePortInfo and fields for more redability

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>

fix: drop chain rule

Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2022-05-22 03:31:00 -07:00
sanposhiho
bbd5f19497 Delete non-need AddUnschedulableIfNotPresent in e2e 2022-05-22 06:54:49 +00:00
Abu Kashem
60e74a9ff7
client-go: fix backoff delay 2022-05-21 09:46:00 -04:00
Kubernetes Prow Robot
fbb5717279
Merge pull request #110069 from FillZpp/fix-statefulset-maxunavailable-less-than-one
Fix maxUnavailable of StatefulSet should not less than 1
2022-05-20 16:50:12 -07:00
Kubernetes Prow Robot
6dc592e347
Merge pull request #108787 from 249043822/cadvisor_stat_provider_filter_0
filter out terminated containers in cadvisor_stats_provider
2022-05-20 16:50:00 -07:00
Wojciech Tyczyński
7060953b92 Clear shutdown of scheduler metrics recorder 2022-05-20 20:23:29 +02:00
Kubernetes Prow Robot
0f8b0e14ae
Merge pull request #110141 from chymy/kubeadm-remove-imagespull
kubeadm: remove unused ImagesPull
2022-05-20 03:45:12 -07:00
Kubernetes Prow Robot
5debaee45e
Merge pull request #110132 from tkashem/refactor-test
apiserver: improve graceful termination tests
2022-05-19 23:41:13 -07:00
Kubernetes Prow Robot
3308ce1caf
Merge pull request #110137 from neolit123/1.25-update-master-label-taint
kubeadm: cleanup OldControlPlaneTaint from unit tests
2022-05-19 22:05:13 -07:00
chymy
525b8cc4b2 kubeadm: remove unused ImagesPull
Signed-off-by: chymy <chang.min1@zte.com.cn>
2022-05-20 10:49:52 +08:00
Kubernetes Prow Robot
4ab90ccebb
Merge pull request #109719 from stlaz/e2e_nodeauthn_nosasecret
auth e2e: node_authn test: don't expect a SA secret
2022-05-19 15:13:53 -07:00
Kubernetes Prow Robot
e34f51e9b2
Merge pull request #110134 from mk46/crictl_env_parse
kubeadm: Parse ENV vars to crictl command
2022-05-19 14:04:05 -07:00