Commit Graph

2370 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
3f1a9f9f3e
Merge pull request #110512 from dims/switch-to-released-tag-v1.0.0-for-github.com/daviddengcn/go-colortext
Switch to released tag v1.0.0 for github.com/daviddengcn/go-colortext
2022-06-10 18:02:18 -07:00
Kubernetes Prow Robot
48fe99a312
Merge pull request #110511 from dims/switch-to-released-tag-v0.1.0-of-github.com/pquerna/cachecontrol
Switch to released tag v0.1.0 of github.com/pquerna/cachecontrol
2022-06-10 18:02:07 -07:00
Davanum Srinivas
1ff96ede74
Switch to v1.0.2 of github.com/chai2010/gettext-go
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-10 19:58:10 -04:00
Kubernetes Prow Robot
f3f50b4d7c
Merge pull request #110510 from dims/switch-to-github.com/MakeNowJust/heredoc-v1.0.0-and-avoid-SHA
Switch to v1.0.0 of github.com/MakeNowJust/heredoc (avoid SHA)
2022-06-10 16:23:44 -07:00
Kubernetes Prow Robot
19814d9773
Merge pull request #110508 from dims/switch-to-release-tag-of-systemstat
Switch to release tag v0.5.0 of systemstat
2022-06-10 14:27:56 -07:00
Davanum Srinivas
8cf2ef5558
Switch to released tag v1.0.0 for github.com/daviddengcn/go-colortext
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-10 17:12:24 -04:00
Kubernetes Prow Robot
59644ff7bd
Merge pull request #110371 from andyzhangx/upgrade-go-autorest-adal
upgrade Azure/go-autorest/autorest to v0.11.27
2022-06-10 13:19:56 -07:00
Davanum Srinivas
9e1bbfdc65
Switch to released tag v0.1.0 of github.com/pquerna/cachecontrol
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-10 15:52:44 -04:00
Davanum Srinivas
3990685432
Switch to v1.0.0 of github.com/MakeNowJust/heredoc (avoid SHA)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-10 14:51:33 -04:00
Kubernetes Prow Robot
7e66aa3cfb
Merge pull request #110351 from dims/switch-to-v3-of-github.com/emicklei/go-restful
Switch to v3 of github.com/emicklei/go-restful by updating kube-openapi
2022-06-10 09:41:58 -07:00
Davanum Srinivas
5cf5bed016
Switch to release tag v0.5.0 of systemstat
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-10 11:07:22 -04:00
Kubernetes Prow Robot
6e0e9f382e
Merge pull request #109194 from pohly/log-tests
log tests
2022-06-10 03:07:46 -07:00
Kir Kolyshkin
865c9e8fb9
vendor: bump runc to 1.1.3
Release notes:
 https://github.com/opencontainers/runc/releases/tag/v1.1.3

