Skip to content

Commit ff041e5

Browse files
authored
Knative API docs for v0.21.0 (#3276)
1 parent f5e3fcd commit ff041e5

File tree

2 files changed

+96
-41
lines changed

2 files changed

+96
-41
lines changed

docs/reference/api/eventing/eventing.md

+66-8
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ Failed messages are delivered here.</p>
582582
<h3 id="duck.knative.dev/v1.DeliverySpec">DeliverySpec
583583
</h3>
584584
<p>
585-
(<em>Appears on:</em><a href="#duck.knative.dev/v1.ChannelableSpec">ChannelableSpec</a>, <a href="#duck.knative.dev/v1.SubscriberSpec">SubscriberSpec</a>, <a href="#eventing.knative.dev/v1.BrokerSpec">BrokerSpec</a>, <a href="#flows.knative.dev/v1.ParallelBranch">ParallelBranch</a>, <a href="#flows.knative.dev/v1.SequenceStep">SequenceStep</a>, <a href="#messaging.knative.dev/v1.SubscriptionSpec">SubscriptionSpec</a>)
585+
(<em>Appears on:</em><a href="#duck.knative.dev/v1.ChannelableSpec">ChannelableSpec</a>, <a href="#duck.knative.dev/v1.SubscriberSpec">SubscriberSpec</a>, <a href="#eventing.knative.dev/v1.BrokerSpec">BrokerSpec</a>, <a href="#eventing.knative.dev/v1.TriggerSpec">TriggerSpec</a>, <a href="#eventing.knative.dev/v1beta1.TriggerSpec">TriggerSpec</a>, <a href="#flows.knative.dev/v1.ParallelBranch">ParallelBranch</a>, <a href="#flows.knative.dev/v1.SequenceStep">SequenceStep</a>, <a href="#messaging.knative.dev/v1.SubscriptionSpec">SubscriptionSpec</a>)
586586
</p>
587587
<p>
588588
<p>DeliverySpec contains the delivery options for event senders,
@@ -2511,8 +2511,9 @@ DeliverySpec
25112511
</td>
25122512
<td>
25132513
<em>(Optional)</em>
2514-
<p>Delivery is the delivery specification for Events within the Broker mesh.
2515-
This includes things like retries, DLQ, etc.</p>
2514+
<p>Delivery contains the delivery spec for each trigger
2515+
to this Broker. Each trigger delivery spec, if any, overrides this
2516+
global delivery spec.</p>
25162517
</td>
25172518
</tr>
25182519
</table>
@@ -2633,6 +2634,20 @@ knative.dev/pkg/apis/duck/v1.Destination
26332634
is required.</p>
26342635
</td>
26352636
</tr>
2637+
<tr>
2638+
<td>
2639+
<code>delivery</code><br/>
2640+
<em>
2641+
<a href="#duck.knative.dev/v1.DeliverySpec">
2642+
DeliverySpec
2643+
</a>
2644+
</em>
2645+
</td>
2646+
<td>
2647+
<em>(Optional)</em>
2648+
<p>Delivery contains the delivery spec for this specific trigger.</p>
2649+
</td>
2650+
</tr>
26362651
</table>
26372652
</td>
26382653
</tr>
@@ -2693,8 +2708,9 @@ DeliverySpec
26932708
</td>
26942709
<td>
26952710
<em>(Optional)</em>
2696-
<p>Delivery is the delivery specification for Events within the Broker mesh.
2697-
This includes things like retries, DLQ, etc.</p>
2711+
<p>Delivery contains the delivery spec for each trigger
2712+
to this Broker. Each trigger delivery spec, if any, overrides this
2713+
global delivery spec.</p>
26982714
</td>
26992715
</tr>
27002716
</tbody>
@@ -2843,6 +2859,20 @@ knative.dev/pkg/apis/duck/v1.Destination
28432859
is required.</p>
28442860
</td>
28452861
</tr>
2862+
<tr>
2863+
<td>
2864+
<code>delivery</code><br/>
2865+
<em>
2866+
<a href="#duck.knative.dev/v1.DeliverySpec">
2867+
DeliverySpec
2868+
</a>
2869+
</em>
2870+
</td>
2871+
<td>
2872+
<em>(Optional)</em>
2873+
<p>Delivery contains the delivery spec for this specific trigger.</p>
2874+
</td>
2875+
</tr>
28462876
</tbody>
28472877
</table>
28482878
<h3 id="eventing.knative.dev/v1.TriggerStatus">TriggerStatus
@@ -3269,6 +3299,20 @@ knative.dev/pkg/apis/duck/v1.Destination
32693299
is required.</p>
32703300
</td>
32713301
</tr>
3302+
<tr>
3303+
<td>
3304+
<code>delivery</code><br/>
3305+
<em>
3306+
<a href="#duck.knative.dev/v1.DeliverySpec">
3307+
DeliverySpec
3308+
</a>
3309+
</em>
3310+
</td>
3311+
<td>
3312+
<em>(Optional)</em>
3313+
<p>Delivery contains the delivery spec for this specific trigger.</p>
3314+
</td>
3315+
</tr>
32723316
</table>
32733317
</td>
32743318
</tr>
@@ -3606,6 +3650,20 @@ knative.dev/pkg/apis/duck/v1.Destination
36063650
is required.</p>
36073651
</td>
36083652
</tr>
3653+
<tr>
3654+
<td>
3655+
<code>delivery</code><br/>
3656+
<em>
3657+
<a href="#duck.knative.dev/v1.DeliverySpec">
3658+
DeliverySpec
3659+
</a>
3660+
</em>
3661+
</td>
3662+
<td>
3663+
<em>(Optional)</em>
3664+
<p>Delivery contains the delivery spec for this specific trigger.</p>
3665+
</td>
3666+
</tr>
36093667
</tbody>
36103668
</table>
36113669
<h3 id="eventing.knative.dev/v1beta1.TriggerStatus">TriggerStatus
@@ -10363,7 +10421,7 @@ string
1036310421
</td>
1036410422
<td>
1036510423
<em>(Optional)</em>
10366-
<p>DataBase64 is base64 encoded binary data used as the body of the event posted to the sink. Default is empty.
10424+
<p>DataBase64 is the base64-encoded string of the actual event&rsquo;s body posted to the sink. Default is empty.
1036710425
Mutually exclusive with Data.</p>
1036810426
</td>
1036910427
</tr>
@@ -10478,7 +10536,7 @@ string
1047810536
</td>
1047910537
<td>
1048010538
<em>(Optional)</em>
10481-
<p>DataBase64 is base64 encoded binary data used as the body of the event posted to the sink. Default is empty.
10539+
<p>DataBase64 is the base64-encoded string of the actual event&rsquo;s body posted to the sink. Default is empty.
1048210540
Mutually exclusive with Data.</p>
1048310541
</td>
1048410542
</tr>
@@ -10525,5 +10583,5 @@ Source.</p>
1052510583
<hr/>
1052610584
<p><em>
1052710585
Generated with <code>gen-crd-api-reference-docs</code>
10528-
on git commit <code>86bc23919</code>.
10586+
on git commit <code>207aa2673</code>.
1052910587
</em></p>

docs/reference/api/serving.md

+30-33
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ Resource Types:
2323
<p>
2424
<p>PodAutoscaler is a Knative abstraction that encapsulates the interface by which Knative
2525
components instantiate autoscalers. This definition is an abstraction that may be backed
26-
by multiple definitions.
27-
28-
For more information on Knative Autoscalers and Pluggability,
29-
<a href="https://docs.google.com/presentation/d/10KWynvAJYuOEWy69VBa6bHJVCqIsz1TNdEKosNvcpPY/edit">see the Knative Pluggability presentation.</a></p>
26+
by multiple definitions. For more information, see the Knative Pluggability presentation:
27+
<a href="https://docs.google.com/presentation/d/10KWynvAJYuOEWy69VBa6bHJVCqIsz1TNdEKosNvcpPY/edit">https://docs.google.com/presentation/d/10KWynvAJYuOEWy69VBa6bHJVCqIsz1TNdEKosNvcpPY/edit</a></p>
3028
</p>
3129
<table>
3230
<thead>
@@ -702,18 +700,14 @@ Resource Types:
702700
</li><li>
703701
<a href="#serving.knative.dev/v1.Service">Service</a>
704702
</li></ul>
705-
<p>For an overview of the different Resource Types in Knative Serving and how they interact with one another, see <a href="https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration">this explanation of Resource Types</a></p>
706-
707703
<h3 id="serving.knative.dev/v1.Configuration">Configuration
708704
</h3>
709-
710705
<p>
711706
<p>Configuration represents the &ldquo;floating HEAD&rdquo; of a linear history of Revisions.
712707
Users create new Revisions by updating the Configuration&rsquo;s spec.
713708
The &ldquo;latest created&rdquo; revision&rsquo;s name is available under status, as is the
714709
&ldquo;latest ready&rdquo; revision&rsquo;s name.
715-
716-
For more information on how Configuration interacts with other Resource Types, see the "Configuration" sub-heading <a href="https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration">in the Resource Types Overview.</a></p>
710+
See also: <a href="https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration">https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration</a></p>
717711
</p>
718712
<table>
719713
<thead>
@@ -807,8 +801,7 @@ ConfigurationStatus
807801
<p>Revision is an immutable snapshot of code and configuration. A revision
808802
references a container image. Revisions are created by updates to a
809803
Configuration.</p>
810-
811-
<p>For more information on how Revision interacts with other Resource Types, see the "Revision" sub-heading <a href="https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision">in the Resource Types Overview.</a></p>
804+
<p>See also: <a href="https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision">https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision</a></p>
812805
</p>
813806
<table>
814807
<thead>
@@ -903,9 +896,9 @@ int64
903896
</td>
904897
<td>
905898
<em>(Optional)</em>
906-
<p>TimeoutSeconds holds the max duration the instance is allowed for
907-
responding to a request. If unspecified, a system default will
908-
be provided.</p>
899+
<p>TimeoutSeconds is the maximum duration in seconds that the request routing
900+
layer will wait for a request delivered to a container to begin replying
901+
(send network traffic). If unspecified, a system default will be provided.</p>
909902
</td>
910903
</tr>
911904
</table>
@@ -934,8 +927,7 @@ Some of the Revisions a Route distributes traffic over may be specified by
934927
referencing the Configuration responsible for creating them; in these cases
935928
the Route is additionally responsible for monitoring the Configuration for
936929
&ldquo;latest ready revision&rdquo; changes, and smoothly rolling out latest revisions.
937-
938-
For more information on how Route interacts with other Resource Types, see the "Route" sub-heading <a href="https://github.com/knative/serving/blob/master/docs/spec/overview.md#route">in the Resource Types Overview.</a></p>
930+
See also: <a href="https://github.com/knative/serving/blob/master/docs/spec/overview.md#route">https://github.com/knative/serving/blob/master/docs/spec/overview.md#route</a></p>
939931
</p>
940932
<table>
941933
<thead>
@@ -1038,8 +1030,7 @@ underlying Routes and Configurations (much as a kubernetes Deployment
10381030
orchestrates ReplicaSets), and its usage is optional but recommended.</p>
10391031
<p>The Service&rsquo;s controller will track the statuses of its owned Configuration
10401032
and Route, reflecting their statuses and conditions as its own.</p>
1041-
1042-
<p>For more information on how Service interacts with other Resource Types, see the "Service" sub-heading <a href="https://github.com/knative/serving/blob/master/docs/spec/overview.md#service">in the Resource Types Overview.</a></p>
1033+
<p>See also: <a href="https://github.com/knative/serving/blob/master/docs/spec/overview.md#service">https://github.com/knative/serving/blob/master/docs/spec/overview.md#service</a></p>
10431034
</p>
10441035
<table>
10451036
<thead>
@@ -1365,9 +1356,9 @@ int64
13651356
</td>
13661357
<td>
13671358
<em>(Optional)</em>
1368-
<p>TimeoutSeconds holds the max duration the instance is allowed for
1369-
responding to a request. If unspecified, a system default will
1370-
be provided.</p>
1359+
<p>TimeoutSeconds is the maximum duration in seconds that the request routing
1360+
layer will wait for a request delivered to a container to begin replying
1361+
(send network traffic). If unspecified, a system default will be provided.</p>
13711362
</td>
13721363
</tr>
13731364
</tbody>
@@ -1411,7 +1402,11 @@ string
14111402
<td>
14121403
<em>(Optional)</em>
14131404
<p>ServiceName holds the name of a core Kubernetes Service resource that
1414-
load balances over the pods backing this Revision.</p>
1405+
load balances over the pods backing this Revision.
1406+
Deprecated: revision service name is effectively equal to the revision name,
1407+
as per #10540.
1408+
0.23 — stop populating
1409+
0.25 — remove.</p>
14151410
</td>
14161411
</tr>
14171412
<tr>
@@ -1445,7 +1440,7 @@ If multiple containers specified then DeprecatedImageDigest holds the digest
14451440
for serving container.
14461441
DEPRECATED: Use ContainerStatuses instead.
14471442
TODO(savitaashture) Remove deprecatedImageDigest.
1448-
(see <a href="https://kubernetes.io/docs/reference/using-api/deprecation-policy">Kubernetes Deprecation Policy</a>) for deprecation.</p>
1443+
ref <a href="https://kubernetes.io/docs/reference/using-api/deprecation-policy">https://kubernetes.io/docs/reference/using-api/deprecation-policy</a> for deprecation.</p>
14491444
</td>
14501445
</tr>
14511446
<tr>
@@ -1464,7 +1459,7 @@ to their respective digests and their container name.
14641459
The digests are resolved during the creation of Revision.
14651460
ContainerStatuses holds the container name and image digests
14661461
for both serving and non serving containers.
1467-
See the <a href="http://bit.ly/image-digests">Proposal for multiple containers in a revision</a> for some context on this field.</p>
1462+
ref: <a href="http://bit.ly/image-digests">http://bit.ly/image-digests</a></p>
14681463
</td>
14691464
</tr>
14701465
</tbody>
@@ -1476,7 +1471,7 @@ See the <a href="http://bit.ly/image-digests">Proposal for multiple containers
14761471
</p>
14771472
<p>
14781473
<p>RevisionTemplateSpec describes the data a revision should have when created from a template.
1479-
Based on <a href="https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190">the PodTemplateSpec in Kubernetes</a></p>
1474+
Based on: <a href="https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190">https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190</a></p>
14801475
</p>
14811476
<table>
14821477
<thead>
@@ -1554,9 +1549,9 @@ int64
15541549
</td>
15551550
<td>
15561551
<em>(Optional)</em>
1557-
<p>TimeoutSeconds holds the max duration the instance is allowed for
1558-
responding to a request. If unspecified, a system default will
1559-
be provided.</p>
1552+
<p>TimeoutSeconds is the maximum duration in seconds that the request routing
1553+
layer will wait for a request delivered to a container to begin replying
1554+
(send network traffic). If unspecified, a system default will be provided.</p>
15601555
</td>
15611556
</tr>
15621557
</table>
@@ -1718,7 +1713,7 @@ LatestReadyRevisionName that we last observed.</p>
17181713
</tr>
17191714
</thead>
17201715
<tbody><tr><td><p>&#34;active&#34;</p></td>
1721-
<td><p>RoutingStateActive is a state for a revision which are actively referenced by a Route.</p>
1716+
<td><p>RoutingStateActive is a state for a revision which is actively referenced by a Route.</p>
17221717
</td>
17231718
</tr><tr><td><p>&#34;pending&#34;</p></td>
17241719
<td><p>RoutingStatePending is a state after a revision is created, but before
@@ -2021,7 +2016,9 @@ Kubernetes meta/v1.ObjectMeta
20212016
<td>
20222017
<em>(Optional)</em>
20232018
<p>Standard object&rsquo;s metadata.
2024-
Refer to the <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata">Kubernetes API documentation</a> for the fields of the <code>metadata</code> field.
2019+
More info: <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata">https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata</a></p>
2020+
Refer to the Kubernetes API documentation for the fields of the
2021+
<code>metadata</code> field.
20252022
</td>
20262023
</tr>
20272024
<tr>
@@ -2036,7 +2033,7 @@ DomainMappingSpec
20362033
<td>
20372034
<em>(Optional)</em>
20382035
<p>Spec is the desired state of the DomainMapping.
2039-
Refer to the <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status">Kubernetes API documentation</a> for more info on the <code>DomainMappingSpec</code> field.
2036+
More info: <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status">https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</a></p>
20402037
<br/>
20412038
<br/>
20422039
<table>
@@ -2072,7 +2069,7 @@ DomainMappingStatus
20722069
<td>
20732070
<em>(Optional)</em>
20742071
<p>Status is the current state of the DomainMapping.
2075-
Refer to the <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status">Kubernetes API documentation</a> for more info on the <code>DomainMappingStatus</code> field.</p>
2072+
More info: <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status">https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</a></p>
20762073
</td>
20772074
</tr>
20782075
</tbody>
@@ -2205,5 +2202,5 @@ knative.dev/pkg/apis/duck/v1.Addressable
22052202
<hr/>
22062203
<p><em>
22072204
Generated with <code>gen-crd-api-reference-docs</code>
2208-
on git commit <code>6dba44a70</code>.
2205+
on git commit <code>b9576f56c</code>.
22092206
</em></p>

0 commit comments

Comments
 (0)