Arda Güçlü
43d8b3459b
Add manually invalidate cache documentation into delete
...
When CRDs are deleted, discovery local cache is not invalidated.
This brings about `resource not found` error when new CRD with same name is created
with different fields(ie. changing scope from cluster-wide to namespaced).
Because this already deleted CRD still stays in serverresources.json and kubectl tries to use it.
This local cached files have 10 minutes TTL. After deletion, if user waits 10 minutes,
files will be expired and deleted and there will be no errors. However, 10 minutes is a long time
and cache needs to be invalidated after deletion occurs.
This PR adds a document into delete command by noting that there might be a need to invalidate discovery
cache when CRD is deleted. In addition to that this PR adds a test to catch this behavior.
2022-01-26 09:01:46 +03:00
hxie
56382ddf16
Increase number of workers to 3 for Windows
...
Number of workers was set to be 1 because prallel probing on Windows is
flakier, network policy tests may get stuck, this symptom disappears on
the newest kubernetes, network poicy tests run very well with 3 workers.
2022-01-25 21:32:21 -08:00
Kubernetes Prow Robot
cd117abf19
Merge pull request #107763 from smarterclayton/wait_for_kuberoot_ca
...
e2e: Wait for kube-root-ca.crt to be created
2022-01-25 19:20:45 -08:00
Kubernetes Prow Robot
dee90598d2
Merge pull request #107525 from hxietkg/hxietkg/support-udp-for-windows
...
Support UDP test for netwpol on windows
2022-01-25 19:20:38 -08:00
Kubernetes Prow Robot
38e9a29620
Merge pull request #106932 from SergeyKanzhelev/removeDynamicKubeletConfig
...
Remove dynamic kubelet config
2022-01-25 19:20:25 -08:00
Kubernetes Prow Robot
6a1de6b686
Merge pull request #107765 from Jefftree/ssa-integration-enable
...
Populate OpenAPI in all integration tests
2022-01-25 18:18:37 -08:00
Kubernetes Prow Robot
482f905d57
Merge pull request #107745 from pacoxu/cleanup-fail-earlier
...
fail if the runtime/kubelet process is not fetched
2022-01-25 18:18:26 -08:00
Mike Miranda
99e27b0f37
Extend deadline for /stats/summary test
2022-01-26 00:07:00 +00:00
Kubernetes Prow Robot
6e25590494
Merge pull request #107066 from acumino/cleanup/codeduplication
...
remove code duplication
2022-01-25 14:35:42 -08:00
Jefftree
eb8f6fe0f9
Populate OpenAPI in all integration tests
2022-01-25 14:16:31 -08:00
Kubernetes Prow Robot
1f05c78350
Merge pull request #107700 from sanposhiho/fix-error-log-namespace-not-found
...
Create namespace for Pod not to occur error log of namespace not-found
2022-01-25 13:34:05 -08:00
Clayton Coleman
b4aa9a189e
e2e: Wait only for the service account
...
Now that projected service account tokens do not require the secret
to be created, exclude the wait condition on the token and simply
wait for the service account.
2022-01-25 14:23:31 -05:00
Clayton Coleman
1608fc5e88
e2e: Wait for kube-root-ca.crt to be created
...
The change from service account secrets to projected tokens and
the new dependency on kube-root-ca.crt to start pods with those
projected tokens means that e2e tests can start before
kube-root-ca.crt is created in a namespace. Wait for the default
service account AND the kube-root-ca.crt configmap in normal
e2e tests.
2022-01-25 14:23:31 -05:00
Kubernetes Prow Robot
804630ed24
Merge pull request #107636 from kerthcet/refactor/initRegistryAndConfig
...
refactor initRegistryAndConfig function
2022-01-25 10:20:30 -08:00
kerthcet
fdaea59465
refactor initRegistryAndConfig function
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-01-26 01:16:13 +08:00
sanposhiho
d8840405e2
Create namespace for Pod not to occur error log of namespace not-found
2022-01-26 00:39:12 +09:00
srikiz
b4dd9cb388
incorporate review comments
2022-01-25 20:11:12 +05:30
srikiz
430b8e6981
fix ingress path when validating webhook for ingress is in place while tests are running
2022-01-25 18:56:47 +05:30
Paco Xu
e71353c942
fail if the runtime/kubelet process is not fetched
2022-01-25 17:43:51 +08:00
Kubernetes Prow Robot
321b411784
Merge pull request #107088 from joejulian/dry-run-metadata
...
strip dry-run metadata unwanted fields
2022-01-24 14:31:15 -08:00
Wenli Wei
a2e0beb44b
Adding reboot node testcase
2022-01-24 22:26:35 +08:00
acumino
13b6b2d92d
remove code duplication
2022-01-23 17:30:51 +05:30
Kubernetes Prow Robot
2a2b294c99
Merge pull request #107644 from liggitt/integration-test-user-groups
...
Fix up integration test user groups
2022-01-22 04:17:52 -08:00
Lubomir I. Ivanov
8641897057
e2e/framework/test_context: add "control-plane" to non-blocking-taints
...
Having only the "master" taint in the list of non-blocking taints
blocks kubeadm / kind clusters from migrating to applying
both the "control-plane" and "master" taints in 1.24.
Add "control-plane" to the list of taints.
Leave TODO to cleanup the "master" taint in 1.25+.
It has to be removed either way as part of the inclusive
language cleanup efforts.
2022-01-21 14:12:49 +02:00
Kubernetes Prow Robot
c175418281
Merge pull request #107065 from saikat-royc/fix-node-stage-path
...
change node staging path for csi driver to PV agnostic
2022-01-21 01:31:58 -08:00
Saikat Roychowdhury
4a07657845
e2e test
2022-01-20 22:59:29 +00:00
Kubernetes Prow Robot
6faa4f0010
Merge pull request #107456 from tkashem/apf-ssa
...
apf: change controller to use SSA for patches
2022-01-20 13:44:29 -08:00
Ciprian Hacman
d01e9cedb1
Clean up logic for deprecated flag --container-runtime in scripts
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev >
2022-01-20 11:19:08 +02:00
Imran Pochi
6071f6e8ab
Addressing review comments
...
This commit is to be squashed and merged with the first commit.
Signed-off-by: Imran Pochi <imran@kinvolk.io >
2022-01-20 11:45:22 +05:30
Sergey Kanzhelev
7e7bc6d53b
remove DynamicKubeletConfig logic from kubelet
2022-01-19 22:38:04 +00:00
Abu Kashem
d9f4d6507b
apf: change controller to use SSA for patches
2022-01-19 14:56:53 -05:00
Jordan Liggitt
57e0c5969b
Fix integration test authenticators to include AllAuthenticated group
2022-01-19 13:21:05 -05:00
Kubernetes Prow Robot
e9e669aa60
Merge pull request #107276 from jlsong01/fix_flake_TestQuotaLimitService
...
Fix flake on TestQuotaLimitService
2022-01-19 09:38:05 -08:00
Lubomir I. Ivanov
1affaf42da
test/e2e_kubeadm: update label/taint e2e tests for 1.24
...
- Reword old "master" label to "Legacy"
- Add new "control-plane" label
- Use new label to count CP nodes
- Check for both taints on CP nodes
- Leave TODOs for 1.25
2022-01-19 18:28:37 +02:00
Kubernetes Prow Robot
657146e775
Merge pull request #107572 from MikeSpreitzer/add-flowschema-condition-test
...
Test isolation among FlowSchemaStatus Conditions
2022-01-19 06:34:06 -08:00
jlsong01
3006aa534b
fix flake on TestQuotaLimitService
2022-01-19 21:58:57 +08:00
Kubernetes Prow Robot
4def789949
Merge pull request #107548 from lzhecheng/fix-topology-hint-test
...
Fix topology hints test
2022-01-19 00:26:18 -08:00
Zhecheng Li
9292742821
Fix topology hints test
...
* It should check one Node in a zone instead of
each Node and its fromZone.
* Check Nodes' CPUs if they are equivalent
Signed-off-by: Zhecheng Li <zhechengli@microsoft.com >
2022-01-19 10:33:26 +08:00
Kubernetes Prow Robot
6989e2169f
Merge pull request #107564 from aojea/funnyips_etcd_data
...
integration test: API allow IPs with leading zeros
2022-01-18 17:18:05 -08:00
hxie
ac0f2e48ad
Support UDP test for netwpol on windows
2022-01-18 17:02:18 -08:00
Kubernetes Prow Robot
32f83b2b60
Merge pull request #107595 from wzshiming/test/skip_not_found_cmd
...
Skip tests when no signal emitting command
2022-01-18 16:14:05 -08:00
Varsha Teratipally
94ff5ea1f1
change default container-runtime-endpoint to containerd.sock
2022-01-18 22:00:31 +00:00
Kubernetes Prow Robot
ba1fc6f83c
Merge pull request #107612 from palnabarun/releng/go-update
...
[go] update to Go 1.17.6
2022-01-18 12:02:34 -08:00
Kubernetes Prow Robot
feb758027c
Merge pull request #106907 from cyclinder/remove_dockershim_flags
...
Clean up dockershim flags in the kubelet
2022-01-18 09:09:09 -08:00
Nabarun Pal
77816bd9b1
[go] update to Go 1.17.6
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com >
2022-01-18 14:35:24 +05:30
Antonio Ojea
ea130181a3
test integration: API allow IPs with leading zeros
2022-01-18 09:45:54 +01:00
Mike Spreitzer
23af47395b
Test isolation among FlowSchemaStatus Conditions
2022-01-17 15:43:37 -05:00
Shiming Zhang
00790153b2
Skip tests when no signal emitting command
2022-01-17 16:03:28 +08:00
Kubernetes Prow Robot
8815a3119c
Merge pull request #107517 from mason1kwok/removes-test-skiper
...
Removes code that was not completely cleared before
2022-01-16 09:03:28 -08:00
Kubernetes Prow Robot
a4931cc411
Merge pull request #107551 from wojtek-t/remove_unused_selflink_test_references
...
Remove unused selflink references in different testing-related files
2022-01-14 16:49:40 -08:00