Commit Graph

2363 Commits

Author SHA1 Message Date
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