Commit Graph

103253 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
fca3175df7
Merge pull request #104231 from astraw99/fix_unified_workers
Unify controller worker num param `threadiness` to `workers`
2021-08-27 09:34:05 -07:00
Martin Kennelly
da78eb5d8a Update ServiceInternalTrafficPolicy feature state
Feature state is beta in v1.22.0.

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
2021-08-27 16:55:47 +01:00
Dave Chen
63b4710f38 Don't expose struct from prometheus client library 2021-08-27 22:21:24 +08:00
Kubernetes Prow Robot
5871321310
Merge pull request #104614 from prameshj/disable-pod-rec
Skip testing for Pod DNS records.
2021-08-27 05:32:04 -07:00
Kubernetes Prow Robot
cb520ca573
Merge pull request #104610 from aojea/i_hate_this_shell_things
skip hack/tools/vendor folder
2021-08-27 01:52:04 -07:00
Kubernetes Prow Robot
d043e9cbcc
Merge pull request #104003 from sahilvv/protobuf
update protobuf github url
2021-08-26 21:22:59 -07:00
Kubernetes Prow Robot
0022e00669
Merge pull request #104617 from justaugustus/sig-release
OWNERS(releng): Set reviewers to `release-managers`
2021-08-26 17:08:59 -07:00
jaehnri
bf1b75f165 Fix typo in kubectl describe pods example
Signed-off-by: jaehnri <joao.henri.cr@gmail.com>
2021-08-26 21:00:18 -03:00
Kubernetes Prow Robot
c88a111a9c
Merge pull request #104609 from jsturtevant/hostprocess-init-containers
Add init hostprocess container e2e test
2021-08-26 15:36:20 -07:00
Stephen Augustus
47b1159a0e
OWNERS(releng): Set reviewers to release-managers
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-26 17:50:55 -04:00
Pavithra Ramesh
fa3f4a69e5 Skip testing for Pod DNS records.
DNS records of the form *.pod.cluster.local are deprecated - https://github.com/kubernetes/dns/pull/335
Testing for their presence is not required.
2021-08-26 14:33:12 -07:00
Kubernetes Prow Robot
d0f6983d6c
Merge pull request #104503 from sanposhiho/scheduler/fix/panic-is-not-execute-defer-funcs
cmd/kube-scheduler: return error instead of os.Exit when something goes wrong
2021-08-26 11:26:21 -07:00
Antonio Ojea
2fee0c45e6 skip hack/tools/vendor folder
The makefiles scripts create a variable with all the go files
that are part of the Kubernetes source tree, including staging.

As today, this variable has a size of < 100kb

wc .make/all_go_dirs.mk
2326  2326 98905 .make/all_go_dirs.mk

This variable is passed as argument in the Makefiles, where it
is expanded. In Linux, there is a limit to the max size of
the arguments MAX_ARG_STRLEN.

If the arguments go above 128k, you get a nice:

execvp: /usr/bin/env: Argument list too long

If you, for whatever reason, do some go mod vendor inside the
hack/tools folder, these files will be added to the variable
and most probably you'll go above the limit and get that error.

Then, you'll learn a lot about Makefils, shell expansion, strace,
execpve, ARG_MAX and MAX_ARG_STRLEN,until you realize what is
the real problem :).
2021-08-26 20:02:43 +02:00
Kubernetes Prow Robot
1619705be7
Merge pull request #104586 from justaugustus/sig-release
OWNERS: SIG Release cleanups
2021-08-26 10:19:23 -07:00
Kubernetes Prow Robot
718f1b60fa
Merge pull request #104585 from la3mmchen/fix/typo
kubeadm: add missing word in output error
2021-08-26 08:51:23 -07:00
James Sturtevant
445f9f2aba Add init hostprocess container test 2021-08-26 08:23:54 -07:00
Sascha Grunert
b8400cbc36
Reduce the number of parallel typechecks to 2
The PR https://github.com/kubernetes/kubernetes/pull/104575 introduces
some intermediate types which makes the 32GiB memory machine kill the
typecheck process. To resolve that issue and make the test more robust,
we now reduce the amount of parallel typechecks to run to `2`.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-08-26 16:53:13 +02:00
Kubernetes Prow Robot
9e0d3fdd6c
Merge pull request #104582 from iamemilio/volume_negative_test
Remove Error Message Check Dynamic PV Tests
2021-08-26 07:41:23 -07:00
Kubernetes Prow Robot
c262d09bb7
Merge pull request #104604 from wojtek-t/fix_secret_manager_2
Don't prematurely close reflectors in case of slow initialization in watch based manager
2021-08-26 06:11:23 -07:00
atiratree
b79859cb12 add a test for jsonpath template parsing to prevent regressions
This behaviour was broken by commit
39cfe23232 and PR kubernetes#98057
2021-08-26 14:49:58 +02:00
atiratree
5c3de9f1de revert "fix wrong output when using jsonpath"
This partially reverts commit 39cfe232325d66bcdbc935af7aaf7022562e7010and PR #98057

