Commit Graph

106881 Commits

Author SHA1 Message Date
Nikhil Sharma
edfd8cba54 made independent test cases ginkgo.It for checking connectivity 2022-03-11 09:02:17 +05:30
Kubernetes Prow Robot
9d512581b8
Merge pull request #108643 from liggitt/cobra
Update cobra to v1.4.0
2022-03-10 19:23:08 -08:00
Kubernetes Prow Robot
087b976a6b
Merge pull request #108647 from cici37/bumpCEL
Bump cel-go to v0.10.1
2022-03-10 18:13:07 -08:00
Kubernetes Prow Robot
3395ca1814
Merge pull request #108636 from neolit123/1.24-fix-go-doc-example-indent
kubeadm: fix bad indentation in the API go docs
2022-03-10 16:19:19 -08:00
Kubernetes Prow Robot
c5f7ceb26c
Merge pull request #108581 from pacoxu/image-docker-hub-fix
migrate nginx to k8s.gcr.io image
2022-03-10 16:19:07 -08:00
cici37
7572b26fba Bump cel-go to v0.10.1 2022-03-10 14:50:35 -08:00
Jordan Liggitt
60b9af476f Update cobra to v1.4.0 2022-03-10 16:19:43 -05:00
Kubernetes Prow Robot
425ff1c8e2
Merge pull request #108500 from SergeyKanzhelev/grpcsupportInAgnHost
add the grpc-health-checking to agnhost
2022-03-10 13:05:07 -08:00
Kubernetes Prow Robot
c227403973
Merge pull request #108568 from stevekuznetsov/skuznets/verbose-error
kubelet: cgroups: be verbose about validation
2022-03-10 11:59:07 -08:00
Kubernetes Prow Robot
3c10cc815f
Merge pull request #108638 from stevekuznetsov/skuznets/stop-parsing-rv-e2e
e2e: do not parse resourceVersion
2022-03-10 10:47:21 -08:00
Steve Kuznetsov
305652a432
conformance: do not parse resourceVersion
This test wishes to observe a watch event. In order to do this in the
past, the test chose a well-known `Service` object, fetched it, and did
arithmetic on the returned `resourceVersion` in order to start a watch
that was guaranteed to see an event. It is not valid to parse the
`resourceVersion` as an integer or to do arithmetic on it, so in order
to make the test conformant to an appropriate use of the API it now:

 - creates a namespace
 - fetches the current `resourceVersion`
 - creates an object
 - watches from the previous `resourceVersion` that was read

This ensures that an event is seen by the watch, but uses the publically
supported API.

`ConfigMap`s are used instead of `Service`s as they do not require a
valid `spec` for creation and make the test terser.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-10 09:46:04 -08:00
Lubomir I. Ivanov
76e8a067d1 kubeadm: fix bad indentation in the API go docs
For the YAML examples, make the indentation consistent
by starting with a space and following with a TAB.
Also adjust the indentation of some fields to place them under
the right YAML field parent - e.g. ignorePreflightErrors
is under nodeRegistration.
2022-03-10 18:36:13 +02:00
Steve Kuznetsov
8f2bc39f72
kubelet: cgroups: be verbose about validation
Previously, callers of `Exists()` would not know why the cGroup was or
was not existing. In one call-site in particular, the `kubelet` would
entirely fail to start if the cGroup validation did not succeed. In
these cases we MUST explain what went wrong and pass that information
clearly to the caller. Previously, some but not all of the reasons for
invalidation were logged at a low log-level instead. This led to poor
UX.

