Commit Graph

110257 Commits

Author SHA1 Message Date
demoManito
1d01f1e743 make map cap 2022-08-23 11:32:29 +08:00
Dixita Narang
d1deca1cb4 Configure and install out-of-tree gcp credential provider 2022-08-23 00:59:17 +00: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
David Eads
06497aa13c update the apply generator to use the same package the the client generator expects 2022-08-22 16:01:55 -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
6042d781f5 Add unit tests. 2022-08-22 17:01:57 +00:00
Kermit Alexander II
4a703d6cbc Run pin-dependency.sh and update-vendor.sh. 2022-08-22 16:59:14 +00:00
Hyeongju Johannes Lee
0bd220ca39 Fix typo of e2e utils under network framework
Fix typo "contaienr" to "container"
2022-08-22 14:15:09 +03:00
chymy
08d4748de2 kubeadm: add test cases for version_test.go
Signed-off-by: chymy <chang.min1@zte.com.cn>
2022-08-22 02:56:35 +00:00
Kubernetes Prow Robot
a1128e380c
Merge pull request #111428 from lzhecheng/skip-instance-not-found
Azure: Skip "instance not found" error for LB backend address pools
2022-08-21 19:33:38 -07:00
David Eads
e643b0e667 make applyconfiguration-gen handle pointers to slices 2022-08-19 15:23:36 -04:00
David Eads
09d9d37c38 make applyconfiguration-gen work for resources without objectmeta 2022-08-19 13:43:00 -04:00
Piotr Nosek
a4bc164989 HPA E2E Behavior Test: Scale up/down controls 2022-08-19 16:57:17 +00:00
David Eads
59df3248ed update the applyconfiguration-gen flag external-applyconfigurations to work 2022-08-19 12:04:28 -04:00
David Eads
69a723e898 applyconfiguration-gen handling of types that have a non-embedded use of TypeMeta 2022-08-19 10:43:15 -04:00
David Eads
0497abfaf8 add metav1.OwnerReference to the default external configurations to ease generation 2022-08-19 10:31:05 -04:00
Kensei Nakada
1538bbd73d fix(scheduler): split scheduleOne into two functions for schedulingCycle and bindingCycle 2022-08-19 14:09:18 +00:00
Artur Żyliński
15566d3d89 Cleanup: Remove unused lastContainerStartedTime time.Cache lru 2022-08-19 14:57:29 +02:00
zhoumingcheng
b092dafa67 add unit test for /staging/src/k8s.io/kubectl/pkg/util/storage
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com>
2022-08-19 16:58:07 +08:00
Antonio Ojea
8d7264fb8e regression test for exponential recursion bug on CRDs 2022-08-19 09:43:17 +02:00
leilei.wan.cn
aef47c3c3b not reset when exempt pl panic 2022-08-19 10:23:55 +08:00
Kubernetes Prow Robot
d581cc90ad
Merge pull request #111918 from liggitt/in-tree-auth
Restore in-tree credential plugins for 1.25
2022-08-18 12:36:09 -07:00
Jordan Liggitt
68758fc5c5 Update removal warnings to 1.26 2022-08-18 14:17:56 -04:00
Jordan Liggitt
79c09f0b31 update-gofmt 2022-08-18 14:17:31 -04:00
Jordan Liggitt
651b4f5b64 Revert "Remove gcp and azure auth plugins"
This reverts commit 916cf16cf1.
2022-08-18 14:16:23 -04:00
Antoni Zawodny
e3ccfb128d Bump prometheus/client_golang to v1.12.2 2022-08-18 13:57:22 +02:00
Antoni Zawodny
a8fb0cab49 Add a possibility of setting GODEBUG env var for kube-apiserver binary 2022-08-18 11:19:52 +02:00
Mikko Ylinen
3128b1a773 e2e: use user provided timeout in WaitForPodsWithLabelRunningReady
The WaitFor* refactoring in 07c34eb400 had an oversight what timeout parameter
is used for calling WaitForAllPodsCondition() in WaitForPodsWithLabelRunningReady()
so the calls to WaitForPodsWithLabelRunningReady() ended up ignoring the user
provided timeout. Fix that.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-08-18 12:05:06 +03:00
pandaamanda
3d87919a1e refactor: move attachdetach controller param validation ahead 2022-08-18 08:56:57 +00:00
Kubernetes Release Robot
58c10aa6eb CHANGELOG: Update directory for v1.24.4 release 2022-08-17 23:07:54 +00:00
Kubernetes Release Robot
776cff3915 CHANGELOG: Update directory for v1.23.10 release 2022-08-17 22:20:27 +00:00
Kubernetes Release Robot
5b2362e5b9 CHANGELOG: Update directory for v1.22.13 release 2022-08-17 21:19:13 +00:00
Kubernetes Prow Robot
ae62cd6ce2
Merge pull request #111896 from deads2k/revert-compression-disable
Revert "Add an option to conditionally disable compression based on client ip."
2022-08-17 13:28:47 -07: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
Matthew Wong
a322a708f3 Fix PVC nil pointer dereference during migration-enabled volume expand 2022-08-17 11:32:22 -07:00
Kubernetes Prow Robot
93054957c1
Merge pull request #111859 from omertuc/fixparallelclosure2
Fix failing `test/e2e/storage/csi_mock_volume.go` test
2022-08-17 09:09:11 -07:00
Andy Goldstein
d08b69e8d3 watch cache: metrics: objectType -> group resource
Use the group resource instead of objectType in watch cache metrics,
because all CustomResources are grouped together as
*unstructured.Unstructured, instead of 1 entry per type.

Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-08-17 09:33:34 -04:00
Andy Goldstein
397533a4c2 watch cache: log GroupResource, not objectType
All CustomResources are treated as *unstructured.Unstructured, leading
the watch cache to log anything related to CRs as Unstructured. This
change uses the schema.GroupResource instead of object type for all type
related log messages in the watch cache, resulting in distinct output
for each CR type.

Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2022-08-17 09:33:33 -04:00
Omer Tuchfeld
44a59710ea Fix failing test/e2e/storage/csi_mock_volume.go test
Followup on https://github.com/kubernetes/kubernetes/pull/111846. This
particular test was left out from that PR because once it was enabled it
started failing. It was desired to merge
https://github.com/kubernetes/kubernetes/pull/111846 irrespective of
this particular test.

