mango
f97cdeb419
refactor: Change the users of IsQualifiedName to ValidateQualifiedName
2022-02-16 14:02:11 +08:00
Tim Allclair
5f2b12e0d4
Move AppArmor profile validation to the API validation pkg
2022-02-15 16:17:37 -08: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
Sergey Kanzhelev
7e7bc6d53b
remove DynamicKubeletConfig logic from kubelet
2022-01-19 22:38:04 +00:00
Jayesh Srivastava
c5fcc0ff44
Update IANA links
2022-01-17 18:48:08 +05:30
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
a7905d76c7
Merge pull request #106397 from shawnhanx/core_validation
...
fix S1017 and S1002 in pkg/apis/core/validation/validation.go
2022-01-04 23:02:58 -08:00
Andrew Sy Kim
5d2702b0fd
core/v1: add comments about why Service internalTrafficPolicy is not forbidden when type is ExternalName
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-04 14:36:19 -05:00
Andrew Sy Kim
99cb5d2f21
core/v1: add unit tests that allow internalTrafficPolicy field when type is ExternalName
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-04 14:36:19 -05:00
Andrew Sy Kim
60b38ee180
core/v1: add validation and defaulting unit tests for when internalTrafficPolicy is nil and Service type is ExternalName
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-04 14:36:19 -05:00
Andrew Sy Kim
3a927cc6b3
core/v1: stop defaulting Service internalTrafficPolicy when Type=ExternalName
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-04 14:36:19 -05:00
Kubernetes Prow Robot
a599399468
Merge pull request #103036 from lsytj0413/fix-pod-update-err-msg
...
fix(*): display the diff as new-old
2022-01-04 09:44:52 -08:00
Lars Ekman
2dd8ae8fb0
Deprecate service.spec.LoadBalancerIP
2021-12-27 16:42:23 +01:00
lsytj0413
c6bd8d6713
fix(*): display the diff as new-old
2021-12-21 14:00:57 +08:00
Lars Ekman
1ef96752da
Mark ServiceLBNodePortControl as GA
2021-12-16 16:48:58 +01: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
Kubernetes Prow Robot
2daa3415ec
Merge pull request #106838 from mengjiao-liu/remove-NamespaceDefaultLabelName-feature-gate
...
Remove feature gate NamespaceDefaultLabelName
2021-12-08 08:53:46 -08:00
Kubernetes Prow Robot
a90f31f85a
Merge pull request #106179 from vivek-koppuru/fix-secret-format
...
Fix string output format for secret validations
2021-12-07 17:26:10 -08:00
Mengjiao Liu
f3c37c2c82
Remove feature gate NamespaceDefaultLabelName
2021-12-07 16:51:17 +08:00
Sergey Kanzhelev
1918ecad04
update the grpc field name for consistency
2021-12-01 18:16:08 +00:00
Sergey Kanzhelev
b7affcced1
implement :grpc probe action
2021-11-17 17:31:23 +00:00
Kubernetes Prow Robot
f151a40d8d
Merge pull request #106154 from gnufied/recover-expansion-failure-123
...
Recover expansion failure
2021-11-16 13:21:34 -08:00
Hemant Kumar
63fffd37b1
Implement API changes necessary for recovery from resize failure
2021-11-15 18:39:30 -05:00
Kubernetes Prow Robot
058ce89c60
Merge pull request #106285 from SergeyKanzhelev/updateHandlersDescription
...
updated probe handler types descriptions
2021-11-15 15:07:52 -08:00
Sergey Kanzhelev
57ed0174b1
updated probe handler types descriptions
2021-11-15 19:55:27 +00:00
shawnhanx
063e64c4ec
fix S1017 and S1002 in pkg/apis/core/validation/validation.go
2021-11-13 17:02:40 +08: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
Vivek Koppuru
de680aec08
Fix string output format for secret validations
2021-11-05 18:29:48 +05:30
Mengjiao Liu
275d832ce2
Upgrade preparation to verify sysctl values containing forward slashes by regex
2021-11-04 11:49:56 +08:00
Kubernetes Prow Robot
6ebd6f38b9
Merge pull request #104909 from pacoxu/kubectl-qos
...
kubectl: include init containers when determining pod QoS
2021-11-01 20:00:58 -07:00
Tim Hockin
11a25bfeb6
De-share the Handler struct in core API ( #105979 )
...
* De-share the Handler struct in core API
An upcoming PR adds a handler that only applies on one of these paths.
Having fields that don't work seems bad.
This never should have been shared. Lifecycle hooks are like a "write"
while probes are more like a "read". HTTPGet and TCPSocket don't really
make sense as lifecycle hooks (but I can't take that back). When we add
gRPC, it is EXPLICITLY a health check (defined by gRPC) not an arbitrary
RPC - so a probe makes sense but a hook does not.
In the future I can also see adding lifecycle hooks that don't make
sense as probes. E.g. 'sleep' is a common lifecycle request. The only
option is `exec`, which requires having a sleep binary in your image.
* Run update scripts
2021-10-29 13:15:11 -07:00
Shivanshu Raj Shrivastava
c2fba6b84d
referenced the V1Secret type ( #105901 )
2021-10-29 12:13:11 -07: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
41f8f95fc5
generated: Add os field to Pod Spec
2021-10-28 17:31:52 -04:00
ravisantoshgudimetla
d7d0beb65f
api: Handle validation of PodOS field presence
2021-10-28 17:31:52 -04:00
ravisantoshgudimetla
3b936d310c
api: Introduce os field to pod spec
2021-10-28 17:31:52 -04:00
Kubernetes Prow Robot
7fbb384e15
Merge pull request #105682 from pohly/generic-ephemeral-volume-raw-block
...
storage validation: accept generic ephemeral volumes as volume device
2021-10-22 18:04:50 -07:00
Kubernetes Prow Robot
18104ecf1f
Merge pull request #105405 from verb/1.23-ec-beta
...
Promote EphemeralContainers to beta
2021-10-20 09:24:10 -07:00
Lee Verberne
d33bbb8940
Allow volumeDevices in ephemeral containers
2021-10-19 23:04:05 -04:00
Lee Verberne
d874cf8ffd
List disallowed ephemeral container fields
...
Listing these explicitly makes it easier to determine whether a new
Container field has been evaluated for use with ephemeral containers.
This does not change the behavior of ephemeral containers.
2021-10-19 23:03:57 -04:00
Lee Verberne
f81c48cd0a
Disallow subpath for ephemeral container mounts
2021-10-19 23:01:15 -04:00
Lee Verberne
d1d7882186
Add test for EphemeralContainerCommon struct tags
...
The tags for type EphemeralContainerCommon should be kept in sync with
those of type Container.
Co-authored-by: Jordan Liggitt <liggitt@google.com>
2021-10-19 23:01:07 -04:00
Lee Verberne
26e183b9d9
Clarify EphemeralContainer behavior in docs
...
- Apply doc style guide
- Specify behavior when namespace targeting isn't supported by runtime
2021-10-19 23:00:51 -04:00
Lee Verberne
764859081a
Validate ephemeralContainerStatuses during update
2021-10-19 23:00:51 -04:00
Lee Verberne
6f4b8da9a3
Promote EphemeralContainers feature to beta
2021-10-19 08:47:57 -04:00
Patrick Ohly
a40d2eb18c
storage validation: accept generic ephemeral volumes as volume device
...
Raw block devices are possible with generic ephemeral volumes, so rejecting a
pod with that combination is wrong.
2021-10-19 13:30:32 +02:00
Mark Rossetti
3ddff55fe6
Adding unit test coverage for API validation for emphermal contaienrs in hostprocess pods on Windows
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2021-10-18 15:46:27 -07: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
Lee Verberne
8b24dc07ff
Test ephemeral container/pod conflicting fields
...
This adds a test case to cover the scenario where the fields of an
ephemeral container conflict with other fields in the pod and must be
detected by full PodSpec validation.
2021-09-30 21:47:19 +02:00
Lee Verberne
4451138bfa
Validate PodSpec in EphemeralContainersUpdate
...
Previously this only validated the ephemeral containers, but it's safer
to validate the entire PodSpec in case other parts of validation add
logic that checks ephemeral containers.
2021-09-27 22:58:08 +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
h4ghhh
0734820279
'New' Event namespace validate failed ( #100125 )
2021-09-16 04:29:45 -07:00
Paco Xu
b74214ebcb
cleanup: add update notice in origin file & make it diff cleanly
2021-09-15 15:57:11 +08:00
Tim Hockin
650f8cfd35
Svc REST: Validate input before IP allocation
...
This commit started as removing FIXME comments, but in doing so I
realized that the IP allocation process was using unvalidated user
input. Before de-layering, validation was called twice - once before
init and once after, which the init code depended on.
Fortunately (or not?) we had duplicative checks that caught errors but
with less friendly messages.
This commit calls validation before initializing the rest of the
IP-related fields.
This also re-organizes that code a bit, cleans up error messages and
comments, and adds a test SPECIFICALLY for the errors in those cases.
2021-09-11 11:30:01 -07:00
Tim Hockin
8bcba526b6
Svc REST: Better errors on stack-downgrades
...
Converting dual-stack to single-stack needs good errors.
2021-09-11 11:30:01 -07:00
Tim Hockin
f4521aa75a
Fix validation on ETP: "" is not valid
...
This was causing tests to pass which ought not be passing. This is not
an API change because we default the value of it when needed. So we
would never see this in the wild, but it makes the tests sloppy.
2021-09-11 11:30:01 -07:00
Tim Hockin
ccf3376570
Svc REST: De-layer Update
...
This is the last layered method. All allocator logic is moved to the
beginUpdate() path. Removing the now-useless layer will happen in a
subsequent commit.
2021-09-11 11:30:00 -07:00
Tim Hockin
14d0571a5f
Svc REST: Don't call validation directly
...
The validation is called soon after anyway.
2021-09-11 10:49:13 -07:00
Kubernetes Prow Robot
c91287c7b9
Merge pull request #104747 from kinvolk/invidian/typos
...
Fix typos in files which are used for generating OpenAPI
2021-09-09 18:04:57 -07:00
Kubernetes Prow Robot
eb729620c5
Merge pull request #99682 from chymy/fix-misspelling
...
Fix misspelling and misgrammar
2021-09-05 12:46:28 -07:00
Mateusz Gozdek
d7768519ee
Fix typo assigment -> assignment
...
Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
2021-09-04 11:55:26 +02:00
Mateusz Gozdek
3066f1550f
Fix typo fileystem -> filesystem
...
Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
2021-09-04 11:55:18 +02:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:49 -04:00
Antonio Ojea
0cd75e8fec
run hack/update-netparse-cve.sh
2021-08-20 10:42:09 +02:00
Jordan Liggitt
87a4e082ac
Change defaulter-gen input to package path
2021-08-14 11:00:18 -04:00
able8
3520e8b339
Fix a typo in comment
2021-07-23 19:47:33 +08:00
Elana Hashman
aaa7de0ac6
Update API description for probe.terminationGracePeriodSeconds
2021-07-13 14:28:06 -05:00
Kubernetes Prow Robot
e375563732
Merge pull request #103245 from wzshiming/fix/prober-termination
...
Add validation for Prober TerminationGracePeriodSeconds
2021-07-13 09:30:30 -07:00
Kubernetes Prow Robot
e799d7b191
Merge pull request #99023 from verb/1.21-securitycontext
...
Allow setting securityContext in ephemeral containers
2021-07-09 20:50:46 -07:00
Shiming Zhang
513bd93f76
update test for feature gate
2021-07-09 10:37:38 +08:00
Kubernetes Prow Robot
36a7426aa5
Merge pull request #99144 from bart0sh/PR0094-promote-HugePageStorageMediumSize-to-GA
...
promote huge page storage medium size to GA
2021-07-07 18:09:05 -07:00
Kubernetes Prow Robot
7bfd0b0503
Merge pull request #103467 from thockin/svc-alloc-lb-nodeports-bug
...
Fix small bug with AllocateLoadBalancerNodePorts
2021-07-07 17:05:40 -07:00
Kubernetes Prow Robot
eaba61b4de
Merge pull request #103276 from NetApp/data-source-ref
...
Add DataSourceRef field to PVC spec
2021-07-07 08:56:44 -07:00
Shiming Zhang
d8fe255f41
Add test for validateProbe
2021-07-07 11:31:23 +08:00
Shiming Zhang
e378600c90
Add validation for Prober TerminationGracePeriodSeconds
2021-07-07 10:51:30 +08:00
Ben Swartzlander
00dba76918
Add DataSourceRef field to PVC spec
...
Modify the behavior of the AnyVolumeDataSource alpha feature gate to enable
a new field, DataSourceRef, rather than modifying the behavior of the
existing DataSource field. This allows addition Volume Populators in a way
that doesn't risk breaking backwards compatibility, although it will
result in eventually deprecating the DataSource field.
2021-07-06 21:17:41 -04:00
Tim Hockin
eae4a19bd3
Fix small bug with AllocateLoadBalancerNodePorts
...
If the user specified a port, DO reserve it, even if they asked you not
to allocate new ports.
2021-07-06 16:36:51 -07:00
Andrew Sy Kim
28f3f36505
Promote the ServiceInternalTrafficPolicy field to Beta and on by default ( #103462 )
...
* pkg/features: promote the ServiceInternalTrafficPolicy field to Beta and on by default
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
* pkg/api/service/testing: update Service test fixture functions to set internalTrafficPolicy=Cluster by default
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
* pkg/apis/core/validation: add more Service validation tests for internalTrafficPolicy
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
* pkg/registry/core/service/storage: fix failing Service REST storage tests to use internalTrafficPolicy: Cluster
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
* pkg/registry/core/service/storage: add two test cases for Service REST TestServiceRegistryInternalTrafficPolicyClusterThenLocal and TestServiceRegistryInternalTrafficPolicyLocalThenCluster
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
* pkg/registry/core/service: update strategy unit tests to expect default
internalTrafficPolicy=Cluster
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
* pkg/proxy/ipvs: fix unit test Test_EndpointSliceReadyAndTerminatingLocal to use internalTrafficPolicy=Cluster
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
* pkg/apis/core: update fuzzers to set Service internalTrafficPolicy field
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
* pkg/api/service/testing: refactor Service test fixtures to use Tweak funcs
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-06 06:16:30 -07:00
Hanlin Shi
79b6df96fc
Add tests for LB type service
...
1. create LB type svc with nodeport allocation set to false
1. create LB type svc with nodeport allocation unset
3. update LB type svc's nodeport allocation field
Signed-off-by: Hanlin Shi <shihanlin9@gmail.com>
2021-07-02 21:58:49 +00:00
Hanlin Shi
24592ca989
Update the related tests
...
1. add AllocateLoadBalancerNodePorts fields in specs for validation test cases
2. update fuzzer
3. in resource quota e2e, allocate node port for loadbalancer type service and
exceed the node port quota
Signed-off-by: Hanlin Shi <shihanlin9@gmail.com>
2021-07-02 21:58:41 +00:00
Chris Henzie
5f98f6cfa4
Update helper methods to print and parse ReadWriteOncePod access mode
2021-06-28 21:25:37 -07:00
Chris Henzie
7491d01651
Validate use of the ReadWriteOncePod access mode
...
This will only work if the "ReadWriteOncePod" feature gate is enabled.
Additionally, this access mode will only work when used by itself. This
is because when ReadWriteOncePod is used on a PV or PVC, it renders all
other access modes useless since it is most restrictive.
2021-06-28 21:25:37 -07:00
Chris Henzie
48ba5020a2
ReadWriteOncePod PV access mode and feature gate
2021-06-28 21:25:35 -07:00
Chris Henzie
358d2e0bd1
Export contains access mode helper method
...
Will be used during validation of PVs and PVCs
2021-06-28 21:24:56 -07:00
Chris Henzie
dba8ee229e
Add validation options for PersistentVolumeClaims
...
These options provide an extensible way of configuring how PVCs are
validated
2021-06-28 21:24:55 -07:00
Chris Henzie
9ba0eed7c5
Add validation options for PersistentVolumes
...
These options provide an extensible way of configuring how PVs are
validated
2021-06-28 21:24:55 -07:00
Shiming Zhang
40593fa4d3
spec.terminationGracePeriodSeconds allow it to be set to 1s if it was previously negative
2021-06-28 11:49:39 +08:00
Lee Verberne
70765fa24d
Allow securityContext in EphemeralContainers
2021-06-25 18:47:22 +02:00
Kubernetes Prow Robot
7e23c5367d
Merge pull request #95768 from danwinship/document-nodeaddresstype
...
Document the NodeAddressType values
2021-06-18 16:42:42 -07:00
chymy
b250a985d2
Fix misspelling and misgrammar
...
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-06-05 05:02:17 -04:00
Andrew Sy Kim
f119b8df5f
apis: update generated code after removing Service topologyKeys
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-03 22:17:46 -04:00
Andrew Sy Kim
4d38d21880
apis: remove Service topologyKeys
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-03 22:17:45 -04:00
Kubernetes Prow Robot
e8760b95bb
Merge pull request #102336 from SataQiu/remove-podpreset
...
cleanup PodPreset testdata
2021-05-27 11:36:23 -07:00
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
SataQiu
9cfbf06225
cleanup PodPreset testdata
2021-05-26 19:57:29 +08: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
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
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
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
Martin Kanters
6d77ed7375
Ran gofmt
2021-05-13 10:28:29 +02: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
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
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
卢振兴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
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
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
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
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
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
卢振兴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
Sergey Kanzhelev
4b05fe6644
podUnknown is marked as Obsolete
2021-04-06 22:43:08 +00: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
mengjiao.liu
2f9f72a563
Update PodSpec/Overhead
broken links
2021-03-19 13:49:13 +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
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