The original method was retained on the interface so as to make this
diff small.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-10 07:25:33 -08:00
Kubernetes Prow Robot
e9af399147
Merge pull request #108631 from jupblb/b223652793
Remove apf_fd from httplog
2022-03-10 05:49:35 -08:00
jupblb
94c92f78e5
Remove apf_fd from httplog
Since flowDistinguisher may hold data identifying a user accessing the
cluster this can be a source of a PII leak.
2022-03-10 12:59:00 +01:00
Kubernetes Prow Robot
9e5efebb4c
Merge pull request #108563 from ipochi/imran/update-e2e-lock-contention-test-to-remove-restart-kubelet
Remove the restart kubelet check from the test.
2022-03-09 21:49:35 -08:00
Kubernetes Prow Robot
fabfb03bd2
Merge pull request #108618 from eddiezane/ez/fix-flake-107702
Add env var to verify-typecheck for serial execution
2022-03-09 20:01:47 -08:00
Kubernetes Prow Robot
b90bddfd9f
Merge pull request #108204 from kevindelgado/field-validation-crd-unit-tests
Field validation CRD benchmarks and decoder unit tests
2022-03-09 20:01:35 -08:00
Kubernetes Prow Robot
1a54b398f4
Merge pull request #108603 from chendave/binary
Switch to use the DBG flag to build debug binaries
2022-03-09 18:57:34 -08:00
Paco Xu
f2930ec98b revert change in imports: ide auto-change to make import-boss verify green 2022-03-10 10:20:59 +08:00
Lee Verberne
90956e6d3e
Print kubectl debug messages received when starting a container (#108591)
* kubectl debug: print container messages

This provides feedback to the user, for example that the server is
unable to pull the debug container image.

* Label debug container updates as warnings

Co-authored-by: Eddie Zaneski <eddiezane@gmail.com>

Co-authored-by: Eddie Zaneski <eddiezane@gmail.com>
2022-03-09 17:51:35 -08:00
Eddie Zaneski
50bdc98754
Add env to verify-typecheck for serial execution
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2022-03-09 18:21:27 -07:00
Kubernetes Prow Robot
4763d75290
Merge pull request #108598 from chendave/remove_testcases
Remove the legacy Nginx testcases
2022-03-09 13:56:12 -08:00
Kubernetes Prow Robot
c571ebed14
Merge pull request #108418 from humblec/add-expansion-secret-validation
csi: add validation of secretRef format for CSI PV update functions
2022-03-09 10:34:12 -08:00
Humble Chirammal
f2473781a3 csi: add validation of secretRef format in CSI spec for PV update
at present the spec.csi.secretRef name has to be DNS1035 label
format and it should fail if we use DNSSubdomain secretRef in
the secretReference field of CSI spec. The newly added test cases
validate this behaviour in validation tests for controllerPublish,
nodePublish and nodeStage secretRef formats.

Additionally csiExpansionEnabled struct field also removed from
the validation function.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-03-09 23:01:00 +05:30
Kubernetes Prow Robot
a41f9e976d
Merge pull request #108107 from aojea/kubelet_http2_heartbeat
kubelet apiserver: be gentle closing connections on heartbeat failures
2022-03-09 01:32:12 -08:00
Kubernetes Prow Robot
9946b5364e
Merge pull request #108252 from wojtek-t/avoid_object_deep_copies
Avoid deep-copying object when possible on kube-apiserver watch path
2022-03-09 00:26:12 -08:00
Dave Chen
ace64c0138 Switch to use the DBG flag to build debug binaries
With the merging of #108371, the old way to build the debug binaries
won't work anymore.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-03-09 14:57:59 +08:00
Kubernetes Prow Robot
bbc2dbb980
Merge pull request #108000 from RomanBednar/af-namespace-fix
AzureFile: Volume without secretNamespace fails to mount after translating to CSI
2022-03-08 22:00:21 -08:00
Kubernetes Prow Robot
98ada45442
Merge pull request #108402 from Shoothzj/fix-typo-in-watch_based_manager_test
Fix typo in watch_based_manager_test
2022-03-08 20:04:21 -08:00
Dave Chen
09e47291c7 Rename variable error to err
`error` is the keywork in golang

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-03-09 10:39:34 +08:00
Dave Chen
85dfca3e16 Remove the legacy Nginx testcases
Those testcases does't work anymore after nginx-ingress controller
has been upgraded to v1.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-03-09 10:38:07 +08:00
Paco Xu
b03e27af1b migrate dockerhub image to k8s.gcr.io e2e test image 2022-03-09 09:54:11 +08:00
Kubernetes Prow Robot
f10cd679eb
Merge pull request #108557 from ruquanzhao/Remove_generic_scheduler.go
Remove generic_scheduler.go and generic_scheduler_test.go
2022-03-08 13:02:20 -08:00
Kubernetes Prow Robot
19935de5a9
Merge pull request #107410 from margocrawf/master
Ensure static certs in kubeconfig override exec plugin
2022-03-08 11:34:21 -08:00
Kubernetes Prow Robot
29ed12e76b
Merge pull request #108527 from ddebroy/instrumentedgc1
Pass instrumented runtime service to containerGC
2022-03-08 10:24:49 -08:00
Kubernetes Prow Robot
c964ef8d8a
Merge pull request #108576 from jpbetz/cel-0_10_0
Bump to CEL v0.10.0 and update tests and usage
2022-03-08 07:06:33 -08:00
Deep Debroy
023d6fb8f4 Pass instrumented runtime service to containergc
Signed-off-by: Deep Debroy <ddebroy@gmail.com>
2022-03-08 14:33:37 +00:00
Kubernetes Prow Robot
1976240861
Merge pull request #108092 from carlory/fix-98035
remove audit.k8s.io/v1[alpha|beta]1 versions
2022-03-08 01:02:33 -08:00
carlory
fcc282f9f2 remove audit.k8s.io/v1[alpha|beta]1 versions 2022-03-08 14:37:26 +08:00
Joe Betz
dd00a432b5 Add tests demonstrating numeric comparisons and int-or-string behavior 2022-03-07 22:59:43 -05:00
Kubernetes Prow Robot
34a6a7ca11
Merge pull request #108316 from hyschumi/fix_unnecessary_handlecrash
endpointslice: remove unnecessary HandleCrash
2022-03-07 18:20:34 -08:00
Joe Betz
2a6b85c395 Bump cel-go to v0.10.0 2022-03-07 20:47:04 -05:00
Margo Crawford
f015fd66ce Check whether static cert is already configured in UpdateTransportConfig
- Also update test-cmd.sh to pass a signing ca to the kube controller
  manager, so CSRs work properly in integration tests.

Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-07 13:54:32 -08:00
Kubernetes Prow Robot
f93be6584e
Merge pull request #108426 from deads2k/e2e-check
add resource enablement check for e2e tests of beta APIs
2022-03-07 11:34:26 -08:00
David Eads
8ab8d05cc4 add resource enablement check for e2e tests of beta APIs 2022-03-07 13:31:37 -05:00
Wojciech Tyczyński
779f157ecf Fix potential race in dispatching watch event 2022-03-07 18:46:24 +01:00
Wojciech Tyczyński
0cb3a02bbe Avoid perfoming deep copies in watchcache if not needed 2022-03-07 18:46:24 +01:00
Wojciech Tyczyński
7e434682e4 Prepare apiserver for operating on cached objects by not modifying them 2022-03-07 18:44:20 +01:00
Kubernetes Prow Robot
170a9c050f
Merge pull request #106525 from dgrisonnet/sanitize-forwarded-uri
apimachinery/pkg/util/proxy: escape forwarded URI
2022-03-07 09:22:53 -08:00