Gunju Kim
6317ce63c6
Add feature gate ExpandedDNSConfig
...
ExpandedDNSConfig allows kubernetes to have expanded DNS(Domain Name
System) configuration
2021-05-27 07:10:13 +09:00
Kubernetes Prow Robot
a98d3d0700
Merge pull request #100842 from ravisantoshgudimetla/add-minReadySeconds-ss
...
api: Add min ready seconds & availablereplicas for statefulsets
2021-05-26 13:45:50 -07:00
SataQiu
9cfbf06225
cleanup PodPreset testdata
2021-05-26 19:57:29 +08:00
ravisantoshgudimetla
f3ab955018
validation: Handle presence of api introduced
...
When the StatefulSetMinReadySeconds feature gate is disabled,
the registry and validation must properly handle dropping the
minReadySeconds and AvailableReplicas fields
2021-05-25 20:03:18 -04:00
ravisantoshgudimetla
5464b64981
generated: Changes for api introduced
2021-05-25 19:59:58 -04:00
ravisantoshgudimetla
49af835852
api: Introduce minReadySeconds,AvailableReplicas in Statefulset
...
The minReadySeconds field on StatefulSet specifies the minimum
number of seconds for which a newly created Pod should be
ready without any of its containers crashing, for it to
be considered available. The AvailableReplicas field
in the status reflects the replicas that are available
2021-05-25 19:59:57 -04:00
Kubernetes Prow Robot
815bae5aaa
Merge pull request #102074 from creydr/change-the-users-of-isqualifiedname-to-validatequalifiedname
...
Change the users of IsQualifiedName to ValidateQualifiedName
2021-05-24 13:38:49 -07:00
Kubernetes Prow Robot
d8f9e4587a
Merge pull request #101742 from ravisantoshgudimetla/promote-maxSurge-beta
...
Promote DS MaxSurge to beta
2021-05-23 04:33:38 -07:00
Kubernetes Prow Robot
6e4e32985a
Merge pull request #99576 from marosset/windows-host-process-work
...
Windows host process work
2021-05-20 14:16:15 -07:00
Kubernetes Prow Robot
8a70c48553
Merge pull request #102159 from roycaihw/mark-containerimage-name-optional
...
Mark ContainerImage.names as optional
2021-05-20 13:14:40 -07:00
Kubernetes Prow Robot
f52ab3845d
Merge pull request #101099 from pacoxu/podpreset-clean
...
remove pod preset testdata and args
2021-05-20 10:40:36 -07:00
Haowei Cai
1652e59c9b
mark ContainerImage.names as optional
...
kubelet is the only writer of v1.Node .status.images[].names. When an
image has neither RepoDigests nor RepoTags, the value gets stored in
etcd as null. Marking the field as optional can help JSON API clients
to avoid hitting serialization error when the returned status contains
null .status.images[].names.
2021-05-19 18:55:56 -07:00
marosset
93da0fd45d
API support for Windows host process containers
...
Co-authored-by: James Sturtevant <jstur@microsoft.com>
2021-05-19 16:24:13 -07:00
ravisantoshgudimetla
040e9c8b51
Promote DS MaxSurge to beta
2021-05-19 16:12:52 -04:00
Kubernetes Prow Robot
1d0e5ac583
Merge pull request #101916 from MartinKanters/101137-document-double-dollar-behavior
...
Added the behavior of double dollar signs in env, command and args
2021-05-19 02:20:50 -07:00
Martin Kanters
8a4cdb847c
Processed review suggestions
2021-05-18 21:11:45 +02:00
creydr
f38615fb9d
Change the users of IsQualifiedName to ValidateQualifiedName
2021-05-18 10:49:15 +02:00
Kubernetes Prow Robot
f576fa9164
Merge pull request #101230 from lojies/fixrbacvalidation
...
code cleanup:fix broken link in validation
2021-05-17 16:15:30 -07:00
Aldo Culquicondor
7c50cd762a
Use aliases in sig apps and scheduling APIs OWNERS
...
Add alculquicondor to sig-scheduling-api-reviewers and sig-apps-api-reviewers
2021-05-17 17:56:20 +00:00
Kubernetes Prow Robot
49a60be8ab
Merge pull request #101496 from ahg-g/ahg-nss-beta
...
Graduate pod affinity NamespaceSelector to Beta
2021-05-14 08:48:04 -07:00
Abdullah Gharaibeh
e49d1144d5
graduate pod affinity NamespaceSelector to Beta
2021-05-14 10:44:57 -04:00
Kubernetes Prow Robot
09268c1685
Merge pull request #101627 from rikatz/fix-ingress-doc
...
Change ingress api doc to reflect the correct path validation
2021-05-13 05:44:25 -07:00
Martin Kanters
6d77ed7375
Ran gofmt
2021-05-13 10:28:29 +02:00
chymy
5a0fc32a47
Fix link 404
...
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-05-12 11:48:48 -04:00
Martin Kanters
3bbb1f3f8d
Added the behavior of double dollar signs in env, command and args
2021-05-11 20:12:21 +02:00
Kubernetes Prow Robot
8ba1831951
Merge pull request #99391 from zhuangqh/update-doc
...
docs: fix outdated enhancement doc link
2021-05-10 12:43:36 -07:00
Ed Bartosh
c12aa0f6b7
promote HugePageStorageMediumSize to GA
2021-05-10 15:57:55 +03:00
卢振兴10069964
17889cc3ad
code cleanup:fix broken link in validation
2021-05-08 09:01:57 +08:00
Kubernetes Prow Robot
548fb43643
Merge pull request #101292 from AliceZhang2016/job_controller_metrics
...
Graduate indexed job to beta
2021-05-07 13:31:44 -07:00
Kubernetes Prow Robot
d9abcee491
Merge pull request #100936 from lojies/cleanuppkgapi
...
code cleanup for pkg/api and pkg/apis
2021-05-07 13:31:25 -07:00
Mengxue Zhang
0c99f29f98
add restriction to indexed job name
2021-05-07 13:29:01 +00:00
Kubernetes Prow Robot
b58a7e233e
Merge pull request #100879 from JaredTan95/remove_old_ip_checks
...
remove old ip checks.
2021-05-04 15:39:14 -07:00
Aldo Culquicondor
1d17b18ccf
Set OWNERS of pkg/apis to api-(approvers/reviewers)
...
Drop OWNERS in pkg/apis/core
2021-05-04 19:33:36 +00:00
JaredTan95
b6fbe5e622
remove old ip checks
...
Signed-off-by: JaredTan95 <jian.tan@daocloud.io>
2021-05-04 08:57:29 +08:00
Harry Bagdi
60377ba1a3
graduate IngressClassNamespacedParams to beta
2021-05-03 15:00:40 -07:00
Ricardo Pchevuzinske Katz
11316a6d84
Change ingress api doc to reflect the correct path validation
...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2021-04-30 16:24:03 -03:00
Mengxue Zhang
2d2ee6bc3a
change default feature gate value of IndexedJob
2021-04-30 14:36:15 +00:00
卢振兴10069964
4e447acab0
code cleanup for pkg/api and pkg/apis
2021-04-28 08:57:23 +08:00
Kubernetes Prow Robot
21ab9c4175
Merge pull request #95286 from SergeyKanzhelev/removePodUnknown
...
Deprecating PodUnknown podPhase
2021-04-27 11:21:38 -07:00
Kubernetes Prow Robot
75d571a10b
Merge pull request #101342 from rosenhouse/promote-namespace-default-labels-to-ga
...
Promote NamespaceDefaultLabelName to GA
2021-04-22 13:19:57 -07:00
Kubernetes Prow Robot
972ee2d425
Merge pull request #101034 from verb/1.22-ec-api
...
Switch alpha Pod ephemeralcontainers API to use Pod kind
2021-04-22 06:21:41 -07:00
Gabe Rosenhouse
176c07dfdd
fix up test for setting default namespace labels
2021-04-21 23:50:58 +00:00
Jiawei Wang
125fb04dbf
Relax node_id length limit to 256
2021-04-19 12:55:19 -07:00
Kubernetes Prow Robot
889f1c3951
Merge pull request #101084 from robscott/endpointslice-ip-validation
...
Updating EndpointSlice validation to match Endpoints validation
2021-04-16 17:10:21 -07:00
Kubernetes Prow Robot
df9ad4d7d2
Merge pull request #96094 from Hellcatlk/m
...
Some comments' typos
2021-04-16 11:54:22 -07:00
Kubernetes Prow Robot
27a625cf89
Merge pull request #100724 from liggitt/eviction-v1beta1
...
Add policy/v1 Eviction support
2021-04-16 10:02:22 -07:00
Kubernetes Prow Robot
24350a922e
Merge pull request #101086 from enj/enj/i/auth_owners_gen
...
Prune stale entries from OWNERS files
2021-04-15 08:27:50 -07:00
pacoxu
e9a3b92985
remove pod preset testdata and args
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-04-14 16:23:23 +08:00
Monis Khan
91241eac9b
Prune stale entries from OWNERS files
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-13 20:54:50 -04:00
Abdullah Gharaibeh
6ebafb37dd
Graduate PodDeletionCost to Beta
2021-04-13 20:01:21 -04:00
Rob Scott
764b501ac4
Updating EndpointSlice validation to match Endpoints validation
2021-04-13 15:26:19 -07:00
Jordan Liggitt
e22cd7dbc4
Generated files
...
Change-Id: Ibd7ac0392fd52ae7ce2f6864aefb47bf1b74f8c3
2021-04-13 17:27:42 -04:00
Dan Winship
4272ac92a7
Document the NodeAddressType values
2021-04-13 13:57:54 -04:00
Lee Verberne
d8ee5ab09e
Generated code for Pod-based ephemeralcontainers
2021-04-13 13:36:48 +02:00
Lee Verberne
d22dc5cb72
Switch ephemeralcontainers SR to Pod Kind
...
This changes the `/ephemeralcontainers` subresource of `/pods` to use
the `Pod` kind rather than `EphemeralContainers`.
When designing this API initially it seemed preferable to create a new
kind containing only the pod's ephemeral containers, similar to how
binding and scaling work.
It later became clear that this made admission control more difficult
because the controller wouldn't be presented with the entire Pod, so we
updated this to operate on the entire Pod, similar to how `/status`
works.
2021-04-13 13:36:48 +02:00
Kubernetes Prow Robot
d51f15ed0d
Merge pull request #100885 from enj/enj/i/auth_owners
...
Update sig-auth OWNERS
2021-04-12 22:18:49 -07:00
zhuangqh
adf28648cb
docs: fix outdated enhancement doc link
...
Signed-off-by: zhuangqh <zhuangqhc@gmail.com>
2021-04-12 15:15:58 +08:00
Kubernetes Prow Robot
3723713c55
Merge pull request #100922 from lojies/cleanupvalidation
...
code cleanup for validation.go
2021-04-10 19:05:10 -07:00
Kubernetes Prow Robot
b8c6de0e00
Merge pull request #100866 from bowei/small-validation-msg
...
Update IP address validation message to include IPv6
2021-04-10 19:04:12 -07:00
Kubernetes Prow Robot
96790dc69e
Merge pull request #100730 from mikedanese/rbacdoc
...
clarify RBAC API documentation
2021-04-09 05:20:49 -07:00
Kubernetes Prow Robot
1cedfef5c6
Merge pull request #100728 from robscott/topology-auto
...
Updating Topology Aware Hints to support "Auto" value for annotation
2021-04-09 05:20:38 -07:00
Kubernetes Prow Robot
7edb592e3d
Merge pull request #100575 from ZP-AlwaysWin/dev-moons
...
Add unit tests and fix scenarios not covered in unit tests
2021-04-09 05:19:20 -07:00
Kubernetes Prow Robot
50b0211233
Merge pull request #100245 from mengjiao-liu/Update-broken-links
...
Update `PodSpec.Overhead` broken links
2021-04-08 20:29:03 -07:00
Kubernetes Prow Robot
6409ec97e8
Merge pull request #99165 from danielamlins/test_validate_network_policy_refactor
...
TestValidateNetworkPolicy refactor
2021-04-08 14:27:49 -07:00
卢振兴10069964
9e96fe77e8
code cleanup for validation.go
2021-04-08 20:14:33 +08:00
Bowei Du
89ebf47640
Update IP address validation message to include IPv6
...
Adds unit test
Change-Id: I08c46f68b164e1ea82bf40f8a1316dfc1e95a6fb
2021-04-07 08:45:29 -07:00
Monis Khan
bca4993004
Update auth OWNERS files to only use aliases
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-07 10:46:03 -04:00
Sergey Kanzhelev
4b05fe6644
podUnknown is marked as Obsolete
2021-04-06 22:43:08 +00:00
Christian Huffman
8efa9e2f6c
Updated generated dependencies
2021-04-05 16:06:17 -04:00
Christian Huffman
3bcf407d2f
Addresses nitpicks for FSGroupPolicy
2021-04-05 15:45:40 -04:00
Mike Danese
724e760721
clarify RBAC API documentation
...
(Resource|Verb)All are meaningless in the context of openapi spec. I saw
ResourceAll used in an RBAC policy.
Change-Id: I8ab5f230bed23be902f77cadee3fbcdec6b24064
2021-03-31 17:21:56 -07:00
Rob Scott
50b377fe4e
Updating Topology Aware Hints to support "Auto" value for annotation
...
Previously only "auto" was supported, a value that was inconsistent with
Kubernetes naming patterns.
2021-03-31 15:58:42 -07:00
ZP-AlwaysWin
b56d8dd513
Add unit test
2021-03-26 11:10:30 +08:00
Daniela Lins
6c105c9e8a
Linewrap for makePort calls and lint fixes
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-25 17:12:02 +01:00
Daniela Lins
22cc8dc3a8
Specify IPV4 on tweak names
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-25 16:57:11 +01:00
Daniela Lins
f4e469ee14
Standardize Namespace and Podselector tweaks
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-25 16:50:28 +01:00
Daniela Lins
5f47d0e8ef
Reduce vertical space
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-25 16:41:06 +01:00
Daniela Lins
cb48e3cfca
Handle int and string port in makePort
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-25 16:35:23 +01:00
mengjiao.liu
2f9f72a563
Update PodSpec/Overhead
broken links
2021-03-19 13:49:13 +08:00
Aldo Culquicondor
e6c3d7b34d
Only default Job fields when feature gates are enabled
...
Also use pointer for completionMode enum
2021-03-12 20:46:52 +00:00
Kubernetes Prow Robot
faa5c8ccd4
Merge pull request #99375 from ehashman/probe-kep-2238
...
Add Probe-level terminationGracePeriodSeconds
2021-03-11 23:10:18 -08:00
Kubernetes Prow Robot
d43ffff007
Merge pull request #99298 from zshihang/csi
...
graduate CSIServiceAccountToken to beta
2021-03-11 17:28:25 -08:00
Elana Hashman
7df1259d09
Generated changes for probe terminationGracePeriodSeconds
2021-03-11 16:40:40 -08:00
Elana Hashman
81cfbccea4
Validate that readiness probes can't set terminationGracePeriodSeconds
2021-03-11 14:37:57 -08:00
Elana Hashman
9cdd673a8b
Add terminationGracePeriodSeconds to Probe API
2021-03-11 14:37:49 -08:00
Aldo Culquicondor
ae0ac3109e
Rename job completion index annotation to not contain alpha
2021-03-11 19:25:11 +00:00
Shihang Zhang
4ad1c71174
graduate CSIServiceAccountToken to beta
2021-03-09 18:36:35 -08:00
Kubernetes Prow Robot
410d092d8a
Merge pull request #99643 from pohly/generic-ephemeral-volume-beta
...
generic ephemeral volume beta
2021-03-09 17:39:26 -08:00
Kubernetes Prow Robot
05c4febbe7
Merge pull request #99975 from robscott/endpoints-over-capacity
...
Adding new EndpointsOverCapacity annotation for Endpoints controller
2021-03-09 16:08:48 -08:00
Kubernetes Prow Robot
00e81db174
Merge pull request #99946 from deads2k/tidy-node-validation-master
...
refine validation
2021-03-09 16:08:32 -08:00
Kubernetes Prow Robot
046ad61479
Merge pull request #99290 from mortent/PromotePDBsToGA
...
Promote PodDisruptionBudget to policy/v1
2021-03-09 11:05:05 -08:00
Rob Scott
8a3f72074e
Adding new EndpointsOverCapacity annotation for Endpoints controller
...
Now that the EndpointSlice API and controllers are GA, the Endpoints
controller will use this annotation to warn when Endpoints are over
capacity. In a future release, this warning will be replaced with
truncation.
2021-03-09 09:48:53 -08:00
Kubernetes Prow Robot
207c75c6f7
Merge pull request #99522 from robscott/topology-hints
...
Adding support for Topology Aware Hints
2021-03-09 09:19:12 -08:00
Kubernetes Prow Robot
dc74b9d0c7
Merge pull request #98753 from Jiawei0227/length
...
Relax csiNodeIDMaxLength to longer limit
2021-03-09 09:19:00 -08:00
Morten Torkildsen
621aed4d32
generated
2021-03-09 10:29:11 -05:00
Morten Torkildsen
21fba79d45
Promote PDBs to GA
2021-03-09 10:29:11 -05:00
Patrick Ohly
52b758c9b6
generic ephemeral volume: generate code
...
This is the result of "make update" minus the testdata update which
will be committed separately.
2021-03-09 08:22:48 +01:00
Patrick Ohly
555d4a12bf
generic ephemeral volumes: drop ReadOnly field
...
As discussed during the alpha review, the ReadOnly field is not really
needed because volume mounts can also be read-only. It's a historical
oddity that can be avoided for generic ephemeral volumes as part
of the promotion to beta.
2021-03-09 08:22:48 +01:00
Patrick Ohly
dcce753eda
generic ephemeral volumes: promote to beta
2021-03-09 08:22:48 +01:00
jay vyas
c94ce8c507
Add default namespace labels to all namespaces for selectors ( #96968 )
...
* namespace by name default labelling
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
Co-authored-by: Abhishek Raut <rauta@vmware.com>
* Make some logic improvement into default namespace label
* Fix unit tests
* minor change to trigger the CI
* Correct some tests and validation behaviors
* Add Canonicalize normalization and improve validation
* Remove label validation that should be dealt by strategy
* Update defaults_test.go
add fuzzer
ns spec
* remove the finalizer thingy
* Fix integration test
* Add namespace canonicalize unit test
* Improve validation code and code comments
* move validation of labels to validateupdate
* spacex will save us all
* add comment to testget
* readablility of canonicalize
* Added namespace finalize and status update validation
* comment about ungenerated names
* correcting a missing line on storage_test
* Update the namespace validation unit test
* Add more missing unit test changes
* Let's just blast the value. Also documenting the workflow here
* Remove unnecessary validations
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
Co-authored-by: Abhishek Raut <rauta@vmware.com>
Co-authored-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2021-03-08 20:46:59 -08:00
Kubernetes Prow Robot
a0341d7471
Merge pull request #98727 from adtac/suspend
...
batch API: add suspended job
2021-03-08 16:26:59 -08:00
Rob Scott
11f0944dbc
Adding Hints to EndpointSlice API
2021-03-08 15:37:34 -08:00
Jiawei Wang
1e16615fb0
Relax csiNodeIDMaxLength to longer limit
...
Update csiNodeIDMaxLength to 192 bytes
2021-03-08 13:52:43 -08:00
Adhityaa Chandrasekar
a0844da8f7
batch: add suspended job
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-08 20:08:21 +00:00
Patrick Ohly
2b062a6281
CSIStorageCapacity: generated files for beta
2021-03-08 20:59:52 +01:00
Patrick Ohly
a2972eba07
CSIStorageCapacity: add MaximumVolumeSize to v1beta1 API
2021-03-08 20:52:50 +01:00
Patrick Ohly
a94c141060
CSIStorageCapacity: promote API to beta
...
The v1alpha1 API is left in place for now to ease the migration.
2021-03-08 20:52:50 +01:00
Patrick Ohly
504f105a9e
CSIStorageCapacity: prepare tests for enabling the feature by default
...
Defaults and validation are such that the field has to be set when
the feature is enabled, just as for the other boolean fields. This
was missing in some tests, which was okay as long as they ran
with the feature disabled. Once it gets enabled, validation will
flag the missing field as error.
Other tests didn't run at all.
2021-03-08 20:52:50 +01:00
David Eads
2a0ef026b6
deepcopy statefulsets
2021-03-08 10:03:26 -05:00
David Eads
eb264c05c5
full deepcopy on munged pod spec
2021-03-08 10:02:56 -05:00
David Eads
5130ea0da3
remove pod toleration toleration seconds mutation
2021-03-08 10:02:51 -05:00
David Eads
5570a81040
add markers for inspected validation mutation hits
2021-03-08 10:02:46 -05:00
David Eads
bd5b1e2d05
move secret mutation from validation to prepareforupdate
2021-03-08 10:02:41 -05:00
David Eads
555eba5651
remove unnecessary mutations in validation
...
These mutations are already done in the strategy
2021-03-08 10:02:29 -05:00
David Eads
d000f2c8c5
tweak validation to avoid mutation
2021-03-08 09:58:34 -05:00
Daniela Lins
853d2a6a0a
Delete not used tweak
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-08 15:03:12 +01:00
Fangyuan Li
7ed2f1d94d
Implements Service Internal Traffic Policy
...
1. Add API definitions;
2. Add feature gate and drops the field when feature gate is not on;
3. Set default values for the field;
4. Add API Validation
5. add kube-proxy iptables and ipvs implementations
6. add tests
2021-03-07 16:52:59 -08:00
Daniela Lins
36e040f86e
Fix empty setter logic
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-07 13:13:09 +01:00
Patrick Ohly
fb4b380fe2
PSP: validation errors for generic volume type
...
It's not enough to silently drop the volume type if the feature is
disabled. Instead, the policy should fail validation, just as it would
have if the API server didn't know about the feature at all.
2021-03-07 10:58:45 +01:00
Patrick Ohly
38384d5c13
PSP: conditional support for generic volume type
...
When introducing the new "generic" volume type for generic ephemeral
inline volumes, the storage policy for PodSecurityPolicy objects
should have been extended so that this new type is valid only
if the generic ephemeral volume feature is enabled or an
existing object already has it.
Adding the new type to the internal API was also missed.
2021-03-07 10:56:48 +01:00
Kubernetes Prow Robot
36244f31ef
Merge pull request #99662 from swetharepakula/eps-ga-api-changes
...
Graduate EndpointSlice API to GA
2021-03-06 15:23:54 -08:00
Harry Bagdi
a7fc92089a
Add namespace scoped ParametersReference to IngressClass
2021-03-07 00:45:32 +05:30
Daniela Lins
0444bdc944
Remove success case comments
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-06 19:18:19 +01:00
Daniela Lins
f8e7d30e46
Make tweaks only reset slices if empty
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-06 18:58:33 +01:00
Daniela Lins
6d330d9738
Refactored setIngressPorts and setEgressPorts
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-03-06 16:51:35 +01:00
Kubernetes Prow Robot
4e95e1df04
Merge pull request #98515 from lala123912/huge_page
...
Add request value verification for hugepage
2021-03-05 22:11:43 -08:00
Swetha Repakula
a9891b4b9b
Graduate EndpointSlice API to GA
...
* Removes discovery v1alpha1 API
* Replaces per Endpoint Topology with a read only DeprecatedTopology
in GA API
* Adds per Endpoint Zone field in GA API
2021-03-05 12:02:41 -08:00
Kubernetes Prow Robot
b2af8aefba
Merge pull request #97216 from joejulian/docs_missing_quotes
...
Re-clarify NetworkPolicy policyTypes in docs
2021-03-05 11:21:42 -08:00
Joe Julian
e7945befbc
Re-clarify NetworkPolicy policyTypes in docs
2021-03-05 09:07:12 -08:00
Maciej Szulik
1fc8fe0f7d
Generated changes
2021-03-05 14:03:05 +01:00
Maciej Szulik
9364d0fc81
Promote CronJobs to batch/v1
2021-03-05 12:44:23 +01:00
Maciej Szulik
22b3a9cd21
Introduce .status.lastSuccessfulTime field for CronJob
2021-03-05 12:44:23 +01:00
lala123912
e162fcc1bf
Add request value verification for hugepage
2021-03-05 17:36:22 +08:00
Kubernetes Prow Robot
66cbf0196b
Merge pull request #98277 from XudongLiuHarold/add-loadbalancerclass-field
...
Add LoadBalancerClass field in service
2021-03-04 23:56:21 -08:00
Morten Torkildsen
b08eb95168
generated
2021-03-04 19:03:00 -08:00
Morten Torkildsen
1e2a7f381f
Add conditions to PDB status
2021-03-04 18:52:02 -08:00
Xudong Liu
72da0b1bb0
Add LoadBalancerClass field in service
...
KEP-1959: https://github.com/kubernetes/enhancements/tree/master/keps/sig-cloud-provider/1959-service-lb-class-field
2021-03-04 17:11:50 -08:00
Rob Scott
8bd6b5d15c
Increasing maximum number of ports allowed in EndpointSlice
2021-03-04 10:04:04 -08:00
Abdullah Gharaibeh
3c5f018f8e
Add CrossNamespacePodAffinity quota scope and PodAffinityTerm.NamespaceSelector APIs, and CrossNamespacePodAffinity quota scope implementation.
2021-03-03 22:52:43 -05:00
Kubernetes Prow Robot
4013bd17c3
Merge pull request #99555 from thockin/dualstack-bugs-from-rest-overhaul
...
Two small bugs in dual-stack init
2021-03-03 14:41:29 -08:00
Kubernetes Prow Robot
4da27a93b3
Merge pull request #99444 from mengjiao-liu/update-signerName-field-description
...
Clarify external CSR signerName field description
2021-03-03 14:41:13 -08:00
Kubernetes Prow Robot
aeff7ae701
Merge pull request #99414 from Jiawei0227/type
...
Update inline volume spec comments
2021-03-03 14:41:05 -08:00
Kubernetes Prow Robot
7b0ad65d4d
Merge pull request #99288 from supriya-premkumar/ineffassign
...
Adds ineffassign to GO linter script.
2021-03-03 14:40:46 -08:00
Tim Hockin
84856c7cae
Remove defaults for ipFamilyPolicy and ipFamilies
...
These same values are set in the REST stack and it's easier to maintain
that code all in one place.
defaults.go is best for static values.
2021-03-03 09:42:02 -08:00
Supriya Premkumar
e52e5e486c
Adds ineffassign to GO linter script.
...
Changes:
- Enables ineffassign check in the verify scripts.
- Fixes lint errs.
2021-03-03 08:28:10 -08:00
Aldo Culquicondor
a1a5868a5a
Add Job.spec.completionMode and Job.status.completedIndexes
...
And IndexedJob feature gate, disabled by default.
Update JobDescriber
2021-03-03 15:10:18 +00:00
Jordan Liggitt
4515889574
Prefer v1 storage versions
2021-03-02 12:06:13 -05:00
Kubernetes Prow Robot
e4bf1eb98e
Merge pull request #97139 from filintod/master
...
Update networking ingress types for Ingress Backend Service Port name
2021-03-01 21:09:23 -08:00
Abdullah Gharaibeh
d7e80ab038
Implement pod deletion cost
2021-03-01 13:45:58 -05:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
mengjiao.liu
cb4139cdde
update SingnerName field doc
2021-02-28 18:21:29 +08:00
Kubernetes Prow Robot
c200a8f9b7
Merge pull request #98433 from damemi/remove-helper-from-volume-zone
...
Move GetPersistentVolumeClaimClass to component-helpers
2021-02-26 12:38:15 -08:00
mengjiao.liu
3a09f7e5e4
Clarify external CSR signerName description
2021-02-25 16:34:37 +08:00
Jiawei Wang
819a3be084
Update inline volume spec comments
2021-02-24 21:23:36 -08:00
Daniela Lins
611f061c45
Change error msg and comments to easily find test
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-02-24 13:09:13 +01:00
xiaofei.sun
fd62f32125
Scheduler: remove pkg/apis/core/field_constants.go
2021-02-24 18:06:29 +08:00
Daniela Lins
f7482a6766
Went through the review notes
...
- Adapt tweaks to be clearer
- Use intstr.fromInt and intstr.fromStr
- Added more tests to invalid ports
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-02-21 12:22:17 +01:00
Daniela Lins
c9a5bf14d8
Fixed gofmt issues
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-02-18 10:02:27 +01:00
Daniela Lins
8572c973d8
Add IPV6 IPBlock to success cases
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-02-17 23:02:57 +01:00
Kubernetes Prow Robot
4f1dd5d2fb
Merge pull request #96987 from soltysh/drop_batch-alpha
...
Drop batch/v2alpha1
2021-02-17 06:35:06 -08:00
Daniela Lins
77da0540e6
Add tweaks and use them to build error structs
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-02-16 19:46:35 +01:00
Nikhita Raghunath
6cef3a4e33
*: remove nikhiljindal from OWNERS
2021-02-16 10:59:26 +05:30
Nikhita Raghunath
dc3f59c881
*: remove mbohlool from reviewers
2021-02-16 10:59:27 +05:30
Nikhita Raghunath
6b12c96a9b
*: remove madhusudancs from reviewers
2021-02-16 10:59:26 +05:30
Nikhita Raghunath
e1b6089e7e
*: remove jianhuiz from reviewers
2021-02-16 10:59:26 +05:30
Nikhita Raghunath
b11516d69f
*: move gmarek to emeritus_approvers
2021-02-16 10:59:19 +05:30
Daniela Lins
50d93d989f
Add tweaking functions to TestValidateNetworkPolicy
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com>
2021-02-13 17:57:04 +01:00
Maciej Szulik
7d9f36cd85
Generated changes
2021-02-12 17:51:15 +01:00
Maciej Szulik
3dab7462d1
Drop batch/v2alpha1 API
2021-02-12 17:51:12 +01:00
Kubernetes Prow Robot
2d153fe04e
Merge pull request #98969 from khenidak/beta-feature
...
upgrade IPv6DualStack feature to beta and turn on by default
2021-02-11 11:53:37 -08:00
Kubernetes Prow Robot
91e4b9dd7d
Merge pull request #98726 from cpanato/followup-endport
...
networking/validation: add endport range validation
2021-02-11 11:53:26 -08:00
Khaled (Kal) Henidak
32b9e31c23
ammend tests to ensure feat gate is off when expected (beta: gate is always on)
2021-02-10 23:58:55 +00:00
lala123912
d85bf77d26
organize apis unit tests into subtests
2021-02-09 15:43:27 +08:00
Kubernetes Prow Robot
7bbffd1126
Merge pull request #96911 from munnerz/fix-typo-admission-chain
...
Fix typo in API docs for sideEffects field on admission webhook resources
2021-02-04 13:22:52 -08:00
Carlos Panato
e57ea32158
networking/validation: add endport range validation
2021-02-04 10:28:26 +01:00
Ricardo Katz
b7c82bb83c
Add EndPort to Network Policy - Alpha ( #97058 )
...
* Fix merge conflict in kube_features
* Add alpha support for EndPort in Network Policy
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Add alpha support for EndPort in Network Policy
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Add alpha support for EndPort in Network Policy
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Correct some nits
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
* Add alpha support for EndPort in Network Policy
* Add alpha support for EndPort in Network Policy
* Add alpha support for EndPort in Network Policy
* Add alpha support for EndPort in Network Policy
2021-02-01 19:24:28 -08:00
Mike Dame
578ff3ec34
Move Taint/Toleration helpers to component-helpers repo
...
This is part of the goal for scheduling to remove dependencies on internal
packages for the scheduling framework. It also provides these functions in an
external location for other components and projects to import.
2021-02-01 11:06:03 -05:00
Mike Dame
ba72411aa2
Move GetPersistentVolumeClaimClass to component-helpers
...
The goal of this move is related to issue 89930, to break the dependence
of scheduling plugins on internal helpers. This function can easily move to
component-helpers where it will be used by other components as well.
2021-02-01 10:48:38 -05:00
Kubernetes Prow Robot
0a0490e34f
Merge pull request #98576 from kevindelgado/ssa
...
Fix SSA for APIService
2021-01-29 17:21:58 -08:00
Jordan Liggitt
dab5112240
Declare TCP default for service port protocol
2021-01-29 18:30:34 +00:00
Mike Dame
73d8eba1a4
Scheduler: move GetAvoidPodsFromNodeAnnotations to component-helpers
2021-01-28 14:41:55 -05:00
Kubernetes Prow Robot
2df1c6a0fa
Merge pull request #92065 from pohly/podinfo-doc-fix
...
storage: document csi.storage.k8s.io/ephemeral also for internal type
2021-01-25 08:14:54 -08:00
Kubernetes Prow Robot
edff05ce42
Merge pull request #97865 from alculquicondor/job-validate-test
...
Increase coverage of Job validation
2021-01-20 10:38:30 -08:00
Kubernetes Prow Robot
5e9b43eab6
Merge pull request #96960 from Jefftree/defaulter-diff
...
Update defaulter gen to not use reflect
2021-01-15 17:07:44 -08:00
he.qingguo
fe499b5960
Fix typo of invalide in claims.go]
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-09 16:41:45 +08:00
Aldo Culquicondor
14a5b5c859
Add test for ValidateJobUpdate
...
Change-Id: If194f941919e2f4256001030a96101b6c91c4d08
2021-01-08 15:20:08 -05:00
Aldo Culquicondor
0309b8ac9b
Use t.Run in Job validation tests
...
Change-Id: I0bc69c59b5ccfc9bb323295fed3478341f7a7b21
2021-01-08 14:29:27 -05:00
Kubernetes Prow Robot
c5cc25d1cb
Merge pull request #97615 from wojtek-t/immutable_secrets_ga
...
Promote Immutable Secrets/ConfigMaps to Stable
2021-01-07 00:03:45 -08:00
Aldo Culquicondor
4c85317d8d
Use autogenerated Job conversion functions
...
Change-Id: I46691310faa1973b153e344c95989bbea0ac8d6c
2020-12-30 13:19:32 -05:00
wojtekt
0f88bbe9b1
Promote Immutable Secrets/ConfigMaps feature to GA
2020-12-30 16:00:41 +01:00
Clayton Coleman
c37c93f47a
validation: Handle presence of MaxSurge on DaemonSet
...
When the maxsurge daemonset gate is disabled, the registry and validation
must properly handle stripping the field. In the special case where that
would leave the MaxUnavailable field set to 0, we must set it to 1 which
is the default value.
2020-12-17 09:00:56 -05:00
Clayton Coleman
ac77b3835b
generated: Changes for DaemonSet max surge
2020-12-17 09:00:56 -05:00
Clayton Coleman
5aa53f885c
api: Add DaemonSet MaxSurge
...
The MaxSurge field on DaemonSet rolling updates allows a daemonset
workload to have two pods running simultaneously on a node during
an update in order to perform zero-disruption handoffs of client
traffic.
2020-12-17 09:00:55 -05:00
Kubernetes Prow Robot
0580273e5f
Merge pull request #96353 from latteczy/add_helper_test
...
add unit test for helper.go
2020-12-16 21:41:09 -08:00
caozhiyuan
9b19dfca2c
add unit test for helper.go
2020-12-17 12:40:29 +08:00
Jefftree
6addd69529
Update generator to not use reflect
2020-12-14 16:38:23 -08:00
Filinto Duran
2d4794513e
Update types.go
...
Minor comment on BackendPort Name that should follow IANA. Service port names do not have this restriction so there is a mismatch.
2020-12-10 04:06:39 -06:00
Kubernetes Prow Robot
ddf3eb5a18
Merge pull request #96736 from andrewsykim/deprecate-topology-keys
...
core/v1: deprecate Service topologyKeys
2020-12-08 18:36:22 -08:00
Kubernetes Prow Robot
83b2c7a1bf
Merge pull request #96311 from thockin/kep-1659-topology-labels
...
Convert users of old failure-domain labels to new
2020-12-08 17:28:27 -08:00
Kubernetes Prow Robot
4f2c21f9e8
Merge pull request #93549 from Dean-Coakley/fix-res-quota-comments
...
Fix ResourceQuota comments
2020-12-08 16:28:36 -08:00
James Munnelly
69ddaf194f
Fix doc comment typo on validating & mutating webhook resources
2020-11-27 10:41:46 +00:00
Andrew Sy Kim
c753c48f30
core/v1: deprecate Service topologyKeys
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-19 21:09:48 -05:00
Kubernetes Prow Robot
05d1b94a70
Merge pull request #96317 from Jefftree/test-ssa
...
Integrate defaults marker to defaulter-gen
2020-11-13 22:35:03 -08:00
Kubernetes Prow Robot
36f571404f
Merge pull request #96527 from adtac/apfbeta
...
promote API priority and fairness types and APIs to beta
2020-11-13 19:33:04 -08:00
Jefftree
50e7aa49aa
Integrate defaults marker and remove ContainerPort defaulter
2020-11-13 17:27:40 -08:00
Adhityaa Chandrasekar
642b114830
flowcontrol bootstrap: give catch-all PL more concurrency share
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:42 +00:00
yue9944882
849be447f5
APF: graduate API and types to beta
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:39 +00:00
Laszlo Janosi
c970a46bc1
Mixed protocol support for Services with type=LoadBalancer ( #94028 )
...
* Mixed protocol support for Services with type=LoadBalancer
KEP: https://github.com/kubernetes/enhancements/blob/master/keps/sig-network/20200103-mixed-protocol-lb.md
Add new feature gate to control the support of mixed protocols in Services with type=LoadBalancer
Add new fields to the ServiceStatus
Add Ports to the LoadBalancerIngress, so cloud provider implementations can report the status of the requested load balanc
er ports
Add ServiceCondition to the ServiceStatus so Service controllers can indicate the conditions of the Service
* regenerate conflicting stuff
2020-11-13 13:21:04 -08:00
Lars Ekman
8fca0f9955
Update generated files
2020-11-13 07:42:58 +01:00
Lars Ekman
1f4d852f2f
Add service.spec.AllocateLoadBalancerNodePorts
2020-11-13 07:37:22 +01:00
Kubernetes Prow Robot
198b2fdb14
Merge pull request #95739 from huffmanca/relax-csi-fsgroup-validation
...
Relax validation for CSIVolumeFSGroupPolicy and move to beta
2020-11-12 17:10:24 -08:00
Kubernetes Prow Robot
1a4e1f6534
Merge pull request #96528 from andrewsykim/service-topology-gate
...
core/v1: document that topologyKeys requires the ServiceTopology feature gate
2020-11-12 16:03:35 -08:00
Kubernetes Prow Robot
94b17881fc
Merge pull request #96454 from Sh4d1/revert_92312
...
Revert "Merge pull request #92312 from Sh4d1/kep_1860"
2020-11-12 16:03:24 -08:00
Kubernetes Prow Robot
765d949bfc
Merge pull request #96440 from robscott/endpointslice-pre-ga
...
Adding NodeName to EndpointSlice API, deprecation updates
2020-11-12 16:03:13 -08:00
Christian Huffman
701b42ca2b
Corrected CSIDriver validation rebase issues
2020-11-12 16:45:26 -05:00
Christian Huffman
8444823bed
Remove duplicate CSIDriver name validation
2020-11-12 16:32:36 -05:00
Christian Huffman
3287dbf914
Adjust CSIDriver validation to check objectmeta
2020-11-12 16:30:40 -05:00
Christian Huffman
01f70d69b7
Move CSIVolumeFSGroupPolicy to beta
2020-11-12 16:28:54 -05:00
Christian Huffman
6b9348e878
Relax validation for CSIVolumeFSGroupPolicy
2020-11-12 16:26:20 -05:00
Kubernetes Prow Robot
4b46d44e0c
Merge pull request #96327 from robscott/app-protocol-ga
...
Graduating AppProtocol to GA
2020-11-12 13:16:39 -08:00
Rob Scott
84e4b30a3e
Updates related to PR feedback
...
- Remove feature gate consideration from EndpointSlice validation
- Deprecate topology field, note that it will be removed in future
release
- Update kube-proxy to check for NodeName if feature gate is enabled
- Add comments indicating the feature gates that can be used to enable
alpha API fields
- Add comments explaining use of deprecated address type in tests
2020-11-12 12:30:50 -08:00
Andrew Sy Kim
08774ecc74
core/v1: document that topologyKeys requires the ServiceTopology feature gate
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-12 14:33:49 -05:00
Tim Hockin
4068402459
Change trivial topology labels
...
In these cases the actual label key is incidental.
2020-11-12 11:21:37 -08:00
Shihang Zhang
d2859cd89b
plumb service account token down to csi driver
2020-11-12 09:26:43 -08:00
Kubernetes Prow Robot
12d9183da0
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
...
RuntimeClass GA
2020-11-12 00:44:51 -08:00
Kubernetes Prow Robot
bffdc87241
Merge pull request #95282 from xing-yang/snapshot_ga
...
Move Snapshot to GA
2020-11-11 17:34:50 -08:00
Rob Scott
ff46573692
Cleaning up EndpointSlice update validation tests
2020-11-11 16:50:50 -08:00
Rob Scott
9613f79add
Adding NodeName to EndpointSlice API, deprecation updates
...
In addition to adding NodeName, this notes that the topology field will
be deprecated soon. It also removes the IP address type that was
deprecated in Kubernetes 1.17 and intended to be removed in 1.20.
2020-11-11 16:50:23 -08:00
Kubernetes Prow Robot
8be0a29ce0
Merge pull request #95747 from SataQiu/fix-job-default-20201021
...
Fix the validation logic for Job/CronJob RestartPolicy field
2020-11-11 14:35:00 -08:00
Sergey Kanzhelev
06da0e5e74
GA of RuntimeClass feature gate and API
2020-11-11 19:22:32 +00:00
Chelsey Chen
31f7b5f606
Set priority of Event v1 higher than v1beta1
2020-11-11 10:47:20 -05:00
Patrik Cyvoct
d29665cc17
Revert "Merge pull request #92312 from Sh4d1/kep_1860"
...
This reverts commit ef16faf409
, reversing
changes made to 2343b8a68b
.
2020-11-11 10:26:53 +01:00
SataQiu
961d062e9a
fix the validation logic for Job/CronJob RestartPolicy field
2020-11-11 14:16:36 +08:00
Kubernetes Prow Robot
a27a357ba1
Merge pull request #86102 from derekwaynecarr/downward-api
...
Add support for hugepages in downward API
2020-11-10 21:43:57 -08:00
Derek Carr
45bd6cb186
Downward API hugepages
2020-11-10 16:09:13 -05:00
Kubernetes Prow Robot
6068f12e90
Merge pull request #96376 from gnufied/fsgroup-change-policy-beta
...
Move fsGroupChangePolicy feature to beta
2020-11-10 12:43:45 -08:00
Hemant Kumar
006020b71e
Move fsGroupChangePolicy feature to beta
2020-11-09 21:49:11 -05:00
Kubernetes Prow Robot
4261200724
Merge pull request #93873 from roycaihw/storage-version/handler
...
Apiserver updates storageversions API and filters certain write requests during bootstrap
2020-11-09 17:30:41 -08:00
Haowei Cai
23f77ce7c6
fixup! apiserver correctly validates encoding/decodable versions
2020-11-09 15:23:13 -08:00
Rob Scott
b044fadf66
Graduating AppProtocol to GA
2020-11-09 11:08:19 -08:00
Haowei Cai
7bcd25907a
apiserver correctly validates encoding/decodable versions
2020-11-08 18:53:40 -08:00
Patrik Cyvoct
20fc86df25
fix defaulting
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:59 +01:00
Patrik Cyvoct
fea88f44a7
fix build
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:57 +01:00
Patrik Cyvoct
40dcef27c4
fix nit in validation
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:56 +01:00
Patrik Cyvoct
540901779c
fix reviews
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:53 +01:00
Patrik Cyvoct
af7494e896
Update generated
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:52 +01:00
Patrik Cyvoct
7bdf2af648
fix review
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:51 +01:00
Patrik Cyvoct
7460f9e00b
fix rebase
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:30 +01:00
Patrik Cyvoct
0153b96ab8
fix review
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:27 +01:00
Patrik Cyvoct
47ae7cbf52
Add route type field to loadbalancer status ingress
...
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 09:59:58 +01:00
Kubernetes Prow Robot
cccd77bd3a
Merge pull request #92968 from andrewsykim/endpointslice-termination
...
Add Terminating Condition to EndpointSlice
2020-11-05 19:32:50 -08:00
Kubernetes Prow Robot
fc87c5927c
Merge pull request #95992 from serathius/datapolicy-apis
...
gAdd datapolicy tags to pkg/apis
2020-11-05 18:36:56 -08:00
Andrew Sy Kim
7cf19e5fb7
endpointslice API: rename 'accepting' condition to 'serving' condition
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-05 19:18:45 -05:00
Andrew Sy Kim
6e6d417993
endpointslice API: add accepting and terminating conditions
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-05 19:18:45 -05:00
xing-yang
c0eaee3494
Move Snapshot to GA
2020-11-03 03:14:18 +00:00
Kubernetes Prow Robot
17dcccbe07
Merge pull request #96109 from ingvagabund/move-IsScalarResourceName-under-scheduler
...
Move pkg/apis/core/v1.IsScalarResourceName under pkg/scheduler/util
2020-11-02 10:24:27 -08:00
Kubernetes Prow Robot
a704860194
Merge pull request #94480 from wojtek-t/remove_conversion_fields
...
Remove FieldMatchingFlags
2020-11-02 06:26:52 -08:00
zouyu
7dd4622c84
Some comments' typos
...
Signed-off-by: zouyu <zouy.fnst@cn.fujitsu.com>
2020-11-02 15:05:23 +08:00
Kubernetes Prow Robot
ad6a2af7d8
Merge pull request #95531 from damemi/move-scheduler-helpers
...
Move MatchNodeSelectorTerms to k8s.io/component-helpers
2020-10-29 20:06:05 -07:00
Kubernetes Prow Robot
a71334b64c
Merge pull request #95925 from deads2k/doc-events
...
Event: Document TTL and best-effort-ness
2020-10-29 17:40:22 -07:00
Kubernetes Prow Robot
e91cb0b1b5
Merge pull request #95196 from thockin/auto-wipe-linked-service-fields
...
Automatically wipe dependent fields on service "type" updates
2020-10-29 17:40:06 -07:00
Mike Dame
b7ba77c25b
Move MatchNodeSelectorTerms to k8s.io/component-helpers
2020-10-29 13:39:13 -04:00
wojtekt
a19f528351
Remove FieldMatchingFlags
2020-10-29 18:25:51 +01:00
Marek Siarkowicz
945e1e7892
Add datapolicy tags to pkg/apis
2020-10-29 18:07:32 +01:00
Kubernetes Prow Robot
2729b8e375
Merge pull request #95871 from damemi/move-unchanged-scheduler-helpers
...
Change function signature for MatchNodeSelectorTerms
2020-10-29 04:18:59 -07:00
Tim Hockin
4f8fb1d3ca
Wipe some fields on service "type" updates
...
Service has had a problem since forever:
- User creates a service type=LoadBalancer
- We silently allocate them a NodePort
- User changes type to ClusterIP
- We fail the operation because they did not clear NodePort
They never asked for or used the NodePort!
Dual-stack introduced some dependent fields that get auto-wiped on
updates. This carries it further.
If you squint, you can see Service as a big, messy discriminated union,
with type as the discriminator. Ignoring fields for non-selected
union-modes seems right.
This introduces the potential for an apply loop. Specifically, we will
accept YAML that we did not previously accept. Apply could see the
field in local YAML and not in the server and repeatedly try to patch it
in. But since that YAML is currently an error, it seems like a very low
risk. Almost nobody actually specifies their own NodePort values.
To mitigate this somewhat, we only auto-wipe on updates. The same YAML
would fail to create. This is a little inconsistent. We could
auto-wipe on create, too, at the risk of more potential impact.
To do this properly, we need to know the old and new values, which means
we can not do it in defaulting or conversion. So we do it in strategy.
This change also adds unit tests and updates e2e tests to rely on and
verify this behavior.
2020-10-28 10:41:26 -07:00
W. Trevor King
f95ec84322
Event: Document TTL and best-effort-ness
...
Generally try to waive away folks who see a particular event stream
and feel tempted to extrapolate and build tooling that expects the
same underlying resource transition chain to continue to produce a
similar event stream as the underlying components evolve and are
updated. New controllers should not be constrained to be
backwards-compatible with previous versions with regard to Event
emission. This is distinct from the Event type itself, which has the
usual Kubernetes-API compatibility commitments for versioned types.
The EventTTL default has been 1h since 7e258b85bd
(Reduce TTL for
events in etcd from 48hrs to 1hr, 2015-03-11, #5315 ), and remains so
today:
$ git --no-pager log -1 --format='%h %s' origin/master
8e5c02255c
Merge pull request #90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test
$ git --no-pager grep EventTTL: 8e5c02255c
cmd/kube-apiserver/app/options/options.go
8e5c02255cc:cmd/kube-apiserver/app/options/options.go: EventTTL: 1 * time.Hour,
In this space [1,2]:
To avoid filling up master's disk, a retention policy is enforced:
events are removed one hour after the last occurrence. To provide
longer history and aggregation capabilities, a third party solution
should be installed to capture events.
...
Note: It is not guaranteed that all events happening in a cluster
will be exported to Stackdriver. One possible scenario when events
will not be exported is when event exporter is not running
(e.g. during restart or upgrade). In most cases it's fine to use
events for purposes like setting up metrics and alerts, but you
should be aware of the potential inaccuracy.
...
To prevent disturbing your workloads, event exporter does not have
resources set and is in the best effort QOS class, which means that
it will be the first to be killed in the case of resource
starvation.
Although that's talking more about export from etcd -> external
storage, and not about cluster components submitting events to etcd.
[1]: https://kubernetes.io/docs/tasks/debug-application-cluster/events-stackdriver/
[2]: https://github.com/kubernetes/website/pull/4155/files#diff-d8eb69c5436aa38b396d4f3ed75e4792R10
2020-10-27 15:36:37 -04:00
Mike Dame
d9f334683e
Change function signature for MatchNodeSelectorTerms
...
As part of externalizing this function to the k8s.io/component-helpers repo,
this commit simplifies the function signature and makes its 2 helpers private
(nodeSelectorRequirementsAsSelector and nodeSelectorRequirementsAsFieldSelector).
2020-10-27 12:52:06 -04:00
Jan Chaloupka
6822a0ec20
Move pkg/apis/core/v1.IsScalarResourceName under pkg/scheduler/util
...
IsScalarResourceName is imported only inside pkg/scheduler packages.
2020-10-27 13:40:32 +01:00
Khaled Henidak (Kal)
6675eba3ef
dual stack services ( #91824 )
...
* api: structure change
* api: defaulting, conversion, and validation
* [FIX] validation: auto remove second ip/family when service changes to SingleStack
* [FIX] api: defaulting, conversion, and validation
* api-server: clusterIPs alloc, printers, storage and strategy
* [FIX] clusterIPs default on read
* alloc: auto remove second ip/family when service changes to SingleStack
* api-server: repair loop handling for clusterIPs
* api-server: force kubernetes default service into single stack
* api-server: tie dualstack feature flag with endpoint feature flag
* controller-manager: feature flag, endpoint, and endpointSlice controllers handling multi family service
* [FIX] controller-manager: feature flag, endpoint, and endpointSlicecontrollers handling multi family service
* kube-proxy: feature-flag, utils, proxier, and meta proxier
* [FIX] kubeproxy: call both proxier at the same time
* kubenet: remove forced pod IP sorting
* kubectl: modify describe to include ClusterIPs, IPFamilies, and IPFamilyPolicy
* e2e: fix tests that depends on IPFamily field AND add dual stack tests
* e2e: fix expected error message for ClusterIP immutability
* add integration tests for dualstack
the third phase of dual stack is a very complex change in the API,
basically it introduces Dual Stack services. Main changes are:
- It pluralizes the Service IPFamily field to IPFamilies,
and removes the singular field.
- It introduces a new field IPFamilyPolicyType that can take
3 values to express the "dual-stack(mad)ness" of the cluster:
SingleStack, PreferDualStack and RequireDualStack
- It pluralizes ClusterIP to ClusterIPs.
The goal is to add coverage to the services API operations,
taking into account the 6 different modes a cluster can have:
- single stack: IP4 or IPv6 (as of today)
- dual stack: IPv4 only, IPv6 only, IPv4 - IPv6, IPv6 - IPv4
* [FIX] add integration tests for dualstack
* generated data
* generated files
Co-authored-by: Antonio Ojea <aojea@redhat.com>
2020-10-26 13:15:59 -07:00
Arjun Naik
0fec7b0f7e
Added functionality and API for pod autoscaling based on container resources
...
Signed-off-by: Arjun Naik <anaik@redhat.com>
2020-10-21 21:10:05 +02:00
Kubernetes Prow Robot
a8a779133a
Merge pull request #95502 from suramrit/lintCorrection
...
Fix golint errors by adding definition comments for pkg/apis/apiserverinternal
2020-10-20 12:56:33 -07:00
Dan Winship
3a110546ed
Move SCTP to GA
2020-10-15 08:56:33 -04:00
Suramrit Singh
e0249c4b0b
- fix golint errors by adding defition comments
...
- remove /pkg/apiserverinternal from .golint_failures
2020-10-12 15:03:53 -07:00
Kubernetes Prow Robot
1a66eb7b8a
Merge pull request #89482 from renatoviana12/master
...
fixed percentage behaviour in instr
2020-10-05 20:00:19 -07:00
Kubernetes Prow Robot
6e9475bcd3
Merge pull request #94910 from yashvardhan-kukreja/issue-94602/fix-comment-declaration-event
...
Cleaned up: the potentially misleading comment under Event struct
2020-10-05 06:23:06 -07:00
Yashvardhan Kukreja
07d0b4a8bc
Cleaned up and fixed: the potentially misleading comments around Event struct
2020-10-05 15:28:59 +05:30
Renato Viana
316eff8dee
Fixed percentage behavior in instr
...
fixed syntax, wrote a test
fixed a test
.
1
Update staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
Co-Authored-By: Joel Speed <Joel.speed@hotmail.co.uk>
added test
.
fix
fix test
fixed a test
gofmt
lint
fix
function name
validation fix
.
godocs added
.
2020-09-30 21:23:05 +01:00
wawa0210
6709d4f938
Keep the imagePullPolicy of kubectl alpha debug consistent with the default
2020-09-24 00:22:53 +08:00
David Eads
c7911a384c
remove pod presets
2020-09-14 09:24:40 -04:00
Haowei Cai
07506ab384
generated
2020-09-08 19:14:36 -07:00
Chao Xu
86dd4ce3b5
Let kube-apiserver host the storage version API
...
Co-authored-by: Haowei Cai <haoweic@google.com>
2020-09-08 19:14:36 -07:00
Haowei Cai
769f057004
generated
2020-09-08 14:34:55 -07:00
Haowei Cai
d7ff169552
fix import paths
2020-09-08 14:34:55 -07:00
Haowei Cai
096f32d1b3
update doc.go and register.go
2020-09-08 14:34:55 -07:00
Haowei Cai
1f4a4e9040
move apiserverinternal types to kube-apiserver
...
move versioned types to k8s.io/api;
cleanup generated files
2020-09-08 14:34:55 -07:00
Daniel Smith
a86afc12df
update scripts
2020-09-02 10:49:40 -07:00
Daniel Smith
75f835aa08
move port definitions to a common location
2020-09-02 10:48:25 -07:00
Kubernetes Prow Robot
cc14d5f3a1
Merge pull request #94338 from JeremyShih/fix-golint-error-in-admissionregistration
...
fixed golint error in pkg/apis/admissionregistration/validation
2020-09-02 10:37:19 -07:00
Matthew Fenwick
d407129cf7
modify DNS-1123 error messages to indicate that RFC 1123 is not followed exactly
2020-09-02 08:04:04 -04:00
Jeremy Shih
4ee5cdc838
fixed golint error in pkg/apis/admissionregistration
2020-08-31 09:43:51 +08:00
Kubernetes Prow Robot
0a1aa394b7
Merge pull request #92987 from nikhita/cleanup-owners-apimachinery
...
apimachinery: remove inactive members from OWNERS
2020-08-27 19:08:33 -07:00
Kubernetes Prow Robot
008708d036
Merge pull request #93966 from Miciah/verify-that-an-ingress-with-empty-TLS-is-valid
...
Verify that an ingress with empty TLS is valid
2020-08-27 04:48:57 -07:00
Kubernetes Prow Robot
1814612d34
Merge pull request #87919 from SomtochiAma/update-api-docs
...
Adds additional documentation for job status
2020-08-27 01:19:02 -07:00
Kubernetes Prow Robot
fa1a3e0f74
Merge pull request #93665 from dims/emeritus-bgrant0607
...
Move bgrant0607 to emeritus status.
2020-08-14 00:48:22 -07:00
Miciah Masters
e648deca3b
Fix validation of ingress rules with wildcard host
...
Fix ingress validation so that it validates the rules of an ingress that
specifies a wildcard host. Commit 60f4fbf4f2
added an inopportune continue statement that caused this validation to be
skipped. For backwards compatibility, this change restores validation for
v1 of the api but still skips it on v1beta1.
* pkg/apis/networking/validation/validation.go (IngressValidationOptions):
Add AllowInvalidWildcardHostRule field to indicate that validation of rules
should be skipped for ingresses that specify wildcard hosts.
(ValidateIngressCreate): Set AllowInvalidWildcardHostRule to true if the
request is using the v1beta1 API version.
(ValidateIngressUpdate): Set AllowInvalidWildcardHostRule to true if the
request or old ingress is using the v1beta1 API version.
(validateIngressRules): Don't skip validation of the ingress rules unless
the ingress has a wildcard host and AllowInvalidWildcardHostRule is true.
(allowInvalidWildcardHostRule): New helper for ValidateIngressCreate and
ValidateIngressUpdate.
* pkg/apis/networking/validation/validation_test.go
(TestValidateIngressCreate, TestValidateIngressUpdate): Add test cases to
ensure that validation is performed on v1 objects and skipped on v1beta
objects for backwards compatibility.
(TestValidateIngressTLS): Specify PathType so that the test passes.
Co-authored-by: jordan@liggitt.net
2020-08-13 15:53:17 -04:00
Miciah Masters
7ef8fa7207
Verify that an ingress with empty TLS is valid
...
Add a test that verifies that an ingress with an empty TLS value or with a
TLS value that specifies an empty list of hosts passes validation.
* pkg/apis/networking/validation/validation_test.go
(TestValidateEmptyIngressTLS): New test.
2020-08-13 11:55:18 -04:00
Jordan Liggitt
f87a846e65
Validate ingress TLS secretName in v1
2020-08-12 10:13:08 -04:00
Davanum Srinivas
fbca4e3ee9
Move bgrant0607 to emeritus status.
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-08-03 21:50:46 -04:00
Jordan Liggitt
1e621ab5d1
Update CSR fuzzing to match defaulting
2020-07-31 15:52:01 -04:00
Dean Coakley
8749336aa7
Fix incomplete ResourceQuota comments
2020-07-31 02:30:17 +01:00
Jordan Liggitt
44a8d72d32
Mark componentstatus as deprecated
2020-07-30 17:25:26 -04:00
Kubernetes Prow Robot
96c057ab48
Merge pull request #92001 from huffmanca/include-csidriver-fsgroup
...
Include CSIDriver capability to indicate fsGroup support
2020-07-16 09:11:42 -07:00
Kubernetes Prow Robot
c23a4b08d7
Merge pull request #92874 from chelseychen/event-api
...
Fix a few places where source field is empty when creating events via events/v1
2020-07-11 20:57:31 -07:00
Christian Huffman
9a7b073f4d
Updated fuzzer to get RoundTripTest passing
2020-07-11 23:29:24 -04:00
Christian Huffman
e65f0f565a
Updated dependencies
2020-07-11 23:29:24 -04:00
Christian Huffman
58bd3e5230
Include CSIDriver SupportsFsGroup
2020-07-11 23:29:24 -04:00
Nikhita Raghunath
db495ea983
apimachinery: remove inactive members from OWNERS
2020-07-11 19:28:24 +05:30
Somtochi Onyekwere
49751e33e9
Adds additional documentation for job status
2020-07-10 08:34:33 +01:00
Patrick Ohly
32fdf688b3
GenericEphemeralVolume: 'make update' for API
2020-07-09 11:03:03 +02:00
Patrick Ohly
c05c8e915b
GenericEphemeralVolume: feature gate, API, documentation
...
As explained in
https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1698-generic-ephemeral-volumes ,
CSI inline volumes are not suitable for more "normal" kinds of storage
systems. For those a new approach is needed: "generic ephemeral inline
volumes".
2020-07-09 11:02:59 +02:00
Kubernetes Prow Robot
55d77ade67
Merge pull request #92489 from alculquicondor/sig-storage-ownership
...
Add SIG storage owner aliases
2020-07-09 00:05:20 -07:00
Kubernetes Prow Robot
94a08e159a
Merge pull request #92387 from pohly/csi-storage-capacity
...
CSI storage capacity check
2020-07-09 00:04:59 -07:00
Kubernetes Prow Robot
1e3eeba9fa
Merge pull request #91577 from knabben/kubelet-bootstrap
...
kubelet: remove the --bootstrap-checkpoint-path feature
2020-07-09 00:03:41 -07:00
Chelsey Chen
e010436e2a
Update conversion between ReportingController and Source.Component
2020-07-08 08:46:38 -04:00
Aldo Culquicondor
27ec356d76
Add SIG storage owner aliases
...
And give ownership to pkg/scheduler/framework/plugins/volumebinding
Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: I4bd89b1745a2be0e458601056ab905bdd6692195
2020-07-07 10:26:16 -04:00
Paulo Gomes
8976e3620f
Add seccomp enforcement and validation based on new GA fields
...
Adds seccomp validation.
This ensures that field and annotation values must match when present.
Co-authored-by: Sascha Grunert <sgrunert@suse.com>
2020-07-06 09:13:25 +01:00
Kubernetes Prow Robot
faff3c5378
Merge pull request #91527 from danwinship/ipfamily-api-docs
...
api: update Service.Spec.IPFamily docs
2020-07-03 16:36:47 -07:00
Patrick Ohly
9a66e8e1b5
CSIStorageCapacity: 'make update'
2020-07-03 21:54:14 +02:00
Patrick Ohly
1089954fa6
CSIStorageCapacity: CSIDriver.Spec.StorageCapacity field
...
This is needed to inform the Kubernetes pod scheduler whether it has
to check CSIStorageCapacity objects for available capacity.
2020-07-03 21:54:14 +02:00
Patrick Ohly
22aeb81e84
CSIStorageCapacity: CSIStorageCapacity API
...
This adds the CSIStorageCapacity API change for
https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1472-storage-capacity-tracking
2020-07-03 21:54:14 +02:00
Kubernetes Prow Robot
1b871091b9
Merge pull request #91645 from chelseychen/event-api
...
Promote new Event API to v1
2020-07-02 04:16:46 -07:00
Kubernetes Prow Robot
a138be8722
Merge pull request #92686 from pohly/csi-ephemeral-volumes-beta
...
CSI ephemeral volumes: documentation and owner update
2020-07-01 23:14:37 -07:00
Kubernetes Prow Robot
f7a13de36c
Merge pull request #92667 from liggitt/admission-warnings
...
Admission webhook warnings
2020-07-01 23:14:17 -07:00
Kubernetes Prow Robot
94e1c54735
Merge pull request #92655 from BenTheElder/cleanup-some-owners
...
Cleanup some owners
2020-07-01 23:14:08 -07:00
Jordan Liggitt
03d322035d
Generated code
...
Change-Id: I974a2cddc090fcb645b982959e06415a951b8f15
2020-07-01 12:14:06 -04:00
Jordan Liggitt
5eef60a00a
Add warnings capability for admission webhooks
2020-07-01 12:14:06 -04:00
Chelsey Chen
c90330d8f4
Auto generated changes
2020-07-01 10:50:34 -04:00
Chelsey Chen
75612c1746
Promote new Event API to v1
2020-07-01 10:50:28 -04:00
Kubernetes Prow Robot
b1b1fc8034
Merge pull request #81961 from pohly/ephemeral-unit-tests
...
storage: enhance test for ValidateCSIDriverUpdate
2020-07-01 07:10:34 -07:00
Patrick Ohly
99b5b13394
CSI ephemeral volumes: documentation and owner update
...
The promotion to beta missed some code locations. The owner also
changed since the feature was initially designed and implemented.
The "is handled by an external CSI driver" to "by certain external CSI
drivers" change is supposed to avoid the misconception that this
volume type will work with arbitrary CSI drivers.
2020-07-01 09:19:18 +02:00
Benjamin Elder
d8f2b131b5
remove david-mcmahon from reviewers
2020-06-30 14:06:58 -07:00
Benjamin Elder
2abc8afece
eparis to emeritus
2020-06-30 09:50:44 -07:00
Benjamin Elder
960ef085e9
zmerlynn to emeritus
2020-06-30 09:43:59 -07:00
Alex Wang
209117413f
Promote NonPreempt feature gate to beta ( #91899 )
...
* update nonpreempt featuregate to beta
* update
2020-06-30 00:02:56 -07:00
Jeremy Olmsted-Thompson
daa27c9b2e
Clarify behavior of publishNotReadyAddresses ( #90783 )
...
* Clarify behavior of publishNotReadyAddresses
* gen docs after clarifying publishNotReadyAddresses
2020-06-24 01:59:18 -07:00
Kubernetes Prow Robot
907a526919
Merge pull request #91699 from twosigma/hostnamefqdn_kubelet
...
Allow setting FQDN in hostname
2020-06-19 11:36:29 -07:00
Kubernetes Prow Robot
53f3699cf9
Merge pull request #89778 from cmluciano/cml/ingressv1
...
ingress: Add Ingress to v1 API and update backend to defaultBackend
2020-06-16 23:10:39 -07:00
Kubernetes Prow Robot
7401f8e2ea
Merge pull request #91927 from wangkai1994/fix/replace_whitelist_to_allowed
...
replace whitelist to allowlist
2020-06-15 14:17:59 -07:00
Javier Diaz-Montes
7ef7ce2a3c
Adding autogenerated files
2020-06-14 21:26:27 -04:00
Javier Diaz-Montes
4112d8db20
Adding new PodSpec field called setHostnameAsFQDN and SetHostnameAsFQDN gate
...
These changes add a new field, called setHostnameAsFQDN, to the PodSpec. This
field is a bool that will be used to indicate whether we would like
FQDN be set as hostname or not.
This is PART1 of the changes to enable KEP #1797 and addresses #91036
2020-06-14 21:26:26 -04:00
Patrick Ohly
f1101a3318
storage: document csi.storage.k8s.io/ephemeral also for internal type
...
This was added to staging/src/k8s.io/api/storage/v1beta1/types.go but
unintentionally left out for the internal type. Both docs should
better match because it is uncertain which one will be looked at by
developers.
The original "iff" for "if and only if" is unnecessary because the
comment about "otherwise false" avoids ambiguity.
2020-06-12 11:34:37 +02:00
wangkai1994
8d68452ea0
replace whitelist to allowlist
2020-06-12 10:20:58 +08:00
Kubernetes Prow Robot
11fe6e815f
Merge pull request #91713 from liggitt/csr-v1-manager
...
CSR v1 - switch controllers
2020-06-09 14:49:30 -07:00
Amim Knabben
0ed41c3f10
Deprecating --bootstrap-checkpoint-path flag
2020-06-09 15:27:01 -04:00
Kubernetes Prow Robot
d01cc01ab4
Merge pull request #91400 from danwinship/ipfamily-validation
...
service: fix IPFamily validation and defaulting problems
2020-06-08 17:55:18 -07:00
Kubernetes Prow Robot
3a8d130fdf
Merge pull request #91764 from KobayashiD27/add-test-case-apis-scheduler-helpers
...
Add test case in apis/scheduling/v1/helpers.go to improve the test co…
2020-06-06 00:55:45 -07:00
Jordan Liggitt
db4ca87d9d
Switch CSR approver/signer/cleaner controllers to v1
2020-06-05 18:45:34 -04:00
Kubernetes Prow Robot
3f8bb1bf50
Merge pull request #91685 from liggitt/csr-v1
...
CertificateSigningRequest v1 API
2020-06-05 15:30:14 -07:00
Jordan Liggitt
a504445086
Generated files
...
Change-Id: I598d686849f4b97846757b227f5191bac031798b
2020-06-05 04:58:14 +00:00
Jordan Liggitt
3f1546960d
Fix validation message for CSR condition status values
2020-06-05 00:50:01 -04:00
Jordan Liggitt
7ee2e2f473
Update v1 CSR field types, API docs
2020-06-05 00:50:01 -04:00
Jordan Liggitt
595adc402a
Validate unknown and duplicate usages in CSR v1
2020-06-05 00:50:01 -04:00
Jordan Liggitt
e0f5cca410
Copy CSR v1beta1 to v1
...
* Remove prerelease tags
* Update copyright, package, imports to v1
* Remove signerName, usages, and condition status defaulting
2020-06-05 00:47:24 -04:00
Kobayashi Daisuke
7026cbc1d4
Add test case in apis/scheduling/v1/helpers.go to improve the test coverage
2020-06-04 17:43:11 +09:00
Wei Huang
133dde6358
Remove EvenPodsSpread
featuregate and related logic
2020-06-02 11:24:12 -07:00
Kubernetes Prow Robot
5fb9e35e57
Merge pull request #90191 from liggitt/csr-status
...
CSR condition status, lastTransitionTime, versioned validation
2020-06-01 23:34:15 -07:00
Dan Winship
9b3a4bb411
api: update Service.Spec.IPFamily docs
2020-06-01 08:17:06 -04:00
Kubernetes Prow Robot
d1586ea3f9
Merge pull request #91502 from deads2k/dyn-audit-removal-00
...
remove --feature-gates=DynamicAuditing
2020-05-29 11:56:20 -07:00
Kubernetes Prow Robot
b69c8392b5
Merge pull request #84596 from akhinos/fix-statefulset-defaulting
...
UpdateStrategy.RollingUpdate.Partition is lost when UpdateStrategy.Type is not set
2020-05-29 11:55:49 -07:00
Jordan Liggitt
7049149181
Generated files
2020-05-28 16:53:23 -04:00
Jordan Liggitt
57eddd5e04
Record Failed condition in signer controller
2020-05-28 12:20:40 -04:00
Jordan Liggitt
aed0621f2e
Plumb version info to validation, separate main/status/approval validation
2020-05-28 12:20:40 -04:00
Jordan Liggitt
9f49d98ccd
Add conditions status field
2020-05-28 12:20:39 -04:00
Jordan Liggitt
6604b79796
Add signerName constants
2020-05-28 10:53:14 -04:00
David Eads
e857adbdfd
remove-api
2020-05-27 16:58:05 -04:00
Kubernetes Prow Robot
0e37bcce2c
Merge pull request #88385 from tallclair/node-reviews
...
Remove tallclair from some OWNERS files
2020-05-24 20:23:11 -07:00
Clayton Coleman
c6b833ac3c
service: fix IPFamily validation and defaulting problems
...
If the dual-stack flag is enabled and the cluster is single stack IPv6,
the allocator logic for service clusterIP does not properly handle rejecting
a request for an IPv4 family. Return a 422 Invalid on the ipFamily field
when the dual stack flag is on (as it would when it hits beta) and the
cluster is configured for single-stack IPv6.
The family is now defaulted or cleared in BeforeCreate/BeforeUpdate,
and is either inherited from the previous object (if nil or unchanged),
or set to the default strategy's family as necessary. The existing
family defaulting when cluster ip is provided remains in the api
section. We add additonal family defaulting at the time we allocate
the IP to ensure that IPFamily is a consequence of the ClusterIP
and prevent accidental reversion. This defaulting also ensures that
old clients that submit a nil IPFamily for non ClusterIP services
receive a default.
To properly handle validation, make the strategy and the validation code
path condition on which configuration options are passed to service
storage. Move validation and preparation logic inside the strategy where
it belongs. Service validation is now dependent on the configuration of
the server, and as such ValidateConditionService needs to know what the
allowed families are.
2020-05-23 11:08:19 -04:00
Christopher M. Luciano
2b091f60ca
ingress: Add Ingress to v1 API and update backend to defaultBackend
...
ingress: use new serviceBackend split
ingress: remove all v1beta1 restrictions on creation
This change removes creation and update restrictions enforced by
k8s 1.18 for not allowing resource backends.
Paths are no longer
required to be valid regex and a PathType is now user-specified
and no longer defaulted.
Also remove all TODOs in staging/net/v1 types
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-05-22 11:57:41 -04:00
Kubernetes Prow Robot
b98d9407cf
Merge pull request #91207 from iamchuckss/fixed-width-log-timestamps
...
Fix log timestamps to maintain a fixed width
2020-05-21 18:20:37 -07:00
Kubernetes Prow Robot
fdbb960354
Merge pull request #90934 from iobuf/cronjob
...
CronJob: cleanup legacy ScheduledJob vars,docs
2020-05-19 20:35:11 -07:00
iamchuckss
b5a02c4190
Fix log timestamps to be displayed in fixed width
2020-05-19 13:07:56 +08:00
wawa0210
097c22638b
update EnvVarSource doc
2020-05-18 23:37:30 +08:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Kubernetes Prow Robot
77a86a52c0
Merge pull request #91034 from liggitt/ingress-validation
...
Ingress validation
2020-05-12 21:01:11 -07:00
Jordan Liggitt
1758d17689
Allow resource backends in Ingress
2020-05-12 15:38:19 -04:00
Jordan Liggitt
8f7b8105a1
Remove ingress regex path requirement
2020-05-12 15:38:15 -04:00
Tim Allclair
029a144ae9
Remove tallclair from some OWNERS files
2020-05-11 11:44:38 -07:00
Zhou Peng
b33e202397
CronJob: cleanup legacy ScheduledJob vars,docs
...
Signed-off-by: Zhou Peng <p@ctriple.cn>
2020-05-10 00:45:21 +08:00
Aldo Culquicondor
883e4860d3
Clarify usage of MaxSkew and WheUnsatisfiable
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-06 13:15:51 -04:00
Jordan Liggitt
23e9fb1bb5
Fix podIP validation
2020-04-30 19:49:45 -04:00
wojtekt
5a9b6a3114
Autogenerated
2020-04-27 18:53:11 +02:00
wojtekt
edc60a970a
Remove deprecated State fiel in EventSeries
2020-04-27 18:53:11 +02:00
wojtekt
0360e4d1a1
Promote Immutable Secrets/ConfigMaps feature to Beta
2020-04-20 18:04:43 +02:00
Kubernetes Prow Robot
b4a088f1cf
Merge pull request #88217 from gkarthiks/master
...
fix: golint failures
2020-04-16 08:38:46 -07:00
Kubernetes Prow Robot
864b4bcc1e
Merge pull request #90023 from robscott/app-protocol-beta
...
Graduating ServiceAppProtocol to beta
2020-04-13 22:49:11 -07:00
Kubernetes Prow Robot
6239abe698
Merge pull request #89225 from andrewsykim/apparmor-api
...
move apparmor annotation constants to k8s.io/api/core/v1
2020-04-12 19:11:50 -07:00
Rob Scott
0493a30805
Graduating ServiceAppProtocol to beta
2020-04-09 12:12:54 -07:00
HARISH KUNA
79f3f6e9b1
Test dropped round-trip annotations in HPA conversion
2020-04-08 11:16:15 -04:00
Jordan Liggitt
eb69ac30da
Drop round-trip annotations in HPA conversion
2020-04-08 11:16:15 -04:00
Andrew Sy Kim
2e56866c97
move apparmor annotation constants to k8s.io/api/core/v1
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-04-06 10:22:04 -04:00
Kubernetes Prow Robot
d911254deb
Merge pull request #89704 from liggitt/gnostic
...
github.com/googleapis/gnostic v0.4.1
2020-04-03 14:19:46 -07:00
Kubernetes Prow Robot
98e65951dc
Merge pull request #89300 from huffmanca/expand_pvc_validation_message
...
Expand the PVC validation messages
2020-04-01 22:15:19 -07:00
Jordan Liggitt
d879965808
Clean up list items listType
2020-03-31 23:08:08 -04:00
Kevin Taylor
9fd48b4039
Remove VolumeSubpathEnvExpansion Feature Gate
2020-03-27 16:28:33 +00:00
Christian Huffman
cb230dca25
Expand the PVC validation messages
2020-03-24 16:25:37 -04:00
Kubernetes Prow Robot
d20b6cd44d
Merge pull request #89252 from odinuge/hugepages-relax-node-validation
...
Relax huge page node validation
2020-03-23 13:52:47 -07:00
Kubernetes Prow Robot
3d46b7878c
Merge pull request #89018 from abhiraut/npTypes
...
Update code comment for NetworkPolicyPeer
2020-03-19 20:31:04 -07:00
Odin Ugedal
19f0519b2d
Relax huge page node validation
...
A relaxed version was added in 1.18, and this will disable the
validation all together.
2020-03-19 14:09:13 +01:00