Paco Xu
234c33e8b8
deprecated node labels: make naming consistant and remove some unused args in funcs
2022-05-25 15:15:34 +08:00
kerthcet
02f0a3ee91
feat: add NodeInclusionPolicy to TopologySpreadConstraint in PodSpec
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-05-10 12:54:49 +08:00
Paco Xu
db147b7d67
(ut) add tests for bad filed values checking; refactor some funcs
2022-05-09 16:17:32 +08:00
Daniel Smith
331525670b
Remove ClusterName
2022-05-05 20:12:50 +00:00
Paco Xu
3fbfd7eb1b
add deprecated warning for node beta labels in pv/sc/rc/csi storage capacity
...
- (pv) deprecated label using warning for node affinity
- (storageclass) deprecated node labels: allowedTopologies.matchLabelExpressions.key
- (CSIStorageCapacity) deprecated node labels
- (RuntimeClass) deprecated node labels
2022-05-04 15:01:13 +08:00
Humble Chirammal
c74b393771
csi: add nodeExpandSecret support for CSI client
...
CSI spec 1.5 enhanced the spec to add optional secrets field to
NodeExpandVolumeRequest. This commit adds NodeExpandSecret to the
CSI PV source and also derive the expansion secret in csiclient to
send it out as part of the nodeexpand request.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com >
Signed-off-by: zhucan <zhucan.k8s@gmail.com >
2022-04-05 11:36:23 +08:00
zhucan
eb2ebddf61
fix: add unit test
...
Signed-off-by: zhucan <zhucan.k8s@gmail.com >
2022-04-05 11:35:14 +08:00
Maciej Wyrzuc
1108bed763
Revert "Field status.hostIPs added for Pod ( #101566 )"
...
This reverts commit 61b3c028ba .
2022-03-31 12:39:45 +00:00
Tim Hockin
30c1523708
kube-proxy: Renames for readability
2022-03-30 09:55:32 -07:00
Shiming Zhang
61b3c028ba
Field status.hostIPs added for Pod ( #101566 )
...
* Add FeatureGate PodHostIPs
* Add HostIPs field and update PodIPs field
* Types conversion
* Add dropDisabledStatusFields
* Add HostIPs for kubelet
* Add fuzzer for PodStatus
* Add status.hostIPs in ConvertDownwardAPIFieldLabel
* Add status.hostIPs in validEnvDownwardAPIFieldPathExpressions
* Downward API support for status.hostIPs
* Add DownwardAPI validation for status.hostIPs
* Add e2e to check that hostIPs works
* Add e2e to check that Downward API works
* Regenerate
2022-03-29 11:46:07 -07:00
Kubernetes Prow Robot
3a3c9bc5c0
Merge pull request #108282 from sftim/20220222_reword_types_container_runtime_neutral
...
Update types to be neutral about container runtime
2022-03-28 13:01:08 -07:00
Kubernetes Prow Robot
c239b406f0
Merge pull request #108929 from gnufied/move-expansion-feature-gate-ga
...
Move all volume expansion feature gates to GA
2022-03-25 18:08:16 -07:00
Tim Bannister
539b6173e9
Avoid using Docker Engine as example for container runtime
...
Docker Engine isn't directly compatible with recent Kubernetes.
2022-03-25 00:36:50 +00:00
Hemant Kumar
ac6ef262df
remove ExpandCSIVolume feature gate
2022-03-24 14:53:00 -04:00
Hemant Kumar
9343cce20b
remove ExpandPersistentVolume feature gate
2022-03-24 10:02:47 -04:00
Daniel Smith
0710b6836c
teach code generator about ugly fields
2022-03-23 15:26:38 +00:00
Paco Xu
acd696266e
mark PodOverhead to GA in v1.24; remove in v1.26
2022-03-17 09:30:14 +08:00
sanposhiho
3b13e9445a
Add MinDomains API to TopologySpreadConstraints field
2022-03-09 20:57:12 +09:00
Abdullah Gharaibeh
8a1c70b48c
Graduate PodAffinityNamespaceSelector to GA
2022-02-18 12:07:29 -05:00
Wojciech Tyczyński
b3267092fa
Remove SelfLink from autogenerating applyconfigurations
2022-02-14 18:35:54 +01:00
Wojciech Tyczyński
8b758fb3b9
Remove selflink references in api tests
2022-02-14 11:11:56 +01:00
Kubernetes Prow Robot
24e5d1fdb7
Merge pull request #107432 from denkensk/graduate-nonpreemptingpriority-to-ga
...
Graduate NonPreemptingPriority to GA
2022-02-08 11:05:03 -08:00
Alex Wang
541907334e
graduate nonpreemptingpriority to ga
2022-02-08 18:11:23 +08:00
Davanum Srinivas
9682b7248f
OWNERS cleanup - Jan 2021 Week 1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-01-10 08:14:29 -05:00
Kubernetes Prow Robot
cd02a3035f
Merge pull request #106021 from ahrtr/replace_ioutil_with_io_os_pkg_api
...
Replace ioutil with io and os for pkg/api
2022-01-07 18:01:05 -08:00
Kubernetes Prow Robot
5588d5c578
Merge pull request #107159 from mengjiao-liu/improve-unit-test-coverage-pv
...
Improve test coverage: pkg/api/persistentvolume
2022-01-05 00:16:32 -08:00
Andrew Sy Kim
f68f478e66
core/v1: update unit tests to not expect internalTrafficPolicy when Service Type=ExternalName
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2022-01-04 14:48:04 -05:00
Mengjiao Liu
7319114cdd
Improve test coverage: pkg/api/persistentvolume
2021-12-21 19:01:58 +08:00
Davanum Srinivas
497e9c1971
Cleanup OWNERS files (No Activity in the last year)
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-12-15 10:34:02 -05:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-12-09 21:31:26 -05:00
Hemant Kumar
63fffd37b1
Implement API changes necessary for recovery from resize failure
2021-11-15 18:39:30 -05:00
Kubernetes Prow Robot
dcf0a031e9
Merge pull request #105885 from gnufied/move-configurable-fsgroup-ga
...
Move configurable fsgroup to GA
2021-11-10 13:53:27 -08:00
Hemant Kumar
27d1e9a4e2
Remove all references to ConfigurableFSGroupPolicy feature gate
2021-11-10 14:24:08 -05:00
Kubernetes Prow Robot
5d60c8d857
Merge pull request #102393 from mengjiao-liu/fix-sysctl-regex
...
Upgrade preparation to verify sysctl values containing forward slashes by regex
2021-11-09 18:23:26 -08:00
wangyysde
d2abddd909
rename v2beta2 to v2
...
Signed-off-by: wangyysde <net_use@bzhy.com >
Generation swagger.json.
Use v2 path for hpa_cpu_field.
run update-codegen.sh
Signed-off-by: wangyysde <net_use@bzhy.com >
2021-11-09 10:34:54 +08:00
Hemant Kumar
9d9c3000b0
Remove unnecessary unit tests that exercised disabling the feature gate
2021-11-08 16:41:26 -05:00
Mengjiao Liu
275d832ce2
Upgrade preparation to verify sysctl values containing forward slashes by regex
2021-11-04 11:49:56 +08:00
ahrtr
e8a0289455
replace ioutil with io and os for pkg/api
2021-10-30 14:49:09 +08:00
Kubernetes Prow Robot
bb24c265ce
Merge pull request #104693 from ravisantoshgudimetla/add-podOS-field
...
Add pod os field
2021-10-28 21:38:50 -07:00
Kubernetes Prow Robot
c592bd40f2
Merge pull request #105609 from pohly/generic-ephemeral-volume-ga
...
generic ephemeral volume GA
2021-10-28 17:36:50 -07:00
ravisantoshgudimetla
d7d0beb65f
api: Handle validation of PodOS field presence
2021-10-28 17:31:52 -04:00
Kubernetes Prow Robot
cc25656b00
Merge pull request #105030 from liggitt/json-stdlib
...
switch from json-iterator to forked stdlib json decoder
2021-10-21 20:40:37 -07:00
Eric Ernst
ac88cd7691
helpers: refactor and expose function for sum of container req/limits
...
Currently we only care about the sum of sandbox resources, which
includes a pod overhead if defined. We have a need for also calculating
*just* the sum of container requests/limits for CPU / Memory, so let's
do a refactor and expose this new helper function.
Signed-off-by: Eric Ernst <eric_ernst@apple.com >
2021-10-20 11:30:23 -07:00
Jordan Liggitt
bba877d3a6
Switch from json-iterator to utiljson
2021-10-20 12:49:23 -04:00
Lee Verberne
83a4ec90ae
Always set feature gates for ContainerVisitor test
...
This fixes a bug where the test was dependent on the current set of
feature gates. Since AllFeatureEnabledContainers() depends on the
feature gates it must be evaluated after the test case is initialized.
2021-10-19 08:47:57 -04:00
Patrick Ohly
a8c930ef46
generic ephemeral volume: graduation to GA
...
The feature gate gets locked to "true", with the goal to remove it in two
releases.
All code now can assume that the feature is enabled. Tests for "feature
disabled" are no longer needed and get removed.
Some code wasn't using the new helper functions yet. That gets changed while
touching those lines.
2021-10-11 20:54:20 +02:00
Khaled Henidak (Kal)
a53e2eaeab
move IPv6DualStack feature to stable. ( #104691 )
...
* kube-proxy
* endpoints controller
* app: kube-controller-manager
* app: cloud-controller-manager
* kubelet
* app: api-server
* node utils + registry/strategy
* api: validation (comment removal)
* api:pod strategy (util pkg)
* api: docs
* core: integration testing
* kubeadm: change feature gate to GA
* service registry and rest stack
* move feature to GA
* generated
2021-09-24 16:30:22 -07:00
saad-ali
beb17fe10b
Remove VolumeSubpath feature gate
...
Remove the VolumeSubpath feature gate.
Feature gate convention has been updated since this was introduced to
indicate that they "are intended to be deprecated and removed after a
feature becomes GA or is dropped.".
2021-09-17 01:59:23 -07:00
Tim Hockin
52f54ce90d
Svc REST: clean up defaultOnRead to be consistent
...
Headless+selectorless -> RequireDualStack
Headless+selector -> SingleStack
Add test cases to cover this and ExternalName and dual-stack init (which
I think can never trigger, but best to be safe).
2021-09-16 11:17:45 -07:00
Tim Hockin
b6da6c9c0f
Svc REST: Add InternalTrafficPolicy tests
...
Remove older form.
2021-09-11 11:30:01 -07:00