Commit Graph

2370 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
28ced69b76
Merge pull request #113054 from logicalhan/proxy-metric
remove rate limiter metric as it is not in use
2022-10-17 11:09:18 -07:00
Patrick Ohly
d1dbf7ae3e dependencies: update to gomega v1.22.1 and ginkgo v2.3.1
This adds support for timeouts and intermediate reports in Eventually and
Consistently.
2022-10-17 12:12:54 +02:00
Davanum Srinivas
af76f3b72a
Bump AWS libraries to latest
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-10-16 11:38:08 -04:00
Kubernetes Prow Robot
6f579d3ceb
Merge pull request #111616 from ndixita/credential-api-ga
Move the Kubelet Credential Provider feature to GA and Update the Credential Provider API to GA
2022-10-15 07:53:09 -07:00
Kubernetes Prow Robot
353e00796e
Merge pull request #112988 from alexzielenski/update-kube-openapi
update kube-openapi
2022-10-14 17:31:29 -07:00
Kubernetes Prow Robot
542ec97705
Merge pull request #113037 from pacoxu/fsnotify-v1.6.0
update fsnotify to v1.6.0
2022-10-13 23:00:57 -07:00
Alexander Zielenski
f622dd918a
update kube-openapi
hack/pin-dependency.sh k8s.io/kube-openapi 172d655c2280350c77cf05962948fc67ff043492
hack/update-vendor.sh
2022-10-13 19:51:29 -07:00
Han Kang
2bbd445f50 remove rate limiter metric as it is not in use
Change-Id: I91157653e3860eeecc3f572aee88da6ffc65faed
2022-10-13 13:07:11 -07:00
John McBride
dfb55ba48a Bumps cobra from 1.5.0 to 1.6.0
- Upgrades mousetrap license to latest Apache 2.0