the original problem was caused by not using {end} at the end of the range
2021-08-26 14:49:45 +02:00
wojtekt
515106b795 Don't prematurely close reflectors in case of slow initialization in watch based manager 2021-08-26 11:34:24 +02:00
Kubernetes Prow Robot
3e10db97d0
Merge pull request #104571 from h4ghhh/controller-manager-logchange-online
Added support for setting controller-manager log level online
2021-08-26 00:43:23 -07:00
Zovin Khanmohammed
dec8528aba
Adds the PowerShell completion generation (#103758)
* Adds the powershell completion generation

* Fixes formatting based on verification script

* Changes generation to include descriptions

* Adjusts formatting and Adds startup information

* Fix build
2021-08-25 20:29:23 -07:00
Kubernetes Prow Robot
cbd0611d49
Merge pull request #104528 from kolyshkin/runc-1.0.2
vendor: bump runc to 1.0.2
2021-08-25 18:17:23 -07:00
Paco Xu
4cb7479312 set AllowLongNodeID to true by default since 1.23 2021-08-26 08:30:42 +08:00
Kubernetes Prow Robot
2f6b9166d7
Merge pull request #104039 from YanzhaoLi/extract-containerdid-from-various-cgrouppath
Get containerID from systemd-style cgroupPath in cri_stats_provider
2021-08-25 17:05:22 -07:00
Stephen Augustus
e660b2b9a3
CHANGELOG/OWNERS: Use RelEng aliases for approvals
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-25 18:51:38 -04:00
Kubernetes Prow Robot
2a8ad72800
Merge pull request #104438 from nick5616/windows/build-ltsc2022-pause
Pause Images: Added base image for Windows Server 2022
2021-08-25 13:53:53 -07:00
Jiahui Feng
53c46ee6fd add vendor for k/cm/controller. 2021-08-25 13:29:03 -07:00
Jiahui Feng
6f437c7155 use common controller interface in CCM. 2021-08-25 13:29:03 -07:00
Jiahui Feng
8f5771d243 use common controller interface in KCM. 2021-08-25 13:29:03 -07:00
Stephen Augustus
7d57d29407
build/OWNERS: Add Release Engineering as reviewers
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-25 16:20:19 -04:00
Stephen Augustus
e1d24b0001
OWNERS(build-image): Add previous RelEng reviewers to approvers
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-25 16:20:19 -04:00
Stephen Augustus
8e024c6d1a
OWNERS(releng): Tidy approver/reviewer descriptions
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-25 16:20:18 -04:00
Stephen Augustus
ea00aa8329
OWNERS(releng): Add Jeremy Rickard
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-25 16:20:18 -04:00
Stephen Augustus
e411c4d405
OWNERS: Dan Mangum is now Emeritus
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-25 16:20:15 -04:00
la3mmchen
57f2af2834 FIX: just add a missing word in output 2021-08-25 21:53:49 +02:00
Kubernetes Prow Robot
cd80d70c3d
Merge pull request #92989 from WLun001/fish-completion
add kubectl fish shell completion
2021-08-25 12:27:55 -07:00
Emilio Garcia
a7b341b052 Remove Error Message Check Dynamic PV Tests
Different CSI drivers have different error messages, making it difficult
to check them accurately. We remove the check for the error message and
only check the failure type instead, since that is all we need.
2021-08-25 14:08:23 -04:00
Clayton Coleman
a2ca66d280
kubelet: Admission must exclude completed pods and avoid races
Fixes two issues with how the pod worker refactor calculated the
pods that admission could see (GetActivePods() and
filterOutTerminatedPods())

First, completed pods must be filtered from the "desired" state
for admission, which arguably should be happening earlier in
config. Exclude the two terminal pods states from GetActivePods()

Second, the previous check introduced with the pod worker lifecycle
ownership changes was subtly wrong for the admission use case.
Admission has to include pods that haven't yet hit the pod worker,
which CouldHaveRunningContainers was filtering out (because the
pod worker hasn't seen them). Introduce a weaker check -
IsPodKnownTerminated() - that returns true only if the pod is in
a known terminated state (no running containers AND known to pod
worker). This weaker check may only be called from components that
need admitted pods, not other kubelet subsystems.

This commit does not fix the long standing bug that force deleted
pods are omitted from admission checks, which must be fixed by
having GetActivePods() also include pods "still terminating".
2021-08-25 13:31:02 -04:00
Kubernetes Prow Robot
4e10ffe453
Merge pull request #104475 from Iceber/update-code-generate
code-generator: remove bounding-dirs flag of the deepcopy-gen in the scripts
2021-08-25 07:04:53 -07:00
Kubernetes Prow Robot
31ca79b69e
Merge pull request #101572 from carlory/fix-prerelease-lifecycle-gen-usage
update the usage doc of prerelease-lifecycle-gen
2021-08-25 07:04:41 -07:00
Kubernetes Prow Robot
14ee98b1c0
Merge pull request #104552 from claudiubelu/patch-8
test images: Trigger the windows-servercore-cache image job
2021-08-25 05:50:40 -07:00
Qi Ni
86278ade51 fix: ignore the case when updating tags 2021-08-25 20:20:59 +08:00
Kubernetes Prow Robot
296991f697
Merge pull request #104518 from dntosas/scheduler-remove-deprecated-metric
[scheduler] Remove deprecated volumeSchedulingLatency metric
2021-08-25 03:08:39 -07:00
00255991
0957e15657 Added support for setting controler-manager log level online 2021-08-25 15:07:00 +08:00
Kubernetes Prow Robot
1a845ccd07
Merge pull request #103603 from mengjiao-liu/update-ingress-to-v1
Promote `ingressclass.kubernetes.io/is-default-class` annotation to networking/v1
2021-08-24 20:24:39 -07:00
Kubernetes Prow Robot
c1e69551be
Merge pull request #103692 from justaugustus/go117
[go1.17] Update to go1.17
2021-08-24 18:54:40 -07:00
Kubernetes Prow Robot
1767a94f15
Merge pull request #104494 from nicomitchell/fix_comment_html_tags
apiserver/pkg/storage/interfaces.go: Add backticks to comments misparsed as HTML by IDEs
2021-08-24 17:00:39 -07:00