The failure in the test was caused due to the
`createFSGroupRequestPreHook` mock CSI driver hook function assuming
that the request object passed to it is an instance of the respective
struct, but it's actually a pointer instead. This resulted in the hook
function not fulfilling its purpose, and the so the test failed.
2022-08-17 14:38:45 +02:00
Lukasz Szaszkiewicz
be2c707a4c integration: TestCacheControl and TestHSTS close the ResponseBody 2022-08-17 13:29:01 +02:00
lojies
89fdd8858b code cleanup: omit comparison to bool constant 2022-08-17 14:46:32 +08:00
Kubernetes Release Robot
619f1cf552 CHANGELOG: Update directory for v1.25.0-rc.1 release 2022-08-16 17:35:00 +00:00
Han Kang
6c451da127 add counter metric for dashpole
Change-Id: I4a235c0d8b936da960cf5ce25cdd992e94130391
2022-08-16 09:19:26 -07:00
Ashutosh Kumar
08bd22670f incorporate review comments
Signed-off-by: Ashutosh Kumar <sonasingh46@gmail.com>
2022-08-16 21:28:58 +05:30
Dan Winship
946ce55b04 kube-proxy: use API constants for proxy modes rather than local redefinitions 2022-08-16 09:30:42 -04:00
Dan Winship
1609017f2b kube-proxy: remove ipvs-to-iptables fallback
If the user passes "--proxy-mode ipvs", and it is not possible to use
IPVS, then error out rather than falling back to iptables.

There was never any good reason to be doing fallback; this was
presumably erroneously added to parallel the iptables-to-userspace
fallback (which only existed because we had wanted iptables to be the
default but not all systems could support it).

In particular, if the user passed configuration options for ipvs, then
they presumably *didn't* pass configuration options for iptables, and
so even if the iptables proxy is able to run, it is likely to be
misconfigured.
2022-08-16 09:30:08 -04:00
Dan Winship
9f69a3a9d4 kube-proxy: remove iptables-to-userspace fallback
Back when iptables was first made the default, there were
theoretically some users who wouldn't have been able to support it due
to having an old /sbin/iptables. But kube-proxy no longer does the
things that didn't work with old iptables, and we removed that check a
long time ago. There is also a check for a new-enough kernel version,
but it's checking for a feature which was added in kernel 3.6, and no
one could possibly be running Kubernetes with a kernel that old. So
the fallback code now never actually falls back, so it should just be
removed.
2022-08-16 09:21:34 -04:00
Dan Winship
477d14e53b Reorganize "kube-proxy --cleanup-and-exit"
This was implemented partly in server.go and partly in
server_others.go even though even the parts in server.go were totally
linux-specific. Simplify things by putting it all in server_others.go
and get rid of some unnecessary abstraction.
2022-08-16 09:16:05 -04:00
kerthcet
b27ceebc93 Remove out-of-date comments
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-16 14:05:11 +08:00