Signed-off-by: John McBride <jpmmcbride@gmail.com>
2022-10-13 14:52:39 +00:00
Paco Xu
3fee9d2735 update fsnotify to v1.6.0 2022-10-13 13:24:55 +08:00
Kubernetes Prow Robot
61ca612cbb
Merge pull request #112926 from jiahuif-forks/refactor/cel-out-of-apiextensions
split and move CEL package
2022-10-12 15:03:03 -07:00
Arnaud Meukam
0d19690a54
Bump golang.org/x/text to v0.3.8
Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
2022-10-11 23:30:39 +02:00
Jiahui Feng
5b8a5b37d5 generated: ./hack/update-vendor.sh 2022-10-10 15:05:55 -07:00
Jordan Liggitt
04b178b49b
Make root approval non-recursive 2022-10-10 08:26:53 -04:00
Kubernetes Prow Robot
e11e226b23
Merge pull request #112884 from logicalhan/slis
wire up feature-gate for component slis
2022-10-06 18:33:52 -07:00
Manish Kumar
39ffd45175
Move celopenapi/model to staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/ (#109959)
Co-authored-by: Manish Kumar <manish.kumar1@india.nec.com>
2022-10-06 17:13:52 -07:00
Han Kang
01bfbdff2d wire up feature-gate for component slis
Change-Id: Iba6ffbcac9dba4f4be3023ada6ac31691c1ae17b
2022-10-06 16:26:43 -07:00
Patrick Ohly
9b93cc663a dependencies: update to sigs.k8s.io/yaml v1.3.0
No particular benefit and no relevant changes, it's just to stay up-to-date and
to avoid having to pull that in when merging
https://github.com/kubernetes/kubernetes/pull/111023 which indirectly depends
on the newer release.
2022-10-05 11:14:23 +02:00
Tim Hockin
436bebf47d Codegens: Do not auto-set boilerplate path
Make each invocation pass it explicitly.  This will make later commits
cleaner.
2022-10-04 08:45:57 -07:00
Kubernetes Prow Robot
9720af2ba3
Merge pull request #112306 from tkashem/v1beta3
add v1beta3 for Priority And Fairness
2022-10-03 10:06:14 -07:00
Kubernetes Prow Robot
8d1ba6a086
Merge pull request #112731 from pacoxu/blackfriday-v2
upgrade Blackfriday to v2 and re-implement render
2022-09-29 08:44:53 -07:00
Kubernetes Prow Robot
827c77afcb
Merge pull request #112738 from liggitt/proto-tag
github.com/matttproud/golang_protobuf_extensions v1.0.2
2022-09-28 06:46:34 -07:00
Jordan Liggitt
7ea2180980
github.com/matttproud/golang_protobuf_extensions v1.0.2 2022-09-28 08:40:47 -04:00
Kubernetes Prow Robot
1294f557b9
Merge pull request #112689 from cheftako/master
Bump konnectivity-client to v0.0.33
2022-09-27 17:51:35 -07:00
Han Kang
db13f51db9 enable health check SLI metrics for apiserver
Change-Id: I1b43e6dfea35b8c3bfdf5daaa8b42adff2fbc786
2022-09-27 09:58:54 -07:00
Walter Fender
1dfdfc4bb5 Bump konnectivity-client to v0.0.33
Bump konnectivity network proxy to v0.0.33.
Includes a couple bug fixes for better handling of dial failures.
[Agent &
Server](https://github.com/kubernetes-sigs/apiserver-network-proxy/commits/v0.0.33)
include numerous other fixes.
Pin goleak to 1.2
2022-09-26 17:06:49 -07:00
Kubernetes Prow Robot
a54d8d8add
Merge pull request #111980 from aramase/kms
Add staging directory for kms
2022-09-26 14:50:14 -07:00
Anish Ramasekar
c3794e2377
Add staging directory for kms
- Moves kms proto apis to the staging repo
- Updates generate and verify kms proto scripts to check staging repo

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-09-26 19:23:35 +00:00
Han Kang
e95179ffb6 Wire up feature_gate.go with metrics via AddMetrics method
wire up feature_gate.go with metrics via AddMetrics method

Change-Id: I9b4f6b04c0f4eb9bcb198b16284393d21c774ad8

wire in metrics to kubernetes components

Change-Id: I6d4ef8b26f149f62b03f32d1658f04f3056fe4dc

rename metric since we're using the value to determine if enabled is true or false

Change-Id: I13a6b6df90a5ffb4b9c5b34fa187562413bea029

Update staging/src/k8s.io/component-base/featuregate/feature_gate.go

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2022-09-26 08:44:42 -07:00
Kubernetes Prow Robot
ce4fd5c31d
Merge pull request #112704 from dims/drop-scripts-and-files-related-to-linkcheck
drop scripts and files related to linkcheck
2022-09-26 08:10:32 -07:00
Paco Xu
65cb35f931 pin github.com/russross/blackfriday/v2 to v2.1.0 2022-09-26 13:52:58 +08:00
Davanum Srinivas
866ef3c46e
run hack/update-vendor.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-24 13:27:13 -04:00
Jordan Liggitt
2a50ae99a1
Update vendor 2022-09-23 13:12:34 -04:00
Kubernetes Prow Robot
722e02408e
Merge pull request #112673 from dims/update-to-latest-k8s.io/utils-sep-22
Update to latest k8s.io/utils to pick up changes
2022-09-22 09:41:27 -07:00
Kubernetes Prow Robot
a2dc82f0b8
Merge pull request #112590 from liggitt/authorizer_config
improve integration test customization of authn/authz
2022-09-22 09:41:04 -07:00
Davanum Srinivas
4e7e7cdd3c
Update to latest k8s.io/utils to pick up changes
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-22 09:38:28 -04:00
Abu Kashem
6ac0e87979
apiserver: generate for apf v1beta3 2022-09-21 18:54:19 -04:00
Jordan Liggitt
6473f8c7e3
Make controlplane integation tests coexist with default API server config 2022-09-21 12:42:49 -04:00
Kubernetes Prow Robot
299e65cdc5
Merge pull request #112613 from dims/update-github.com/go-openapi/jsonreference-to-drop-github.com/PuerkitoBio/purell
Update github.com/go-openapi/jsonreference to drop github.com/PuerkitoBio/purell
2022-09-21 07:15:26 -07:00
Kubernetes Prow Robot
6dbec8e255
Merge pull request #112120 from pohly/klog-flag-removal
logs: remove deprecated klog flags
2022-09-21 00:44:53 -07:00
Davanum Srinivas
005a5ca081
update github.com/go-openapi/jsonreference to drop github.com/PuerkitoBio/purell
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-20 20:49:55 -04:00
Kubernetes Prow Robot
886b3cbc19
Merge pull request #112588 from pacoxu/fsnotify-v1.5.4
update fsnotify/fsnotify to v1.5.4
2022-09-20 12:07:16 -07:00
Davanum Srinivas
298b629e44
run pin-dependency.sh and then hack/update-vendor.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-20 06:55:59 -04:00
Paco Xu
d20d83310e update fsnotify/fsnotify to v1.5.4 2022-09-20 11:14:49 +08:00
Kubernetes Prow Robot
6820a383be
Merge pull request #112545 from dims/update-etcd-3.5.5-and-all-otel-related-to-latest
Update etcd 3.5.5 and all otel related libraries to newer versions
2022-09-19 19:15:31 -07:00
Kubernetes Prow Robot
59c21a2515
Merge pull request #112474 from liggitt/concurrency-cleanup
Simplify P&F concurrency test
2022-09-19 13:17:44 -07:00
Jordan Liggitt
9cfc128b8e
Simplify P&F concurrency test 2022-09-19 08:26:29 -04:00
Kubernetes Prow Robot
25b93a607a
Merge pull request #112352 from pohly/e2e-ginkgo-progress
e2e: better ginkgo progress reports
2022-09-19 01:04:32 -07:00
Davanum Srinivas
01d8a4f0c5
update to v1.12.0 of semconv
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-18 19:34:30 -04:00
Patrick Ohly
1e4edaf2fe e2e: bump ginkgo to v2.2.0
The new release adds support for intermediate progress reports.
2022-09-18 10:10:07 +02:00
Davanum Srinivas
5be80c05c4
updated etcd to v3.5.5 and newer otel libraries as well
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-17 21:47:24 -04:00
Kubernetes Prow Robot
80ddaf23a8
Merge pull request #112458 from dims/switch-to-release-tag-for-antlr-v1.4.10
Switch to release tag for antlr : v1.4.10
2022-09-14 18:37:34 -07:00
Kubernetes Prow Robot
4e8b11d441
Merge pull request #111333 from flant/selfsubjectattributesreviews
Add auth API to get self subject attributes
2022-09-14 13:07:22 -07:00
Davanum Srinivas
9f75c56646
Switch to release tag for antlr : v1.4.10
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-14 15:54:34 -04:00
m.nabokikh
00dfba473b Add auth API to get self subject attributes
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-09-14 18:00:26 +02:00
Humble Chirammal
d2f11fe7f9 update vendor dependencies for glusterfs removal code
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-13 20:17:05 +05:30
Patrick Ohly
60d92dd96a build: update to klog v2.80.1
The fix for https://github.com/kubernetes/klog/issues/348 is required before
https://github.com/kubernetes/kubernetes/pull/111998 can be merged because the
way how a unit test in that PR uses klog triggers the data race.
2022-09-09 13:11:55 +02:00
Dixita Narang
875920037a Adding files generated from running make generate and update commands 2022-09-09 06:18:03 +00:00
Dixita Narang
977a8ebb3a Renaming usage of v1beta1 to v1, and adding API violation exceptions and
vendor module for v1
2022-09-09 06:11:06 +00:00
weilaaa
2b55c94e37 add symmetric difference in sets 2022-09-07 20:25:44 +08:00
Patrick Ohly
2f762e4788 logs: remove deprecated klog flags
This completes the deprecation of klog flags which are no longer supported.
klog itself continues to support them, but Kubernetes components don't. This
makes the command line interfaces simpler and reduces the attack surface
because less functionality is exposed.

For example, kube-controller-manager now has:

    Logs flags:

      --log-flush-frequency duration
                Maximum number of seconds between log flushes (default 5s)
      --log-json-info-buffer-size quantity
                [Alpha] In JSON format with split output streams, the info messages can be buffered for a while to increase performance. The default value of zero
                bytes disables buffering. The size can be specified as number of bytes (512), multiples of 1000 (1K), multiples of 1024 (2Ki), or powers of those (3M,
                4G, 5Mi, 6Gi). Enable the LoggingAlphaOptions feature gate to use this.
      --log-json-split-stream
                [Alpha] In JSON format, write error messages to stderr and info messages to stdout. The default is to write a single stream to stdout. Enable the
                LoggingAlphaOptions feature gate to use this.
      --logging-format string
                Sets the log format. Permitted formats: "json" (gated by LoggingBetaOptions), "text". (default "text")
  -v, --v Level
                number for the log level verbosity
      --vmodule pattern=N,...
                comma-separated list of pattern=N settings for file-filtered logging (only works for text log format)

    Misc flags:

      --kubeconfig string
                Path to kubeconfig file with authorization and master location information.
      --master string
                The address of the Kubernetes API server (overrides any value in kubeconfig).

    Global flags:

  -h, --help
                help for kube-controller-manager
      --version version[=true]
                Print version information and quit

For details see
https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components
2022-09-04 21:04:05 +02:00
Patrick Ohly
1bc3bde128 dependencies: update to klog v2.80.0
Contains one bug fix in the code path for formatting of objects that support
LogMarshal.
2022-09-02 08:05:47 +02:00
Kubernetes Prow Robot
d0e413e86d
Merge pull request #112129 from pohly/e2e-ginkgo-report-after-each
e2e: suppress too verbose output
2022-08-31 10:00:56 -07:00
Kubernetes Prow Robot
cdbac6f27b
Merge pull request #111917 from logicalhan/request-sizes
Add request body size metric for the write path.
2022-08-30 13:14:52 -07:00
Patrick Ohly
311144fb3e dependencies: update to ginkgo v2.1.6 and gomega v1.20.1
Ginkgo v2.1.6 adds ginkgo.SuppressProgressReporting which is needed
to suppress too verbose output each time the ReportAfterEach of the custom
progress reporter is invoked.
2022-08-30 19:57:47 +02:00
Kubernetes Prow Robot
bf2e850b3a
Merge pull request #111910 from tosi3k/go-runtime-metrics
Enable new set of Go metrics in Kubernetes
2022-08-29 12:26:48 -07:00
Kubernetes Prow Robot
3a4e3a0b56
Merge pull request #111964 from DangerOnTheRanger/cel-estimate-fix-update
Fix CEL size estimation
2022-08-29 08:00:38 -07:00
Antoni Zawodny
ce65b712f8 Enable new set of Go metrics in Kubernetes 2022-08-26 09:44:10 +02:00
Antoni Zawodny
f78e7a2b19 Bump prometheus/client_golang to v1.13.0 2022-08-26 05:40:17 +02:00
Kubernetes Prow Robot
76277917b9
Merge pull request #112026 from pacoxu/kubeadm-update-system-validators
upgrade system-validators to v1.8.0 for a bugfix of cgroupv2 io check
2022-08-25 07:28:30 -07:00
Paco Xu
0a879aa1db upgrade system-validators to v1.8.0 for a bugfix of cgroupv2 io check 2022-08-25 15:40:24 +08:00
Han Kang
43c95cbf06 Add request body size metric
Change-Id: Ica5d9b5457d4f844c4500b2c05b2f0631c27454c
2022-08-24 09:27:08 -07:00
Kubernetes Prow Robot
6ea7527522
Merge pull request #111909 from tosi3k/bump-prom-client
Bump prometheus/client_golang to v1.12.2
2022-08-23 20:09:00 -07:00
Kubernetes Prow Robot
07bca2d791
Merge pull request #67782 from dims/yank-in-tree-openstack-cloud-provider
Remove in-tree openstack cloud provider
2022-08-23 18:59:48 -07:00
Kubernetes Prow Robot
068743f937
Merge pull request #111148 from cyang49/master
APF concurrency isolation integration test
2022-08-23 16:05:02 -07:00
Davanum Srinivas
9bbf01bae9
Remove references to openstack and cinder
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-08-22 16:43:14 -04:00
Davanum Srinivas
d206d7f0a6
drop gophercloud/gophercloud from vendor/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-08-22 16:43:14 -04:00
Kermit Alexander II
9509cb293f Run lint-dependencies.sh/pin-dependency.sh/update-vendor.sh. 2022-08-22 18:10:40 +00:00
Kermit Alexander II
4a703d6cbc Run pin-dependency.sh and update-vendor.sh. 2022-08-22 16:59:14 +00:00
Antoni Zawodny
e3ccfb128d Bump prometheus/client_golang to v1.12.2 2022-08-18 13:57:22 +02:00
David Eads
2f3ffbed2c Revert "Add an option to conditionally disable compression based on client ip."
This reverts commit 023583a155.
2022-08-17 15:08:39 -04:00
Kubernetes Prow Robot
759785ea14
Merge pull request #109090 from sarveshr7/multicidr-rangeallocator
Enhance NodeIPAM to support multiple ClusterCIDRs
2022-08-07 15:40:18 -07:00
Sarvesh Rangnekar
7093b10416 Introduce networking/v1alpha1 api, ClusterCIDR type
Introduce networking/v1alpha1 api group.

Add `ClusterCIDR` type to networking/v1alpha1 api group, this type
will enable the NodeIPAM controller to support multiple ClusterCIDRs.
2022-08-05 00:54:00 +00:00
Jordan Liggitt
00db9f0229 Update go.mod to go1.19 2022-08-04 10:03:05 -04:00
Davanum Srinivas
34742f2d2e
run lint-dependencies and follow directions
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-08-03 22:00:02 -04:00
Davanum Srinivas
30e2fcd041
Stop panic in govet-levee CI job
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-08-03 21:51:01 -04:00
Kubernetes Prow Robot
d4795e4bec
Merge pull request #111620 from Jiawei0227/storageos
cleanup: Remove storageos volume plugins from k8s codebase
2022-08-03 18:05:36 -07:00
Kubernetes Prow Robot
0a2ae7ab3a
Merge pull request #111126 from aramase/kms-v2alpha1-impl
Implement KMS v2alpha1
2022-08-03 16:41:43 -07:00
Kubernetes Prow Robot
a0e702763e
Merge pull request #110495 from alexzielenski/atomic-objectreference
make ObjectReference field ownership granular
2022-08-03 14:21:48 -07:00
Jiawei Wang
d52cdeae79 cleanup: Remove storageos volume plugins from k8s codebase 2022-08-03 20:19:59 +00:00
Anish Ramasekar
f19f3f4099
Implement KMS v2alpha1
- add feature gate
- add encrypted object and run generated_files
- generate protobuf for encrypted object and add unit tests
- move parse endpoint to util and refactor
- refactor interface and remove unused interceptor
- add protobuf generate to update-generated-kms.sh
- add integration tests
- add defaulting for apiVersion in kmsConfiguration
- handle v1/v2 and default in encryption config parsing
- move metrics to own pkg and reuse for v2
- use Marshal and Unmarshal instead of serializer
- add context for all service methods
- check version and keyid for healthz

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-08-03 19:04:47 +00:00
David Porter
d9fda8ab3b vendor: Bump cAdvisor to v0.45.0
Signed-off-by: David Porter <david@porter.me>
2022-08-03 09:47:06 -07:00
Alexander Zielenski
133c265530
update kube-openapi 2022-08-03 09:46:39 -07:00
Natasha Sarkar
83c3c37a87
Update kubectl kustomize to kyaml/v0.13.9, cmd/config/v0.10.9, api/v0.12.1, kustomize/v4.5.7 (#111606) 2022-08-02 20:13:51 -07:00
Kubernetes Prow Robot
22eab136f6
Merge pull request #111557 from alexzielenski/update-smd-422
update smd to 4.2.3
2022-08-02 12:48:17 -07:00
Kubernetes Prow Robot
d40bc18461
Merge pull request #105126 from sallyom/tracing-kubelet
kubelet tracing instrumentation
2022-08-02 11:38:06 -07:00
Alexander Zielenski
e77ed0bc2e
update smd to 4.2.3 2022-08-02 10:07:50 -07:00
Kubernetes Prow Robot
70dcb0f129
Merge pull request #111618 from Jiawei0227/flocker
cleanup: Remove flocker volume plugins from k8s codebase
2022-08-02 09:16:16 -07:00
Kubernetes Prow Robot
c718f64b3f
Merge pull request #111507 from mborsz/compr
Add flag to disable compression for local traffic
2022-08-02 09:16:08 -07:00
Maciej Borsz
023583a155 Add an option to conditionally disable compression based on client ip. 2022-08-02 13:59:20 +00:00
Jiawei Wang
9c869b3dfc cleanup: Remove quobyte volume plugins from k8s codebase 2022-08-02 00:47:02 +00:00
Jiawei Wang
ff063889a7 cleanup: Remove flocker volume plugins from k8s codebase
Flocker storage plugin removed from k8s codebase.

Flocker, an early external storage plugin in k8s,
has not been in maintenance and their business is
down. As far as I know, the plugin is not being
used anymore.

This PR removes the whole flocker dependency and
codebase from core k8s to reduce potential security
risks and reduce maintenance work from the sig-storage community.
2022-08-02 00:42:50 +00:00
Sally O'Malley
9e4e0bb48a
add runtime-service test with tracerProvider
Signed-off-by: Sally O'Malley <somalley@redhat.com>
2022-08-01 12:55:21 -04:00
Sally O'Malley
0d558c51b5
add otelrestful restful.FilterFunction
Signed-off-by: Sally O'Malley <somalley@redhat.com>
2022-08-01 12:55:19 -04:00
Sally O'Malley
c97f292057
kubelet tracing: update vendor
Signed-off-by: Sally O'Malley <somalley@redhat.com>
2022-08-01 12:55:11 -04:00
ialidzhikov
6aa5efb1bd Update k8s.io/utils to ee6ede2d64ed 2022-07-31 16:33:14 +03:00
Kubernetes Prow Robot
8cecf183a6
Merge pull request #110851 from negz/more-like-mac-slow-s
Use checksums instead of fsyncs to avoid slow discovery caching on MacOS
2022-07-29 18:11:12 -07:00
Kubernetes Prow Robot
442548a064
Merge pull request #110534 from kerthcet/feat/ga-component-config
Graduate component config to stable in kube-scheduler
2022-07-29 09:59:11 -07:00
kerthcet
02f77a1b84 Feat: ga component config in kube-scheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-29 08:47:48 +08:00
Nic Cope
7a2c6a432f Use checksums instead of fsyncs to manage discovery cache corruption
Part of the API discovery cache uses an HTTP RoundTripper that
transparently caches responses to disk. The upstream implementation of
the disk cache is hard coded to call Sync() on every file it writes.
This has noticably poor performance on modern Macs, which ask their disk
controllers to flush all the way to persistant storage because Go uses
the `F_FULLFSYNC` fnctl. Apple recommends minimizing this behaviour in
order to avoid degrading performance and increasing disk wear.

The content of the discovery cache is not critical; it is indeed just a
cache and can be recreated by hitting the API servers' discovery
endpoints. This commit replaces upstream httpcache's diskcache
implementation with a similar implementation that can use CRC-32
checksums to detect corrupted cache entries at read-time. When such an
entry is detected (e.g. because it was only partially flushed to
permanent storage before the host lost power) the cache will report a
miss. This causes httpcache to fall back to its underlying HTTP
transport (i.e. the real API server) and re-cache the resulting value.

Apart from adding CRC-32 checksums and avoiding calling fsync this
implementation differs from upstream httpcache's diskcache package in
that it uses FNV-32a hashes rather than MD5 hashes of cache keys in
order to generate filenames.

Signed-off-by: Nic Cope <nicc@rk0n.org>
2022-07-27 00:13:30 -07:00
ialidzhikov
168fef6845 Update k8s.io/utils to 9bab9ef40391 2022-07-27 08:46:35 +03:00
Sebastiaan van Stijn
82a765c52f
downgrade github.com/matttproud/golang_protobuf_extensions to v1.0.1
This dependency was updated in 6b864dc4e1, but using
a version that's 1 commit ahead of the latest (v1.0.1) release. As a consequence,
any project that uses k8s.io/component-base as a dependency, but that prefers to
use tagged releases, will be required to add a `replace` rule in their `go.mod`.

Looking at the difference between the currently used version and the last release,
the only difference is the addition of a `go.mod`:
https://github.com/matttproud/golang_protobuf_extensions/compare/v1.0.1...c182affec369

While it can help to have a `go.mod` to resolve the minimum version of (indirect)
dependencies, in this case, the (minimum) versions of dependencies defined in this
module's `go.mod` are quite a bit behind the version defined in k8s' own go.mod,
so would already be up-to-date.

Based on the above, it looks like the `go.mod` (currently) doesn't provide much
value, and it would be safe to roll back 1 commit to use the tagged/released
version of this module.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-26 11:43:20 +02:00
Jakub Przychodzeń
49553a46bd 'running_managed_controllers' for KCM/CCM for cloud-node-lifecycle controller 2022-07-21 13:18:56 +00:00
Kubernetes Prow Robot
303f47c0c0
Merge pull request #111071 from cici37/updateCEL
Pick up major changes from cel-go latest release
2022-07-20 22:37:44 -07:00
Kevin Delgado
c210483cf0 update kjson 2022-07-18 14:55:12 +00:00
Kevin Delgado
d983fd8078 Add server-side metadata unknown field validation 2022-07-18 14:55:12 +00:00
Chih-Chieh Yang
c94df76190 Update vendor list 2022-07-15 17:11:16 +00:00
Kubernetes Prow Robot
408850e9f7
Merge pull request #111035 from jiahuif-forks/feature/matrics/cel
metrics for CEL compilation and evaluation
2022-07-14 14:37:00 -07:00
Cici Huang
35669cc69c Bump cel-go to v0.12.4 2022-07-14 18:23:57 +00:00
Kubernetes Prow Robot
19a22f7637
Merge pull request #111008 from cici37/bumpCEL
Bump cel-go to v0.12.3
2022-07-14 03:03:04 -07:00
Cici Huang
c67e914373 Bump cel-go to v0.12.3 2022-07-13 20:19:59 +00:00
Cici Huang
a421fd4834 Bump cel-go to v0.12.1 2022-07-11 17:05:32 +00:00
Cici Huang
772a252b06 Bump cel-go to v0.12.0 2022-07-11 08:40:34 -07:00
Dave Chen
d61adab518 Stop using the deprecated Measure method
As what suggested by Ginkgo migration guide, `Measure` node was
deprecated and replaced with `It` node which creates `gmeasure.Experiment`.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-11 17:40:33 +08:00
Jiahui Feng
0dc3957bb5 generated: ./hack/update-vendor.sh 2022-07-08 12:03:43 -07:00
Dave Chen
f792256954 e2e: adapt output tests to Ginkgo v2 and Gomega 1.19
Full stack traces are on by default. The approach for collecting results is
different. Tests run in their own goroutine, therefore runTests is no longer
part of their callstack. To cover stack traces with more than one entry, a new
test case gets added with a separate helper function.

Gomega object formatting now includes the type.

This removes the last remaining reference to Ginkgo v1.

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
375b2a5fb2 Build Ginkgo binary
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
857458cfa5 update ginkgo from v1 to v2 and gomega to 1.19.0
- update all the import statements
- run hack/pin-dependency.sh to change pinned dependency versions
- run hack/update-vendor.sh to update go.mod files and the vendor directory
- update the method signatures for custom reporters

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:46 +08:00
Patrick Ohly
3581e30883 build: update to klog v2.70.1
This makes ktesting more resilient against logging from leaked goroutines,
which is a problem that came up in kubelet node shutdown
tests (https://github.com/kubernetes/kubernetes/issues/110854).
2022-07-07 12:54:08 +02:00
Dave Chen
597071af17 Bump kube-openapi to the latest
This will help us to get rid of `Ginkgo` v1 dep.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-06-29 11:47:18 +08:00
Kubernetes Prow Robot
123713b496
Merge pull request #110504 from pohly/kubelet-shutdown-test
kubelet: convert node shutdown manager to contextual logging
2022-06-27 18:10:15 -07:00
Patrick Ohly
65385fec20 kubelet: convert node shutdown manager to contextual logging
This will make output checking easier (done in a separate commit). kubelet
itself still uses the global logger.
2022-06-24 11:20:34 +02:00
Kubernetes Prow Robot
487512bb56
Merge pull request #109510 from sugangli/pinhole-fw
Firewall Pinhole Fix for ILB and NetLB
2022-06-23 16:13:20 -07:00
Kubernetes Prow Robot
801bcfeea7
Merge pull request #110731 from jkh52/update-netproxy
Bump konnectivity-client to 0.0.32
2022-06-23 12:41:20 -07:00
Sugang Li
c64846da00 update kube-controller-manager dependencies 2022-06-23 18:07:18 +00:00
Kubernetes Prow Robot
272386c9b6
Merge pull request #110496 from kolyshkin/runc-1.1.3
vendor: bump runc to 1.1.3
2022-06-23 07:59:43 -07:00
Joseph Anttila Hall
f5c584a020 Bump konnectivity-client to 0.0.32 2022-06-22 17:22:42 -07:00
Patrick Ohly
f05e327ca6 build: update to klog v2.70.0
The main practical advantage is that klog.Fatal no longer dumps the backtrace
of all goroutines.
2022-06-22 16:29:51 +02:00
Patrick Ohly
1aceac797d logs: make LoggingConfiguration an unversioned API
Making the LoggingConfiguration part of the versioned component-base/config API
had the theoretic advantage that components could have offered different
configuration APIs with experimental features limited to alpha versions (for
example, sanitization offered only in a v1alpha1.KubeletConfiguration). Some
components could have decided to only use stable logging options.

In practice, this wasn't done. Furthermore, we don't want different components
to make different choices regarding which logging features they offer to
users. It should always be the same everywhere, for the sake of consistency.

This can be achieved with a saner Go API by dropping the distinction between
internal and external LoggingConfiguration types. Different stability levels of
indidividual fields have to be covered by documentation (done) and potentially
feature gates (not currently done).

Advantages:

- everything related to logging is under component-base/logs;
  previously this was scattered across different packages and
  different files under "logs" (why some code was in logs/config.go
  vs. logs/options.go vs. logs/logs.go always confused me again
  and again when coming back to the code):

  - long-term config and command line API are clearly separated
    into the "api" package underneath that

  - logs/logs.go itself only deals with legacy global flags and
    logging configuration

- removal of separate Go APIs like logs.BindLoggingFlags and
  logs.Options

- LogRegistry becomes an implementation detail, with less code
  and less exported functionality (only registration needs to
  be exported, querying is internal)
2022-06-17 20:22:13 +02:00
Kubernetes Prow Robot
4b024fc4ee
Merge pull request #110459 from wangyysde/promote-pod-security-to-ga
PodSecurity: promote config and feature gate to GA
2022-06-15 14:41:22 -07:00
wangyysde
ab66a38194 PodSecurity: promote config and feature gate to GA
Signed-off-by: wangyysde <net_use@bzhy.com>
2022-06-15 09:29:47 +08:00
Kubernetes Prow Robot
de5982637a
Merge pull request #110378 from lucacome/bump-grpc
Bump grpc to v1.47.0
2022-06-14 10:59:33 -07:00
Kubernetes Prow Robot
7c596b901d
Merge pull request #110519 from dims/update-etcd-packages-to-v3.5.4
Update etcd packages to v3.5.4
2022-06-13 22:21:44 -07:00
Luca Comellini
51fafd7de3
Bump grpc to v1.47.0
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2022-06-13 22:08:47 -07:00
Kubernetes Prow Robot
f15b0d1bd7
Merge pull request #110489 from pacoxu/kubeadm-coredns-v1.9.3
kubeadm: upgrade coredns to v1.9.3
2022-06-13 12:16:12 -07:00
Kubernetes Prow Robot
0fe0dbf3fb
Merge pull request #110518 from dims/switch-to-released-version-of-v3.8.0-github.com/emicklei/go-restful/v3
Switch to released version of v3.8.0 - github.com/emicklei/go-restful/v3
2022-06-13 10:30:11 -07:00
Davanum Srinivas
68b414764b
Update gopkg.in/yaml.v3 to v3.0.1
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-11 20:39:40 -04:00
Davanum Srinivas
4672bfa26f
update etcd packages to v3.5.4
in e9e8be3 we updated etcd server components to 3.5.4, here let's update the vendor/ as well to match

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-11 17:33:43 -04:00
Davanum Srinivas
6f2889718f
Switch to released version of v3.8.0 - github.com/emicklei/go-restful/v3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-11 11:27:08 -04:00
Kubernetes Prow Robot
867b5cc31b
Merge pull request #110513 from dims/switch-to-v1.0.2-of-github.com/chai2010/gettext-go
Switch to v1.0.2 of github.com/chai2010/gettext-go
2022-06-10 19:20:18 -07:00