In particular, this one is important:

 * Retry on dbus disconnect logic in libcontainer/cgroups/systemd now
   works as intended; this fix does not affect runc binary itself but
   is important for libcontainer users such as Kubernetes. (#3476)

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-06-09 16:19:50 -07:00
Davanum Srinivas
ab690750df
Switch to v3 of github.com/emicklei/go-restful
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-06-09 14:11:41 -04:00
Paco Xu
178dc11b75 kubeadm: upgrade coredns to v1.9.3 2022-06-09 18:45:26 +08:00
andyzhangx
7ac98854e2 upgrade Azure/go-autorest/autorest to v0.11.27
update
2022-06-04 01:52:47 +00:00
Kubernetes Prow Robot
62351e24c5
Merge pull request #109552 from cyclinder/fix_CVE-2022-27191
fix CVE-2022-27191: Bump golang.org/x/crypto to v0.0.0-20220315160706
2022-06-03 11:42:20 -07:00
Kubernetes Prow Robot
451e1fa8bc
Merge pull request #109366 from pohly/csi-1.6
dependencies: bump CSI to v1.6.0
2022-06-01 19:03:46 -07:00
Patrick Ohly
04ecc1b63b logs: test JSON output with klog output test
The updated klog provides a reusable test suite for output handling.
Using it increases our test coverage without having to copy the test cases from
there into some JSON specific test suite.
2022-05-31 08:07:37 +02:00
cyclinder
46bbe52c7a ix CVE-2022-27191: Bump golang.org/x/crypto to v0.0.0-20220315160706
Signed-off-by: cyclinder qifeng.guo@daocloud.io
2022-05-13 10:00:40 +08:00
Kubernetes Prow Robot
6e04ca634d
Merge pull request #109729 from MikeSpreitzer/wrap-weighted-histograms
Wrap weighted histograms
2022-05-12 12:32:32 -07:00
Patrick Ohly
93199ee1ed dependencies: bump CSI to v1.6.0
The main difference is that GetCapacityResponse.MaximumVolumeSize is no longer
marked as "alpha".
2022-05-09 08:26:20 +02:00
Patrick Ohly
3e6974e0ba dependencies: logr and zapr v1.2.3
The updated zapr is more resilient against MarshalLog crashing. Not a known
problem in Kubernetes, though.
2022-05-06 15:16:56 +02:00
Mike Spreitzer
68d9249490 Add wrapper for TimingHistogram
Do not bother wrapping WeightedHistogram because it is not used
in k/k.
2022-05-05 14:21:21 -04:00
cici37
a3587c12da Update go-control-plane, cncf/xds/go, cncf/udpa/go and remove unused versions 2022-05-04 18:45:22 -07:00
cici37
334d8fb7a2 Update GRPC 2022-05-04 18:41:20 -07:00
cici37
e8f6184d86 Update genproto and antlr. 2022-05-04 18:37:30 -07:00
cici37
a86dd29157 Bump cel-go to v0.11.2 2022-05-04 18:32:06 -07:00
Jordan Liggitt
9e1064a26b Regenerate vendor 2022-05-04 10:27:41 -04:00
David Porter
b0da29dcb8 Bump cAdvisor to v0.44.1
Bump cAdvisor to v0.44.1 to pick up fix for containerd task timeout
which resulted in empty network metrics.

Signed-off-by: David Porter <david@porter.me>
2022-04-25 17:18:38 -07:00
James Laverack
7d57d5c70d Revert "Introduce APIs to support multiple ClusterCIDRs (#108290)"
This reverts commit b9792a9dae.
2022-04-13 13:58:19 +01:00
Kubernetes Prow Robot
64e711085b
Merge pull request #108016 from jiahuif-forks/feature/leader-migration-v1-api
v1 types for Leader Migration
2022-03-31 15:49:05 -07:00
Sarvesh Rangnekar
b9792a9dae
Introduce APIs to support multiple ClusterCIDRs (#108290)
* Introduce networking/v1alpha1 api, ClusterCIDRConfig type

Introduce networking/v1alpha1 api group.

Add `ClusterCIDRConfig` type to networking/v1alpha1 api group, this type
will enable the NodeIPAM controller to support multiple ClusterCIDRs.

* Change ClusterCIDRConfig.NodeSelector type in api

* Fix review comments for API

* Update ClusterCIDRConfig API Spec

Introduce PerNodeHostBits field, remove PerNodeMaskSize
2022-03-30 19:39:00 -07:00
Jordan Liggitt
a6da995405 Update docker/distribution to 2.8.1 to fix checksum error 2022-03-30 18:25:47 -04:00
Kubernetes Prow Robot
fe4cbf6514
Merge pull request #109104 from kolyshkin/bump-runc-1.1.1
vendor: bump runc to 1.1.1
2022-03-29 20:36:59 -07:00
Jefftree
550d6383b5 generated: Update kube-openapi and vendor 2022-03-29 17:47:26 -07:00
Kubernetes Prow Robot
699aeb735f
Merge pull request #109092 from kolyshkin/mock-1.6.0
vendor: bump golang/mock to 1.6.0
2022-03-29 17:36:16 -07:00
Katrina Verey
a8e1c67667
Update kubectl kustomize to kyaml/v0.13.6, cmd/config/v0.10.6, api/v0.11.4, kustomize/v4.5.4 2022-03-29 12:29:11 -04:00
Kir Kolyshkin
79c17cf44e vendor: bump runc to 1.1.1
Release notes:
  https://github.com/opencontainers/runc/releases/tag/v1.1.1

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-29 06:58:09 -07:00
Kubernetes Prow Robot
fe8a663860
Merge pull request #109029 from ehashman/runc-1.1.0
Dep bump to runc 1.1.0, cadvisor 0.44.0
2022-03-28 22:45:10 -07:00
Kir Kolyshkin
fd21ade6d5 vendor: bump golang/mock to 1.6.0
Commit e3ed3ba7c9 bumps golang/mock to 1.6.0 in hack/tools.
It makes sense to keep its version in sync, so let's do the same
in the top level go.mod.

Generated by

	./hack/pin-dependency.sh github.com/golang/mock v1.6.0
	./hack/lint-dependencies.sh
	./hack/update-vendor.sh
	./hack/update-internal-modules.sh

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-28 21:49:04 -07:00
Kubernetes Prow Robot
656dc213ce
Merge pull request #108992 from alexzielenski/cache-busting-client-go
client-go: OpenAPI v3 support
2022-03-28 21:37:11 -07:00
Elana Hashman
07af1bab70
deps: update runc to 1.1.0
This updates vendored runc/libcontainer to 1.1.0,
and google/cadvisor to a version updated to runc 1.1.0
(google/cadvisor#3048).

Changes in vendor are generated by (roughly):

        ./hack/pin-dependency.sh github.com/google/cadvisor v0.44.0
        ./hack/pin-dependency.sh github.com/opencontainers/runc v1.1.0
        ./hack/update-vendor.sh
        ./hack/lint-dependencies.sh # And follow all its recommendations.
        ./hack/update-vendor.sh
        ./hack/update-internal-modules.sh
        ./hack/lint-dependencies.sh # Re-check everything again.

Co-Authored-By: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-28 16:23:18 -07:00
Alexander Zielenski
bb799d9706
update vendor
client-go depends on more of kube-openapi v3 now
2022-03-28 10:07:56 -07:00
Stephen Kitt
080c6c711e
Upgrade to blang/semver/v4 v4.0.0
This is the first version to be fully go-mod-compatible.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2022-03-28 09:33:23 +02:00
cici37
383eb99beb Bump kube-openapi 2022-03-26 12:02:05 -07:00
Kubernetes Prow Robot
736a023167
Merge pull request #108988 from neolit123/1.24-update-system-validators
update k8s.io/system-validators to v1.7.0
2022-03-25 23:45:35 -07:00
Kubernetes Prow Robot
924654b504
Merge pull request #108828 from manugupt1/update-mountinfo
Updates moby/sys mountinfo package to v0.6.0
2022-03-25 23:45:28 -07:00
Kubernetes Prow Robot
f411c4068c
Merge pull request #109040 from jpbetz/revert-cel-bump
Revert #108954: Use CEL EagerlyValidateDeclarations to improve compilation performance
2022-03-25 19:18:10 -07:00
Kubernetes Prow Robot
a2a774d3d1
Merge pull request #108493 from VilledeMontreal/feat/compForCompositeNames
Support shell completion for the type/name form
2022-03-25 15:34:10 -07:00
Jiahui Feng
2ecfdcc427 generated: ./hack/update-vendor.sh 2022-03-25 14:20:41 -07:00
Joe Betz
4fba6adc91 Revert "Bump CEL to 0.11.2"
This reverts commit 4c90653d19.
2022-03-25 16:46:52 -04:00
Joe Betz
4c90653d19 Bump CEL to 0.11.2 2022-03-25 09:18:41 -04:00
Kubernetes Prow Robot
68cf2a60c6
Merge pull request #108847 from adisky/update-credential-api
Move kubelet credential provider feature flag to beta and update the api's
2022-03-24 20:05:53 -07:00
Lubomir I. Ivanov
fe7af1c68b bump k8s.io/system-validators to v1.7.0
- add blkio as an optionally required cgroup
- update blang/semver to v4
- bump the min go version to 1.16
2022-03-25 02:26:01 +02:00
Alex Zielenski
11b3a18cca
Update kube-openapi (#108895)
* upgrade k8s.io/kube-openapi

* fix open-api v3 blank aggregator output

* use keys as API group

in ./hack/update-openapi-spec.sh

* fix import grouping

* update openapiv3 integration tests
2022-03-24 14:01:01 -07:00
Aditi Sharma
ed16ef2206 Move feature flag credential provider to beta
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-24 22:43:38 +05:30
Marc Khouzam
c4f8c57b43 Refactor completion code into its own package
Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2022-03-24 12:49:01 -04:00
Kubernetes Prow Robot
83ee27569e
Merge pull request #106591 from Kartik494/bumpetcd
Updated Etcd Version to 3.5.1 in go.mod
2022-03-24 07:42:41 -07:00
kartik494
4285fb547e Updated Etcd Version to 3.5.1 in go.mod 2022-03-23 11:34:25 +05:30
Patrick Ohly
09aa1071cd klog v2.60.1
The new release supports FlushAndExit and contextual logging.
2022-03-21 16:23:48 +01:00
Manu Gupta
f9abf7e7ac Updates moby/sys mountinfo package to v0.6.0
Update to moby/sys/mountinfo package that contains MountedFast
function. The function uses OpenAt2 call for newer kernels
to determine if a mount-point is present or not.
2022-03-19 16:09:21 -07:00
Kubernetes Prow Robot
b9817c801b
Merge pull request #108616 from margocrawf/delete-execcredential-v1alpha1
Remove v1alpha1 of the execcredential
2022-03-18 13:57:56 -07:00
Margo Crawford
38cbe6d7fe Generated code for deleting exec credential v1alpha1 api
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-18 10:16:58 -07:00
Jefftree
8a1d5947ad googleapis/gnostic -> google/gnostic 2022-03-15 20:44:03 -07:00
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
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
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
carlory
fcc282f9f2 remove audit.k8s.io/v1[alpha|beta]1 versions 2022-03-08 14:37:26 +08:00
Joe Betz
2a6b85c395 Bump cel-go to v0.10.0 2022-03-07 20:47:04 -05:00
Andrew Sy Kim
00e222579c bump sigs.k8s.io/apiserver-network-proxy/konnectivity-client@v0.0.30
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-04 14:20:44 +00:00
Joe Betz
fd5ae0451d Add stdlib of CEL functions to Kubernetes that extends the standard library provided by CEL 2022-03-02 20:27:21 -05:00
Walter Fender
e5b0392f12 Bump konnectivity-client to v0.0.28
Bump konnectivity network proxy to v0.0.28.
Includes a fix to ensure the KAS calls Close() on the egress connection.
2022-02-24 12:35:54 -08:00
Damien Grisonnet
7f3f8d25c8 bump client_golang to v1.12.1
Bump client_golang to v1.12.1 to fix a concurrency issue in the Go
Collector that was introduced by the library in v1.12.0.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2022-02-24 10:25:12 +01:00
Stephen Augustus
4b1bd548bb
generated: Run hack/lint-dependencies.sh and hack/update-vendor.sh
Also runs:
hack/pin-dependency.sh golang.org/x/mod \
  v0.6.0-dev.0.20220106191415-9b9b3d81d5e3

Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-02-20 21:26:23 -05:00
KeZhang
3946d99904 Ignore container notfound error while getPodstatuses 2022-02-16 08:55:19 +08:00
Raghav Roy
e167d44a17 Updated k8s.io/utils dependency
Signed-off-by: Raghav Roy <raghavroy145@gmail.com>
2022-02-11 13:03:54 +05:30
Romain Aviolat
0a98875e95
feat: add missing SOCKS5 features
Goal of this commit is to add some missing features when the
Kubernetes API is accessed through a SOCKS5 proxy. That's for
example the case when port-forwarding is used (`kubectl port-forward`)
or when exec'ing inside a container (`kubectl exec`), with this
commit it'll now be possible to use both.

Signed-off-by: Romain Aviolat <romain.aviolat@kudelskisecurity.com>
Signed-off-by: Romain Jufer <romain.jufer@kudelskisecurity.com>
2022-01-21 11:49:41 +01:00
-e
8a4e66049e upgrade prometheus/client_golang to v1.12.0(common to v0.32.1) 2022-01-19 22:30:33 +08:00
-e
cbe72f5d0b upgrade cespare/xxhash/v2 to v2.1.2 2022-01-19 22:17:27 +08:00
Kubernetes Prow Robot
8b45805523
Merge pull request #106912 from Letme/patch-1
Update to runc v 1.0.3
2022-01-19 01:28:06 -08:00
Kubernetes Prow Robot
22a03f893d
Merge pull request #107207 from ehashman/deprecate-log-sanitization
Deprecate dynamic log sanitization
2022-01-15 15:19:26 -08:00
Jiahui Feng
31205dc7d9 generated: ./hack/update-vendor.sh 2022-01-14 10:31:44 -08:00
Patrick Ohly
072859c967 logs: create separate test/integration directory
The benchmark depends on k8s.io/api (for v1.Container). Such a dependency is
not desirable for k8s.io/component-base/logs, even if it's just for
testing. The solution is to create a separate directory where such a dependency
isn't a problem.

The alternative, a separate package with its own go.mod file under
k8s.io/component-base/logs wouldd have been more complicated to maintain (yet
another go.mod file and different whitelisted dependencies).
2022-01-11 09:56:22 +01:00
Elana Hashman
55a1936f58
DEPRECATION: remove experimental dynamic log sanitization 2021-12-23 13:03:06 -08:00
Kubernetes Prow Robot
38ec822b46
Merge pull request #107103 from pohly/log-klog-update
dependencies: update klog to v2.40.1
2021-12-21 13:58:02 -08:00
Kubernetes Prow Robot
7046fc258d
Merge pull request #104733 from thaJeztah/bump_moby_term
go.mod: github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6
2021-12-20 19:24:45 -08:00
Patrick Ohly
cb17b76d4d dependencies: update klog to v2.40.1
The new release adds support for multi-line string output (required for
contextual logging) and Verbose.InfoSDepth (required to properly attach
verbosity to some log messages in helper code).
2021-12-19 17:31:25 +01:00
Crt Mori
fadb36effb Update to runc v 1.0.3
fix GetStats for unsupported hugetlb needed to run on RaspberryPi4 with non-hugetlb compiled kernel (standard). This includes the https://github.com/opencontainers/runc/pull/3233

Used commands from hack folder to generate the new dependency:

```
hack/pin-dependency.sh github.com/opencontainers/runc v1.0.3
hack/update-vendor.sh

hack/lint-dependencies.sh
```
2021-12-13 22:32:45 +01:00
Kubernetes Prow Robot
2ae44bd74a
Merge pull request #106601 from liggitt/gomodule-gengo-normalize
bump k8s.io/gengo
2021-12-13 12:46:27 -08:00
Kubernetes Prow Robot
e53f93c7bb
Merge pull request #105164 from ardaguclu/kubectl-diff-prune
Introduce new prune parameter into diff command
2021-12-13 11:31:58 -08:00
Jordan Liggitt
6e628f9970 bump k8s.io/gengo 2021-12-13 10:05:29 -05:00
Jordan Liggitt
0c5ed62c79 bump sigs.k8s.io/json 2021-12-13 09:38:11 -05:00
Kubernetes Prow Robot
8b9e1d78f6
Merge pull request #106964 from ncdc/portable-code-generation
Code generation outside GOPATH
2021-12-10 17:48:32 -08:00
Kubernetes Prow Robot
c7ff5758db
Merge pull request #106922 from cheftako/anp-release
Bump konnectivity network proxy to v0.0.27.
2021-12-10 14:11:21 -08:00
Andy Goldstein
60d2481b88
Bump k8s.io/gengo to v0.0.0-20211115164449-b448ea381d54
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2021-12-10 14:30:53 -05:00
Kubernetes Prow Robot
b0eb3e1ec2
Merge pull request #106949 from cpanato/update-golang-xnet
dependencies: Update golang.org/x/net to v0.0.0-20211209124913-491a49abca63
2021-12-10 08:13:11 -08:00
Kubernetes Prow Robot
1d66302c42
Merge pull request #106458 from dims/lint-yaml-in-owners-files
Lint/Beautify yaml in OWNERS files
2021-12-10 06:39:12 -08:00
Carlos Panato
37dda91186
dependencies: Update golang.org/x/net to v0.0.0-20211209124913-491a49abca63
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-12-10 12:54:55 +01:00