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
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
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
Rob Scott
11f0944dbc
Adding Hints to EndpointSlice API
2021-03-08 15:37:34 -08: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
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
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
lala123912
e162fcc1bf
Add request value verification for hugepage
2021-03-05 17:36:22 +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
Abdullah Gharaibeh
3c5f018f8e
Add CrossNamespacePodAffinity quota scope and PodAffinityTerm.NamespaceSelector APIs, and CrossNamespacePodAffinity quota scope implementation.
2021-03-03 22:52:43 -05: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
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
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
xiaofei.sun
fd62f32125
Scheduler: remove pkg/apis/core/field_constants.go
2021-02-24 18:06:29 +08:00
Nikhita Raghunath
6cef3a4e33
*: remove nikhiljindal from OWNERS
2021-02-16 10:59:26 +05:30
Nikhita Raghunath
6b12c96a9b
*: remove madhusudancs 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
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
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
5e9b43eab6
Merge pull request #96960 from Jefftree/defaulter-diff
...
Update defaulter gen to not use reflect
2021-01-15 17:07:44 -08:00
wojtekt
0f88bbe9b1
Promote Immutable Secrets/ConfigMaps feature to GA
2020-12-30 16:00:41 +01: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
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
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
Jefftree
50e7aa49aa
Integrate defaults marker and remove ContainerPort defaulter
2020-11-13 17:27:40 -08: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
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
4b46d44e0c
Merge pull request #96327 from robscott/app-protocol-ga
...
Graduating AppProtocol to GA
2020-11-12 13:16:39 -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
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
Sergey Kanzhelev
06da0e5e74
GA of RuntimeClass feature gate and API
2020-11-11 19:22:32 +00: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
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
Rob Scott
b044fadf66
Graduating AppProtocol to GA
2020-11-09 11:08:19 -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
fc87c5927c
Merge pull request #95992 from serathius/datapolicy-apis
...
gAdd datapolicy tags to pkg/apis
2020-11-05 18:36:56 -08: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
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
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
Dan Winship
3a110546ed
Move SCTP to GA
2020-10-15 08:56:33 -04: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
wawa0210
6709d4f938
Keep the imagePullPolicy of kubectl alpha debug consistent with the default
2020-09-24 00:22:53 +08: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
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
Davanum Srinivas
fbca4e3ee9
Move bgrant0607 to emeritus status.
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-08-03 21:50:46 -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
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
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
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
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
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
94e1c54735
Merge pull request #92655 from BenTheElder/cleanup-some-owners
...
Cleanup some owners
2020-07-01 23:14:08 -07: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
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
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
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
Wei Huang
133dde6358
Remove EvenPodsSpread
featuregate and related logic
2020-06-02 11:24:12 -07:00
Dan Winship
9b3a4bb411
api: update Service.Spec.IPFamily docs
2020-06-01 08:17:06 -04: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
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
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
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
Rob Scott
0493a30805
Graduating ServiceAppProtocol to beta
2020-04-09 12:12:54 -07: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
98e65951dc
Merge pull request #89300 from huffmanca/expand_pvc_validation_message
...
Expand the PVC validation messages
2020-04-01 22:15:19 -07: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
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
Kubernetes Prow Robot
0fd4beb089
Merge pull request #83408 from cmluciano/cml/fixcoretypeslinks
...
core: fix dead links in core api comments
2020-03-18 00:14:47 -07:00
Kubernetes Prow Robot
264e2f1744
Merge pull request #88488 from gnufied/implement-fix-recursive-chown
...
Implement changes for fsgroup recursive chown
2020-03-05 21:39:30 -08:00
Hemant Kumar
053baaf143
Update generated files
...
update generated code
2020-03-04 21:23:31 -05:00
Hemant Kumar
f7509d277e
Define new type for storing volume fsgroupchangepolicy
...
Address review comments for api change
2020-03-04 21:23:27 -05:00
Ben Swartzlander
e8b09d3644
Add AnyVolumeDataSource feature gate
...
Allow any custom resource to be the data source of a PVC, if the
AnyVolumeDataSource feature gate is enabled. This is an alpha feature.
2020-03-04 18:55:50 -05:00
Kubernetes Prow Robot
e865c0b219
Merge pull request #88686 from j-griffith/upgrade_cloning_to_ga
...
Mark PVCDataSource featuregate as GA
2020-03-04 13:19:06 -08:00
j-griffith
9044fbfc5d
Update VolumePVCDatasource to GA for 1.18
...
Updates the VolumePVCDataSource featuregate (cloning) to GA for the 1.18 k8s
release.
2020-03-04 10:48:30 -07:00
Kubernetes Prow Robot
497a998ba6
Merge pull request #88654 from ddebroy/gmsa-disable1
...
Promote GMSA support for Windows to GA
2020-03-04 02:32:01 -08:00
Deep Debroy
16d221e407
Promote GMSA to GA
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2020-03-04 02:56:21 +00:00
Kubernetes Prow Robot
9d0cbb7503
Merge pull request #88673 from jsafrane/block-feature-ga
...
Promote block volumes to GA
2020-03-03 12:17:12 -08:00
Kubernetes Prow Robot
f221dbb91b
Merge pull request #88505 from liggitt/pod-ip-patch
...
Honor status.podIP over status.podIPs and node.spec.podCIDR over node.spec.PodCIDRs when mismatched
2020-03-02 16:16:36 -08:00
Jordan Liggitt
60da52a24a
Honor status.podIP over status.podIPs, node.spec.podCIDR over node.spec.podCIDRs
2020-03-02 14:21:22 -05:00
Jan Safranek
2c1b743766
Promote block volume features to GA
2020-02-28 20:48:38 +01:00
Kubernetes Prow Robot
86141c0cce
Merge pull request #88503 from robscott/app-protocol
...
Adding AppProtocol to Service and Endpoints Ports
2020-02-26 00:20:40 -08:00
Rob Scott
6a33727632
Adding AppProtocol to Service and Endpoints Ports
2020-02-25 17:42:34 -08:00
Kubernetes Prow Robot
851efa8a34
Merge pull request #84051 from bart0sh/PR0079-multiple-sizes-hugepages
...
Implement support for multiple sizes huge pages
2020-02-25 14:40:27 -08:00
Kubernetes Prow Robot
390a54f737
Merge pull request #88484 from steveazz/steveazz/68026-validaton
...
Fix golint issues for `core/v1/validation`
2020-02-24 19:07:25 -08:00
Kubernetes Prow Robot
71b7b5175a
Merge pull request #87790 from marosset/windows-run-as-username-stable
...
Moving Windows RunAsUserName feature to GA
2020-02-24 17:46:21 -08:00
Steve Azzopardi
4eb06577dc
Fix golint issues for core/v1/validation
...
reference https://github.com/kubernetes/kubernetes/issues/68026
2020-02-24 20:50:39 +01:00
Kubernetes Prow Robot
4624f7a422
Merge pull request #88438 from taesunny/pkg/apis
...
Fix: pkg/apis Typos in comments, function name, error message
2020-02-24 08:36:48 -08:00
Taesun Lee
b873cbbed5
Fix: pkg/apis Typos in comments, function name, error message
...
poicy -> policy
varialbes -> variables
exeuction -> execution
Resaurces -> Resources
TestSetDefaulEndpointsProtocol -> TestSetDefaultEndpointsProtocol
TestSetDefaulServiceTargetPort -> TestSetDefaultServiceTargetPort
TestSetDefaulServiceExternalTraffic -> TestSetDefaultServiceExternalTraffic
2020-02-24 00:11:00 +09:00
Wei Huang
54be6ca679
Update API doc for feature PodTopologySpread (a.k.a EvenPodsSpread)
2020-02-20 15:57:56 -08:00
marosset
d44a30f0ed
Moving Windows RunAsUserName feature to GA
2020-02-20 22:08:18 +00:00
Ed Bartosh
882d6e93af
Implement tests for multiple sizes huge pages
...
Co-Authored-By: Odin Ugedal <odin@ugedal.com>
2020-02-19 18:15:40 +02:00
Ed Bartosh
0eb65bd7da
Implement support for multiple sizes huge pages
...
This implementation allows Pod to request multiple hugepage resources
of different size and mount hugepage volumes using storage medium
HugePage-<size>, e.g.
spec:
containers:
resources:
requests:
hugepages-2Mi: 2Mi
hugepages-1Gi: 2Gi
volumeMounts:
- mountPath: /hugepages-2Mi
name: hugepage-2mi
- mountPath: /hugepages-1Gi
name: hugepage-1gi
...
volumes:
- name: hugepage-2mi
emptyDir:
medium: HugePages-2Mi
- name: hugepage-1gi
emptyDir:
medium: HugePages-1Gi
NOTE: This is an alpha feature.
Feature gate HugePageStorageMediumSize must be enabled for it to work.
2020-02-19 18:15:40 +02:00
gkarthiks
8853a985fd
fix: golint failures
...
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2020-02-16 15:09:45 -08:00
wojtekt
1fc80c57ee
Autogenerated
2020-02-04 16:06:36 +01:00
wojtekt
881dde8bee
Remove unnecessary manual conversions
2020-02-04 16:05:25 +01:00
Kubernetes Prow Robot
95a1d5e699
Merge pull request #82820 from odinuge/hugetlb-node-multiple-size
...
Add support for pre-allocated hugepages with 2+ sizes
2020-01-30 21:20:18 -08:00
Kubernetes Prow Robot
ff536eec2e
Merge pull request #87602 from wojtek-t/cleanup_immutable_validation
...
Cleanup validation for immutable secrets/configmaps
2020-01-30 16:59:23 -08:00
wojtekt
39f6c784b7
Cleanup validation for immutable secrets/configmaps
2020-01-28 09:40:12 +01:00
sewon.oh
463442aa29
Update container hugepage limit when creating the container
...
Unit test for updating container hugepage limit
Add warning message about ignoring case.
Update error handling about hugepage size requirements
Signed-off-by: sewon.oh <sewon.oh@samsung.com>
2020-01-28 09:35:02 +09:00
Kubernetes Prow Robot
2cd685a020
Merge pull request #87250 from starizard/adding-taint-toleration-error-reasons
...
Adding taint toleration error reasons
2020-01-25 01:23:01 -08:00
Shawn Rebello
22bd26fefb
Adding taint toleration error reasons
2020-01-24 02:50:55 +05:30
Odin Ugedal
6e411b6c0a
Add support for pre-allocated hugepages with 2 sizes
...
Remove the validation for pre-allocated hugepages on node level.
Validation is currently the only thing making it impossible to use
pre-allocated huge pages in more than one size.
We have now quite a few reports from real users that this feature is
welcome.
2020-01-23 17:38:22 +01:00
wojtekt
9174905ae7
Autogenerated
2020-01-12 21:09:05 +01:00
wojtekt
e612ebfdff
Immutable field and validation
2020-01-12 20:51:31 +01:00
Christopher M. Luciano
bff24f41bf
core: fix dead links in core api comments
...
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-01-07 16:32:05 -05:00
RainbowMango
eea91c018b
Cleanup testapi after it has been removed
2019-12-27 14:11:15 +08:00
Kubernetes Prow Robot
69410eca4b
Merge pull request #86256 from liggitt/testapi
...
Remove use of testapi package
2019-12-13 12:55:50 -08:00
Jordan Liggitt
bb90f0ff94
Install APIs directly for tests
2019-12-13 11:56:29 -05:00
yaqi
d146e1941d
Add getting Storage Quantity to ResourceList
2019-12-13 10:54:31 +08:00
Andrew Sy Kim
aaa91ef412
service topology: remove redundant API validation for local external traffic policy
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-15 08:57:17 -05:00
Kubernetes Prow Robot
d9be37e926
Merge pull request #72046 from m1093782566/service-topology-api
...
Service Topology implementation
2019-11-15 02:57:42 -08:00
Roc Chan
31d623b4d7
Autogenerated files
2019-11-15 14:37:44 +08:00
Kubernetes Prow Robot
4e45328e65
Merge pull request #83123 from aramase/dualstack-downward-api
...
Dualstack downward api
2019-11-14 22:13:42 -08:00
Roc Chan
c9cf3f5b72
Service Topology implementation
...
* Implement Service Topology for ipvs and iptables proxier
* Add test files
* API validation
2019-11-15 13:36:43 +08:00
m1093782566
cdaeabfb46
Add API for feature gate ServiceTopology
2019-11-15 13:36:43 +08:00
Kubernetes Prow Robot
c10d29ba88
Merge pull request #84356 from verb/pid-ga
...
Promote PodProcessNamespaceSharing feature to GA
2019-11-13 09:25:42 -08:00
Kubernetes Prow Robot
3eff237357
Merge pull request #84882 from marosset/run-as-username-beta
...
Moving WindowsRunAsUserName to beta
2019-11-12 11:51:01 -08:00
wojtekt
067d173266
Eliminate couple unnecessary conversions
2019-11-12 15:00:09 +01:00
marosset
6d4aea60cd
Moving WindowsRunAsUserName to beta
2019-11-11 19:27:19 +00:00
wojtekt
0b4b7d95a2
Autogenerated
2019-11-02 16:33:47 +01:00
Anish Ramasekar
af4d18ccf9
add status.podIPs in downward api
...
add host file write for podIPs
update tests
remove import alias
update type check
update type check
remove import alias
update open api spec
add tests
update test
add tests
address review comments
update imports
remove todo and import alias
2019-10-25 09:18:49 -07:00
Lee Verberne
ea1af57eab
Promote feature PodShareProcessNamespace to GA
2019-10-25 12:35:17 +00:00
wojtekt
7b6bcdf780
Autogenerated code
2019-10-24 20:21:00 +02:00
wojtekt
d7011f1bdb
Cleanup explicitly registered functions
2019-10-24 20:21:00 +02:00
Kubernetes Prow Robot
6d4aeccfcc
Merge pull request #83709 from wojtek-t/autogenerate_decode_parameters
...
Autogenerate conversions for decoding parameters
2019-10-23 19:07:05 -07:00
Kubernetes Prow Robot
5d3efb06d4
Merge pull request #83865 from mrbobbytables/update-api-approvers-owners
...
Prune inactive owners from api-approver owned OWNERS files.
2019-10-23 12:50:46 -07:00
wojtekt
3be4d85ec6
Autogenerated files
2019-10-23 08:28:31 +02:00
Kubernetes Prow Robot
6a5f0e6eda
Merge pull request #81348 from yastij/code-org-service-controller
...
move service helpers to k8s.io/cloud-provider
2019-10-17 00:20:38 -07:00
Kubernetes Prow Robot
cb19b56831
Merge pull request #83419 from deads2k/insecure-backend-proxy
...
Insecure backend proxy
2019-10-16 13:58:38 -07:00
David Eads
867ee1d5ff
add insecurebackendproxy
2019-10-16 11:43:17 -04:00
Yassine TIJANI
d796baea27
move service helpers to k8s.io/cloud-provider
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-10-16 14:12:11 +02:00
Bob Killen
03082531cc
Prune inactive owners from api-approver owned OWNERS files.
2019-10-13 08:54:18 -04:00
Bob Killen
e65d8bb11f
Move jbeda to emeritus status.
2019-10-11 17:46:18 -04:00
David Eads
a886247fe4
generated
2019-10-11 16:38:32 -04:00
Kevin Taylor
cb8a7c1a4c
Promote VolumeSubpathEnvExpansion feature gate to GA
2019-10-10 09:34:40 +01:00
Mahendra Kariya
3698100224
Fix golint errors in pkg/apis/core ( #82919 )
...
* Fix lint errors related to receiver name
Ref #68026
* Fix lint errors related to comments
Ref #68026
* Fix package name in comments
Ref #68026
* Rename Cpu to CPU
Ref #68026
* Fix lint errors related to naming convention
Ref #68026
* Remove deprecated field
DoNotUse_ExternalID has been deprecated and is not in use anymore.
It has been removed to fix lint errors related to underscores in field
names.
Ref #68026 , #61966
* Include pkg/apis/core in golint check
Ref #68026
* Rename var to fix lint errors
Ref #68026
* Revert "Remove deprecated field"
This reverts commit 75e9bfc168077fcb9346e334b59d60a2c997735b.
Ref #82919
* Remove math from godoc
Ref #82919 , #68026
* Remove underscore from var name
Ref #68026
* Rename var in staging core api type
Ref #68026
2019-09-25 11:06:51 -07:00
Kubernetes Prow Robot
caeda2112a
Merge pull request #82759 from sttts/sttts-pvc-negative-resource-error-message
...
validations: for negative PVC storage size don't report "must be >= 0"
2019-09-16 18:06:35 -07:00
Dr. Stefan Schimanski
473f49435c
validations: for negative PVC storage size don't report "must be >= 0"
2019-09-16 19:03:30 +02:00
Kubernetes Prow Robot
7e906ae145
Merge pull request #82047 from roberthbailey/owners
...
Remove myself from reviewers across the repo
2019-09-04 04:35:00 -07:00
Kubernetes Prow Robot
afa979c295
Merge pull request #82133 from bclau/windows/run-as-username-fix
...
api: Loosens RunAsUserName validation
2019-08-30 09:40:43 -07:00
Matthias Bertschy
a042a4b0ee
startupProbe: make update
2019-08-30 00:42:43 +02:00
Matthias Bertschy
1a08ea5984
startupProbe: Test changes
2019-08-30 00:40:26 +02:00
Matthias Bertschy
e4d26f845e
startupProbe: API changes
2019-08-30 00:40:26 +02:00
Kubernetes Prow Robot
8a4edd9381
Merge pull request #79614 from verb/debug-api-docs
...
Improve API documentation for ephemeral containers
2019-08-29 15:35:13 -07:00
Jan Wozniak
b0459feb7d
Update generated files
...
make generated_files UPDATE_API_KNOWN_VIOLATIONS=true
./hack/update-generated-protobuf.sh
./hack/update-openapi-spec.sh
./hack/update-bazel.sh
./hack/update-generated-swagger-docs.sh
./hack/update-generated-api-compatibility-data.sh
2019-08-29 13:26:13 +02:00
Jan Wozniak
94a5e8c3dc
Add status conditions to namespaces
2019-08-29 13:21:15 +02:00
Claudiu Belu
cafbfbea9a
api: Loosens RunAsUserName validation
...
Currently, the character limit for the usernames set in the RunAsUserName is 20,
which is too low, considering that "ContainerAdministrator" is a valid username and
it is longer than 20 characters. A user should be able to run containers as
Administrator, if needed.
According to [1], Logon names can be up to 104 characters. The previous limit
only applies to local user accounts for the local system.
[1] https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/bb726984(v=technet.10)
2019-08-28 13:03:44 -07:00
Khaled Henidak(Kal)
c27e0b029d
phase 2: generated items
2019-08-28 16:11:46 +00:00
Khaled Henidak(Kal)
5e8ccda71c
phase 2: api types + defaulting + validation + disabled fields handling
2019-08-28 15:59:43 +00:00
Robert Bailey
9d211ab352
Remove myself from reviewers across the repo so that PRs are no
...
longer assigned to me by blunderbuss.
Move myself to be an emeritus approver for the cluster directory.
2019-08-27 16:10:16 -07:00
Lee Verberne
dbf0548bbc
Improve API documentation for ephemeral containers
2019-08-27 16:25:05 +00:00
Tim Allclair
49f50484b8
Delete duplicate resource.Quantity.Copy()
2019-08-19 17:23:14 -07:00
Kubernetes Prow Robot
7a6e9fd8a9
Merge pull request #80512 from casusbelli/bugfix_80332
...
Removes conflicting Quobyte tenant test from API validation
2019-08-16 17:02:08 -07:00
Silvan Kaiser
a11e6a80a1
Removes conflicting Quobyte tenant test error from API validation
2019-08-16 14:06:25 +02:00
Kubernetes Prow Robot
6c0c167829
Merge pull request #80395 from Huang-Wei/cleanup-eps-validation
...
Optimize logic in EvenPodsSpread API validation
2019-08-07 20:09:41 -07:00
liangxia
6d431fa05b
Fix example urls
2019-08-05 11:45:52 +08:00
Jordan Liggitt
2e604bedc8
Make Overhead validation unconditional
2019-08-02 20:09:52 -04:00
Jordan Liggitt
802e765444
Preserve existing ephemeral containers on update, validate unconditionally
2019-08-02 20:00:01 -04:00
Kubernetes Prow Robot
260421499a
Merge pull request #80487 from huffmanca/BZ1731316
...
Corrected Cinder typos.
2019-08-01 13:38:15 -07:00
Christian Huffman
c3e883ceb9
Corrected Cinder typos.
2019-07-24 15:52:48 -04:00
ethan
72c727e3b4
fix wrong spells in events.go
2019-07-24 21:26:09 +08:00
Wei Huang
cfd97ba070
Optimize logic in EvenPodsSpread API validation
2019-07-23 16:27:39 -07:00
Lee Verberne
4a753c7a44
Generated code for ephemeral containers API
2019-07-22 11:19:22 +00:00
Lee Verberne
013f049ce0
Add Ephemeral Containers to the Kubernetes core API
2019-07-22 11:19:22 +00:00
Wei Huang
eafd4e96d9
EvenPodsSpread: auto-gen files
2019-07-18 17:34:26 -07:00
Wei Huang
49da505a9a
EvenPodsSpread: api changes
2019-07-18 17:34:26 -07:00
Kubernetes Prow Robot
2b21e478b1
Merge pull request #79489 from bclau/feature/run-as-username
...
Adds WindowsOptions.RunAsUserName field
2019-07-17 19:34:24 -07:00
James Sturtevant
1c4edfba57
Run code generation for new field
2019-07-17 15:03:10 +00:00
James Sturtevant
e8b369ff3c
Windows: Adds RunAsUserName field in WindowsOptions
...
Adds the field RunAsUserName in the WindowsSecurityContextOptions type,
which is used in PodSecurityContext and SecurityContext.
This field needs to allow for a valid set of usernames allowed for
Windows containers. It must have the format "U
This commit also validates the runAsUserName field, making sure that it valid,
having the format DOMAIN\USER (case insensitive), where DOMAIN\ is optional and
has to be a valid NetBios or DNS domain name.
For more information about the restrictions on the DOMAIN and USER parts, look here: [1] [2]
Adds the WindowsRunAsUserName alpha feature gate. By default, it is disabled.
If the feature gate is not enabled, the WindowsOptions.RunAsUserName field
will be dropped from both the PodSecurityContext and container
SecurityContext.
Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
[1] https://support.microsoft.com/en-us/help/909264/naming-conventions-in-active-directory-for-computers-domains-sites-and
[2] https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/new-localuser?view=powershell-5.1
2019-07-17 15:03:04 +00:00
SataQiu
23b7ae6041
make taint.ToString() consistent with the reverse parsing logic
2019-07-16 21:06:01 +08:00
Pingan2017
e94d7b3802
clean up redundant conditiontype OutOfDisk
2019-07-03 14:34:52 +08:00
Khaled Henidak(Kal)
af552ab469
generated items
2019-07-02 22:26:26 +00:00
Khaled Henidak(Kal)
2b77667718
vendor updates
2019-07-02 22:26:26 +00:00
Khaled Henidak(Kal)
54d42e6a65
types modifications + conversion + conversion testing
2019-07-02 15:39:05 +00:00
Kubernetes Prow Robot
64a2be8e44
Merge pull request #79387 from tedyu/cont-helper-early
...
Restore early return for podSpecHasContainer
2019-07-01 15:09:45 -07:00
Kubernetes Prow Robot
9c8827f564
Merge pull request #78914 from liggitt/pod-spec-defaults
...
Add tests to detect default changes to podspec and podspectemplate defaults
2019-06-27 14:11:21 -07:00
Jordan Liggitt
617309cbce
Add tests for podspec and podtemplatespec default changes
2019-06-27 12:56:43 -07:00
Ted Yu
cf7c164ae3
Restore early return for podSpecHasContainer
2019-06-26 14:17:13 +08:00
Kubernetes Prow Robot
1215aa73d2
Merge pull request #79176 from verb/debug-iterate-containers
...
Add helpers for iterating containers in a pod
2019-06-25 09:32:52 -07:00
Kubernetes Prow Robot
ad095324bf
Merge pull request #79309 from draveness/feature/cleanup-CSIPersistentVolume-feature-gates
...
feat: cleanup feature gates for CSIPersistentVolume
2019-06-25 01:15:03 -07:00
Kubernetes Prow Robot
cff6e42005
Merge pull request #75223 from sjenning/fix-pod-qos-init-containers
...
kubelet: include init containers when determining pod QoS
2019-06-25 01:14:37 -07:00
draveness
8e9472ba79
feat: cleanup feature gates for CSIPersistentVolume
2019-06-25 09:00:12 +08:00
draveness
ca6003bc75
feat: cleanup PodPriority features gate
2019-06-23 11:57:24 +08:00
Lee Verberne
a0b57ad3db
Update BUILD files for container helper
2019-06-21 08:32:04 +00:00
Lee Verberne
ee821e2a04
Create helpers for iterating containers in a pod
2019-06-21 08:32:04 +00:00
Eric Ernst
5e09568c8e
pod-overhead: autogenerated code updates
...
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
d0b0c0ae45
pod-overhead: add Overhead to PodSpec internal type
...
Update internal PodSpec to make use of Overhead field. Add validation
and validation tests.
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Jordan Liggitt
899d00a529
Fix incorrect procMount defaulting
2019-06-10 22:01:54 -04:00
Kubernetes Prow Robot
b7fa33ec15
Merge pull request #77703 from ddebroy/inline-mig-1
...
API changes to support migration of inline in-tree volumes to CSI
2019-05-31 12:23:19 -07:00
j-griffith
62a4861c9b
fix typo in types.go comment
2019-05-31 06:08:24 -06:00
j-griffith
60d991e59a
add comments to validation testcases, and use const in util.go
2019-05-31 06:07:53 -06:00
j-griffith
54154f8ebb
rework pvc datasource filter tests
2019-05-31 06:07:53 -06:00
j-griffith
ae4c2a1858
Enable PVC as DataSource for PVC creation
...
This enables the ability to specify and existing PVC as a DataSource in
a new PVC Spec (eg "clone" and existing volume).
2019-05-31 06:07:53 -06:00
j-griffith
a66bb3c63d
Update unit tests and feature name
...
Update the unit tests to include checks for incorrect APIGroup type in
PVC DataSource and change the name of the feature gate to be more clear:
s/VolumeDataSource/VolumePVCDataSource/
2019-05-31 06:07:44 -06:00
j-griffith
123f1bac35
Enable PVC as DataSource for PVC creation
...
This enables the ability to specify and existing PVC as a DataSource in
a new PVC Spec (eg "clone" and existing volume).
2019-05-31 06:06:44 -06:00
wangqingcan
52f3380ef3
change preempting to PreemptionPolicy
2019-05-31 12:42:05 +08:00
wangqingcan
5c9438c691
non-preempting-priorityclass
...
Co-authored-by: Vallery Lancey <vallery@zeitgeistlabs.io>
Co-authored-by: Tan shanshan <tan.shanshan@zte.com.cn>
2019-05-31 12:37:07 +08:00
Deep Debroy
df196226c4
Generated code for API changes to support CSI migration of inline volumes
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:34:53 +00:00
Deep Debroy
c34309acdf
API changes to support CSI migration of inline volumes
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:34:47 +00:00
Kubernetes Prow Robot
d8fd232ea1
Merge pull request #78327 from caesarxuchao/pointer-remainingItemCount
...
Make RemainingItemCount a pointer
2019-05-29 07:59:29 -07:00
Kubernetes Prow Robot
3ccb63bb1b
Merge pull request #78385 from thz/externalNameTrailingDot
...
Allow trailing dot for service.spec.externalName
2019-05-28 15:53:49 -07:00
yameiwang
81d25371e8
fix typo in helpers_test.go
2019-05-28 03:29:38 +08:00
Tobias Hintze
8829efaeb0
Allow trailing dot for service.spec.externalName
2019-05-27 11:28:07 +02:00
Chao Xu
369314959c
generated
2019-05-24 18:14:53 -07:00
Seth Jennings
bcfa60d955
kubelet: include init containers when determining pod QoS
2019-05-17 10:57:03 -05:00
Jean Rouge
181706b0f0
Auto-generated changes for Windows GMSA support
...
This patch comprises the auto-generated changes for the API changes outlined in
the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 15:34:22 -07:00
Jean Rouge
a3e914528a
API changes for Windows GMSA support
...
This patch comprises the API changes outlined in the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
It includes validation, as well as dropping fields if the `WindowsGMSA` feature
flag is not set, both with unit tests.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 15:32:59 -07:00
Elisiano Petrini
04f59751ec
Fixed spelling in a couple of descriptions
2019-05-11 15:54:09 -04:00
Kubernetes Prow Robot
3e7fa617b3
Merge pull request #77516 from gnufied/implement-resize-secrets
...
Add a new field for storing volume expansion secrets
2019-05-09 17:51:58 -07:00
Hemant Kumar
69393291b6
Add a new field for storing volume expansion secrets
...
Fix pv secret visitor tests
Allow SecretRef for resizing to be set if not already set
2019-05-09 13:53:47 -04:00
Àbéjídé Àyodélé
25df4e69a5
Clean up pkg/apis.
...
These are based on recommendation from
[staticcheck](http://staticcheck.io/ ).
2019-05-09 15:25:41 +00:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
Kubernetes Prow Robot
8136cfc512
Merge pull request #75987 from yastij/event-state-deprecation
...
deprecate state field of eventSeries on Event API
2019-05-03 01:02:21 -07:00
Kubernetes Prow Robot
1adaf2cd5b
Merge pull request #77147 from wk8/wk8/win_sec_opts
...
Adding a new `WindowsSecurityOptions` struct
2019-05-02 16:22:44 -07:00
Jordan Liggitt
20ce402214
generated
2019-05-02 12:20:29 -04:00
Jordan Liggitt
38fbcb767d
Remove unnecessary custom conversions
2019-05-02 12:17:46 -04:00
Kubernetes Prow Robot
a2afe45366
Merge pull request #76991 from yue9944882/chore/cleanup-hub-genclient-tags
...
Clean up genclient tags for hub types
2019-04-30 14:11:12 -07:00
Yassine TIJANI
0f3e9ca700
deprecate count field on Event API
2019-04-28 23:32:50 +02:00
Jean Rouge
03907a3bf6
Auto-gen
...
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-04-26 22:14:47 +00:00
Jean Rouge
d7aa31858e
Adding a new WindowsSecurityOptions
struct
...
As outlined in the KEP at
https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20190418-windows-security-context.md
and improvements on it at
https://github.com/kubernetes/enhancements/pull/975
For now this struct is left empty, as discussed in the KEP (see above) and as
previously discussed with Jordan Liggitt.
It will allow adding GMSA and options as well as `RunAsUserName` options; both of which have already been pre-implemented respectively at
https://github.com/kubernetes/kubernetes/pull/75459
and https://github.com/kubernetes/kubernetes/pull/73609 ; and both of which
will need to be re-based to make use of the new struct.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-04-26 14:19:40 -07:00
Eric Ernst
3ebb8ddd8a
runtime-class: update type description to indicate beta
...
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-04-24 09:09:33 -07:00
yue9944882
71a58de48b
clean up genclient tags for hub types
2019-04-24 16:53:21 +08:00
Kubernetes Prow Robot
f3ec8f0d99
Merge pull request #76546 from HotelsDotCom/kep/VolumeSubpathEnvExpansion-Beta
...
Beta upgrade for feature gate VolumeSubpathEnvExpansion
2019-04-19 01:05:56 -07:00
Kevin Taylor
bb5b4ad0b2
Beta upgrade for feature date VolumeSubpathEnvExpansion
2019-04-17 07:41:00 +01:00
Kubernetes Prow Robot
90b9ccf7f4
Merge pull request #74447 from WanLinghao/builder_ptr_replace
...
Remove and replace ptr functions
2019-04-16 16:19:38 -07:00
SataQiu
556ff16b0d
fix golint failures of pkg/apis/core/helper
2019-04-16 07:21:20 +08:00
WanLinghao
d0138ca3fe
This commit does two things in pkg package:
...
1. Remove unused ptr functions.
2. Replace ptr functions with k8s.io/utils/pointer
2019-04-09 10:56:35 +08:00
Humble Chirammal
ee9079f8ec
Use better variable names in validation.go
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-01 09:43:36 +05:30
Kubernetes Prow Robot
9c5be7aa5f
Merge pull request #74686 from zhouhaibing089/add-trailing-period
...
validation: allow trailing period in dns search
2019-03-19 20:15:06 -07:00
Vladimir Vivien
d998fc8f0f
CSI Inline Volume - Generated files
2019-03-08 12:39:58 -05:00
Vladimir Vivien
4ec7d2305d
CSI Inline Volume - API changes
2019-03-08 12:35:07 -05:00
David Zhu
41b3579345
Address review comments
2019-03-07 17:17:09 -08:00
David Zhu
7d2f4e97b8
Add ADC Fallback if Node doesn't have driver installed
2019-03-07 14:47:38 -08:00
Xing Yang
bb45b8ee34
Make CSINodeInfo and CSIDriver Core APIs
...
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
zhouhaibing089
68beadefe4
validation: allow trailing period in dns search
...
The trailing period tells the resolver to stop immediately instead
of trying recursively. With that said, trailing period should be
acceptable in searches.
2019-02-27 14:21:52 -08:00
Kubernetes Prow Robot
f08b2b8864
Merge pull request #74160 from mikedanese/updatedoc
...
clarify PreStop hook intended behavior in doc
2019-02-21 17:47:28 -08:00
Mike Danese
729ed4e67d
clarify PreStop hook intended behavior in doc
2019-02-21 11:19:00 -08:00
Kubernetes Prow Robot
5bfea15e7b
Merge pull request #71351 from HotelsDotCom/kep/VolumeSubpathEnvExpansion
...
kep/VolumeSubpathEnvExpansion
2019-02-20 14:05:20 -08:00
Kevin Taylor
a64b854137
Implementation of KEP Feature Gate VolumeSubpathEnvExpansion
2019-02-20 01:37:16 +00:00
Kubernetes Prow Robot
16e08f3e53
Merge pull request #73408 from Klaven/component-base-flags
...
Move flag util pkgs to k8s.io/component-base/cli
2019-02-15 16:46:08 -08:00
Kubernetes Prow Robot
fbee96d733
Merge pull request #73699 from pivotal-k8s/doc-links
...
Update deprecated and broken links
2019-02-15 14:05:09 -08:00
Marek Counts
7744f90830
Moved flag and globalflag
...
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Kubernetes Prow Robot
928bb2b993
Merge pull request #73262 from jimmy-zh/optimize-PV-AccessMode-comment
...
Optimize PersistentVolumeAccessMode comment
2019-02-15 06:40:14 -08:00
Ben Moss
34ac4d9ee9
Update deprecated links
2019-02-15 09:13:07 -05:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00