diff --git a/docs/reference/eventing/eventing-contrib.md b/docs/reference/eventing/eventing-contrib.md index 1e82faf9ac..416b479f2b 100644 --- a/docs/reference/eventing/eventing-contrib.md +++ b/docs/reference/eventing/eventing-contrib.md @@ -1,32 +1,26 @@

Packages:

-

sources.knative.dev/v1alpha1

+

messaging.knative.dev/v1alpha1

-

Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group

+

Package v1alpha1 is the v1alpha1 version of the API.

Resource Types: -

AwsSqsSource +

KafkaChannel

-

AwsSqsSource is the Schema for the AWS SQS API

+

KafkaChannel is a resource representing a Kafka Channel.

@@ -42,7 +36,7 @@ Resource Types: string @@ -51,7 +45,7 @@ sources.knative.dev/v1alpha1 kind
string - + @@ -71,64 +66,47 @@ Refer to the Kubernetes API documentation for the fields of the
-sources.knative.dev/v1alpha1 +messaging.knative.dev/v1alpha1
AwsSqsSourceKafkaChannel
@@ -63,6 +57,7 @@ Kubernetes meta/v1.ObjectMeta +(Optional) Refer to the Kubernetes API documentation for the fields of the metadata field. spec
- -AwsSqsSourceSpec + +KafkaChannelSpec
+

Spec defines the desired state of the Channel.



- - - -
-queueUrl
- -string - -
-

QueueURL of the SQS queue that we will poll from.

-
-awsCredsSecret
+numPartitions
- -Kubernetes core/v1.SecretKeySelector - +int32
-

AwsCredsSecret is the credential to use to poll the AWS SQS

+

NumPartitions is the number of partitions of a Kafka topic. By default, it is set to 1.

-sink
+replicationFactor
- -Kubernetes core/v1.ObjectReference - +int16
-(Optional) -

Sink is a reference to an object that will resolve to a domain name to -use as the sink. This is where events will be received.

+

ReplicationFactor is the replication factor of a Kafka topic. By default, it is set to 1.

-serviceAccountName
+subscribable
-string +knative.dev/eventing/pkg/apis/duck/v1alpha1.Subscribable
-

ServiceAccoutName is the name of the ServiceAccount that will be used to -run the Receive Adapter Deployment.

+

KafkaChannel conforms to Duck type Subscribable.

@@ -138,20 +116,23 @@ run the Receive Adapter Deployment.

status
- -AwsSqsSourceStatus + +KafkaChannelStatus
+(Optional) +

Status represents the current state of the KafkaChannel. This data may be out of +date.

-

CamelSource +

NatssChannel

-

CamelSource is the Schema for the camelsources API

+

NatssChannel is a resource representing a NATSS Channel.

@@ -167,7 +148,7 @@ AwsSqsSourceStatus string @@ -176,7 +157,7 @@ sources.knative.dev/v1alpha1 kind
string - + @@ -196,51 +178,25 @@ Refer to the Kubernetes API documentation for the fields of the
-sources.knative.dev/v1alpha1 +messaging.knative.dev/v1alpha1
CamelSourceNatssChannel
@@ -188,6 +169,7 @@ Kubernetes meta/v1.ObjectMeta +(Optional) Refer to the Kubernetes API documentation for the fields of the metadata field. spec
- -CamelSourceSpec + +NatssChannelSpec
+

Spec defines the desired state of the Channel.



- - - - - - - -
-source
- - -CamelSourceOriginSpec - - -
-

Source is the reference to the integration flow to run.

-
-sink
- -knative.dev/pkg/apis/duck/v1beta1.Destination - -
-(Optional) -

Sink is a reference to an object that will resolve to a domain name to use as the sink.

-
-ceOverrides
+subscribable
-knative.dev/pkg/apis/duck/v1.CloudEventOverrides +knative.dev/eventing/pkg/apis/duck/v1alpha1.Subscribable
-(Optional) -

CloudEventOverrides defines overrides to control the output format and -modifications of the event sent to the sink.

+

NatssChannel conforms to Duck type Subscribable.

@@ -250,20 +206,27 @@ modifications of the event sent to the sink.

status
- -CamelSourceStatus + +NatssChannelStatus
+(Optional) +

Status represents the current state of the NatssChannel. This data may be out of +date.

-

CouchDbSource +

KafkaChannelSpec

-

CouchDbSource is the Schema for the githubsources API

+(Appears on: +KafkaChannel) +

+

+

KafkaChannelSpec defines the specification for a KafkaChannel.

@@ -275,135 +238,224 @@ CamelSourceStatus - - - - + + +
-apiVersion
-string
- -sources.knative.dev/v1alpha1 - +numPartitions
+ +int32 +
-kind
-string +

NumPartitions is the number of partitions of a Kafka topic. By default, it is set to 1.

CouchDbSource
-metadata
+replicationFactor
- -Kubernetes meta/v1.ObjectMeta - +int16
-Refer to the Kubernetes API documentation for the fields of the -metadata field. +

ReplicationFactor is the replication factor of a Kafka topic. By default, it is set to 1.

-spec
+subscribable
- -CouchDbSourceSpec - +knative.dev/eventing/pkg/apis/duck/v1alpha1.Subscribable
-
-
+

KafkaChannel conforms to Duck type Subscribable.

+
+

KafkaChannelStatus +

+

+(Appears on: +KafkaChannel) +

+

+

KafkaChannelStatus represents the current state of a KafkaChannel.

+

+ + + + + + + + +
FieldDescription
-serviceAccountName
+Status
-string +knative.dev/pkg/apis/duck/v1beta1.Status
-(Optional) -

ServiceAccountName holds the name of the Kubernetes service account -as which the underlying K8s resources should be run. If unspecified -this will default to the “default” service account for the namespace -in which the CouchDbSource exists.

+

+(Members of Status are embedded into this type.) +

+

inherits duck/v1beta1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

-credentials
+AddressStatus
- -Kubernetes core/v1.ObjectReference - +knative.dev/pkg/apis/duck/v1alpha1.AddressStatus
-

CouchDbCredentials is the credential to use to access CouchDb. -Must be a secret. Only Name and Namespace are used.

+

+(Members of AddressStatus are embedded into this type.) +

+

KafkaChannel is Addressable. It currently exposes the endpoint as a +fully-qualified DNS name which will distribute traffic over the +provided targets from inside the cluster.

+

It generally has the form {channel}.{namespace}.svc.{cluster domain name}

-feed
+SubscribableTypeStatus
- -FeedType - +knative.dev/eventing/pkg/apis/duck/v1alpha1.SubscribableTypeStatus
-

Feed changes how CouchDB sends the response. -More information: https://docs.couchdb.org/en/stable/api/database/changes.html#changes-feeds

+

+(Members of SubscribableTypeStatus are embedded into this type.) +

+

Subscribers is populated with the statuses of each of the Channelable’s subscribers.

+

NatssChannelSpec +

+

+(Appears on: +NatssChannel) +

+

+

NatssChannelSpec defines the specification for a NatssChannel.

+

+ + + + + + + + + +
FieldDescription
-database
+subscribable
-string +knative.dev/eventing/pkg/apis/duck/v1alpha1.Subscribable
-

Database is the database to watch for changes

+

NatssChannel conforms to Duck type Subscribable.

+

NatssChannelStatus +

+

+(Appears on: +NatssChannel) +

+

+

NatssChannelStatus represents the current state of a NatssChannel.

+

+ + + + + + + + -
FieldDescription
-sink
+Status
-knative.dev/pkg/apis/duck/v1beta1.Destination +knative.dev/pkg/apis/duck/v1beta1.Status
-(Optional) -

Sink is a reference to an object that will resolve to a domain name to use as the sink.

+

+(Members of Status are embedded into this type.) +

+

inherits duck/v1beta1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

+ + +AddressStatus
+ +knative.dev/pkg/apis/duck/v1alpha1.AddressStatus + + + +

+(Members of AddressStatus are embedded into this type.) +

+

NatssChannel is Addressable. It currently exposes the endpoint as a +fully-qualified DNS name which will distribute traffic over the +provided targets from inside the cluster.

+

It generally has the form {channel}.{namespace}.svc.{cluster domain name}

-status
+SubscribableTypeStatus
- -CouchDbSourceStatus - +knative.dev/eventing/pkg/apis/duck/v1alpha1.SubscribableTypeStatus +

+(Members of SubscribableTypeStatus are embedded into this type.) +

+

Subscribers is populated with the statuses of each of the Channelable’s subscribers.

-

GitHubSource +
+

sources.knative.dev/v1alpha1

+

+

Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group

+

+Resource Types: + +

AwsSqsSource

-

GitHubSource is the Schema for the githubsources API

+

AwsSqsSource is the Schema for the AWS SQS API

@@ -428,7 +480,7 @@ sources.knative.dev/v1alpha1 kind
string - + @@ -459,112 +511,178 @@ GitHubSourceSpec
GitHubSourceAwsSqsSource
@@ -448,8 +500,8 @@ Refer to the Kubernetes API documentation for the fields of the spec
- -GitHubSourceSpec + +AwsSqsSourceSpec
+ + + + + + +
-serviceAccountName
+queueUrl
string
+

QueueURL of the SQS queue that we will poll from.

+
+awsCredsSecret
+ + +Kubernetes core/v1.SecretKeySelector + + +
(Optional) -

ServiceAccountName holds the name of the Kubernetes service account -as which the underlying K8s resources should be run. If unspecified -this will default to the “default” service account for the namespace -in which the GitHubSource exists.

+

AwsCredsSecret is the credential to use to poll the AWS SQS

-ownerAndRepository
+annotations
-string +map[string]string
-

OwnerAndRepository is the GitHub owner/org and repository to -receive events from. The repository may be left off to receive -events from an entire organization. -Examples: -myuser/project -myorganization

+(Optional) +

Annotations to add to the pod, mostly used for Kube2IAM role

-eventTypes
+sink
-[]string + +Kubernetes core/v1.ObjectReference +
-

EventType is the type of event to receive from GitHub. These -correspond to the “Webhook event name” values listed at -https://developer.github.com/v3/activity/events/types/ - ie -“pull_request”

+(Optional) +

Sink is a reference to an object that will resolve to a domain name to +use as the sink. This is where events will be received.

-accessToken
+serviceAccountName
- -SecretValueFromSource +string + +
+

ServiceAccoutName is the name of the ServiceAccount that will be used to +run the Receive Adapter Deployment.

+
+ + + + +status
+ + +AwsSqsSourceStatus -

AccessToken is the Kubernetes secret containing the GitHub -access token

+ + + + +

CamelSource +

+

+

CamelSource is the Schema for the camelsources API

+

+ + + + + + + + + + + + + + + @@ -584,10 +702,10 @@ GitHubSourceStatus
FieldDescription
+apiVersion
+string
+ +sources.knative.dev/v1alpha1 +
-secretToken
+kind
+string +
CamelSource
+metadata
- -SecretValueFromSource + +Kubernetes meta/v1.ObjectMeta
-

SecretToken is the Kubernetes secret containing the GitHub -secret token

+Refer to the Kubernetes API documentation for the fields of the +metadata field.
-sink
+spec
-knative.dev/pkg/apis/duck/v1beta1.Destination + +CamelSourceSpec +
-(Optional) -

Sink is a reference to an object that will resolve to a domain -name to use as the sink.

+
+
+ + + +
+source
+ + +CamelSourceOriginSpec + + +
+

Source is the reference to the integration flow to run.

-githubAPIURL
+sink
-string +knative.dev/pkg/apis/duck/v1beta1.Destination
(Optional) -

API URL if using github enterprise (default https://api.github.com)

+

Sink is a reference to an object that will resolve to a domain name to use as the sink.

-secure
+ceOverrides
-bool +knative.dev/pkg/apis/duck/v1.CloudEventOverrides
(Optional) -

Secure can be set to true to configure the webhook to use https.

+

CloudEventOverrides defines overrides to control the output format and +modifications of the event sent to the sink.

@@ -574,8 +692,8 @@ bool
status
- -GitHubSourceStatus + +CamelSourceStatus
-

PrometheusSource +

CouchDbSource

-

PrometheusSource is the Schema for the prometheussources API

+

CouchDbSource is the Schema for the githubsources API

@@ -612,7 +730,7 @@ sources.knative.dev/v1alpha1 kind
string - + @@ -653,23 +771,517 @@ string

ServiceAccountName holds the name of the Kubernetes service account as which the underlying K8s resources should be run. If unspecified this will default to the “default” service account for the namespace -in which the PrometheusSource exists.

+in which the CouchDbSource exists.

+ + + + + + + + + + +
PrometheusSourceCouchDbSource
@@ -632,8 +750,8 @@ Refer to the Kubernetes API documentation for the fields of the spec
- -PrometheusSourceSpec + +CouchDbSourceSpec
-serverURL
+credentials
-string + +Kubernetes core/v1.ObjectReference +
-

ServerURL is the URL of the Prometheus server

+

CouchDbCredentials is the credential to use to access CouchDb. +Must be a secret. Only Name and Namespace are used.

-promQL
+feed
+ + +FeedType + + +
+

Feed changes how CouchDB sends the response. +More information: https://docs.couchdb.org/en/stable/api/database/changes.html#changes-feeds

+
+database
+ +string + +
+

Database is the database to watch for changes

+
+sink
+ +knative.dev/pkg/apis/duck/v1.Destination + +
+(Optional) +

Sink is a reference to an object that will resolve to a domain name to use as the sink.

+
+ + + + +status
+ + +CouchDbSourceStatus + + + + + + + + +

GitHubSource +

+

+

GitHubSource is the Schema for the githubsources API

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldDescription
+apiVersion
+string
+ +sources.knative.dev/v1alpha1 + +
+kind
+string +
GitHubSource
+metadata
+ + +Kubernetes meta/v1.ObjectMeta + + +
+Refer to the Kubernetes API documentation for the fields of the +metadata field. +
+spec
+ + +GitHubSourceSpec + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+serviceAccountName
+ +string + +
+(Optional) +

ServiceAccountName holds the name of the Kubernetes service account +as which the underlying K8s resources should be run. If unspecified +this will default to the “default” service account for the namespace +in which the GitHubSource exists.

+
+ownerAndRepository
+ +string + +
+

OwnerAndRepository is the GitHub owner/org and repository to +receive events from. The repository may be left off to receive +events from an entire organization. +Examples: +myuser/project +myorganization

+
+eventTypes
+ +[]string + +
+

EventType is the type of event to receive from GitHub. These +correspond to the “Webhook event name” values listed at +https://developer.github.com/v3/activity/events/types/ - ie +“pull_request”

+
+accessToken
+ + +SecretValueFromSource + + +
+

AccessToken is the Kubernetes secret containing the GitHub +access token

+
+secretToken
+ + +SecretValueFromSource + + +
+

SecretToken is the Kubernetes secret containing the GitHub +secret token

+
+sink
+ +knative.dev/pkg/apis/duck/v1.Destination + +
+(Optional) +

Sink is a reference to an object that will resolve to a domain +name to use as the sink.

+
+githubAPIURL
+ +string + +
+(Optional) +

API URL if using github enterprise (default https://api.github.com)

+
+secure
+ +bool + +
+(Optional) +

Secure can be set to true to configure the webhook to use https, +or false to use http. Omitting it relies on the scheme of the +Knative Service created (e.g. if auto-TLS is enabled it should +do the right thing).

+
+
+status
+ + +GitHubSourceStatus + + +
+
+

GitLabSource +

+

+

GitLabSource is the Schema for the gitlabsources API

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldDescription
+apiVersion
+string
+ +sources.knative.dev/v1alpha1 + +
+kind
+string +
GitLabSource
+metadata
+ + +Kubernetes meta/v1.ObjectMeta + + +
+Refer to the Kubernetes API documentation for the fields of the +metadata field. +
+spec
+ + +GitLabSourceSpec + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+serviceAccountName
+ +string + +
+(Optional) +

ServiceAccountName holds the name of the Kubernetes service account +as which the underlying K8s resources should be run. If unspecified +this will default to the “default” service account for the namespace +in which the GitLabSource exists.

+
+projectUrl
+ +string + +
+

ProjectUrl is the url of the GitLab project we want to receive events from. +Examples: +https://github.com/knative/eventing-contrib/tree/master/gitlab/

+
+eventTypes
+ +[]string + +
+

EventType is the type of event to receive from Gitlab. These +correspond to supported events to the add project hook +https://docs.gitlab.com/ee/api/projects.html#add-project-hook

+
+accessToken
+ + +SecretValueFromSource + + +
+

AccessToken is the Kubernetes secret containing the GitLab +access token

+
+secretToken
+ + +SecretValueFromSource + + +
+

SecretToken is the Kubernetes secret containing the GitLab +secret token

+
+sslverify
+ +bool + +
+

SslVerify if true configure webhook so the ssl verification is done when triggering the hook

+
+sink
+ +knative.dev/pkg/apis/duck/v1.Destination + +
+(Optional) +

Sink is a reference to an object that will resolve to a domain +name to use as the sink.

+
+
+status
+ + +GitLabSourceStatus + + +
+
+

PrometheusSource +

+

+

PrometheusSource is the Schema for the prometheussources API

+

+ + + + + + + + + + + + + + + + + + + + + + +
FieldDescription
+apiVersion
+string
+ +sources.knative.dev/v1alpha1 + +
+kind
+string +
PrometheusSource
+metadata
+ + +Kubernetes meta/v1.ObjectMeta + + +
+Refer to the Kubernetes API documentation for the fields of the +metadata field. +
+spec
+ + +PrometheusSourceSpec + + +
+
+
+ + + + + + + + + + + + + + + - - - - @@ -1258,145 +1874,52 @@ secret token

- - - - - - - - - - - -
+serviceAccountName
+ +string + +
+(Optional) +

ServiceAccountName holds the name of the Kubernetes service account +as which the underlying K8s resources should be run. If unspecified +this will default to the “default” service account for the namespace +in which the PrometheusSource exists.

+
+serverURL
+ +string + +
+

ServerURL is the URL of the Prometheus server

+
+promQL
string @@ -731,7 +1343,7 @@ Prometheus duration strings are of the form [0-9]+[smhdwy].

sink
-knative.dev/pkg/apis/duck/v1beta1.Destination +knative.dev/pkg/apis/duck/v1.Destination
@@ -795,11 +1407,24 @@ Kubernetes core/v1.SecretKeySelector +(Optional)

AwsCredsSecret is the credential to use to poll the AWS SQS

+annotations
+ +map[string]string + +
+(Optional) +

Annotations to add to the pod, mostly used for Kube2IAM role

+
sink
@@ -1088,7 +1713,7 @@ string
sink
-knative.dev/pkg/apis/duck/v1beta1.Destination +knative.dev/pkg/apis/duck/v1.Destination
@@ -1117,31 +1742,22 @@ knative.dev/pkg/apis/duck/v1beta1.Destination
-Status
+SourceStatus
-knative.dev/pkg/apis/duck/v1beta1.Status +knative.dev/pkg/apis/duck/v1.SourceStatus

-(Members of Status are embedded into this type.) +(Members of SourceStatus are embedded into this type.)

-

inherits duck/v1alpha1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

-
-sinkUri
- -string - -
-(Optional) -

SinkURI is the current active sink URI that has been configured -for the CouchDbSource.

+

inherits duck/v1 SourceStatus, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last +processed by the controller. +* Conditions - the latest available observations of a resource’s current +state. +* SinkURI - the current active sink URI that has been configured for the +Source.

sink
-knative.dev/pkg/apis/duck/v1beta1.Destination - -
-(Optional) -

Sink is a reference to an object that will resolve to a domain -name to use as the sink.

-
-githubAPIURL
- -string - -
-(Optional) -

API URL if using github enterprise (default https://api.github.com)

-
-secure
- -bool - -
-(Optional) -

Secure can be set to true to configure the webhook to use https.

-
-

GitHubSourceStatus -

-

-(Appears on: -GitHubSource) -

-

-

GitHubSourceStatus defines the observed state of GitHubSource

-

- - - - - - - - - - - - - - - - - - - - - -
FieldDescription
-Status
- -knative.dev/pkg/apis/duck/v1.Status - -
-

-(Members of Status are embedded into this type.) -

-

inherits duck/v1alpha1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

-
-webhookIDKey
- -string - -
-

WebhookIDKey is the ID of the webhook registered with GitHub

-
-sinkUri
- -string - -
-(Optional) -

SinkURI is the current active sink URI that has been configured -for the GitHubSource.

-
-

KafkaLimitsSpec -

-

-(Appears on: -KafkaResourceSpec) -

-

-

- - - - - +knative.dev/pkg/apis/duck/v1.Destination + + + - -
FieldDescription +(Optional) +

Sink is a reference to an object that will resolve to a domain +name to use as the sink.

+
-cpu
+githubAPIURL
string
+(Optional) +

API URL if using github enterprise (default https://api.github.com)

-memory
+secure
-string +bool
+(Optional) +

Secure can be set to true to configure the webhook to use https, +or false to use http. Omitting it relies on the scheme of the +Knative Service created (e.g. if auto-TLS is enabled it should +do the right thing).

-

KafkaRequestsSpec +

GitHubSourceStatus

(Appears on: -KafkaResourceSpec) +GitHubSource)

+

GitHubSourceStatus defines the observed state of GitHubSource

@@ -1408,33 +1931,45 @@ string
-cpu
+SourceStatus
-string +knative.dev/pkg/apis/duck/v1.SourceStatus
+

+(Members of SourceStatus are embedded into this type.) +

+

inherits duck/v1 SourceStatus, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last +processed by the controller. +* Conditions - the latest available observations of a resource’s current +state. +* SinkURI - the current active sink URI that has been configured for the +Source.

-memory
+webhookIDKey
string
+

WebhookIDKey is the ID of the webhook registered with GitHub

-

KafkaResourceSpec +

GitLabSourceSpec

(Appears on: -KafkaSourceSpec) +GitLabSource)

+

GitLabSourceSpec defines the desired state of GitLabSource

@@ -1446,162 +1981,181 @@ string - -
-requests
+serviceAccountName
- -KafkaRequestsSpec - +string
+(Optional) +

ServiceAccountName holds the name of the Kubernetes service account +as which the underlying K8s resources should be run. If unspecified +this will default to the “default” service account for the namespace +in which the GitLabSource exists.

-limits
+projectUrl
- -KafkaLimitsSpec - +string
+

ProjectUrl is the url of the GitLab project which we are interested +in receiving events from. +Examples: +https://github.com/knative/eventing-contrib/tree/{{% branch %}}/gitlab/samples

-

KafkaSource -

-

-

KafkaSource is the Schema for the kafkasources API.

-

- - - - - - - -
FieldDescription
-metadata
+eventTypes
- -Kubernetes meta/v1.ObjectMeta - +[]string
-Refer to the Kubernetes API documentation for the fields of the -metadata field. +

EventType is the type of event to receive from Gitlab. These +correspond to supported events to the add project hook +https://docs.gitlab.com/ee/api/projects.html#add-project-hook

-spec
+accessToken
- -KafkaSourceSpec + +SecretValueFromSource
-
-
- - - - + +
-bootstrapServers
- -string - -
-

Bootstrap servers are the Kafka servers the consumer will connect to.

+

AccessToken is the Kubernetes secret containing the GitLab +access token

-topics
+secretToken
-string + +SecretValueFromSource +
-

Topic topics to consume messages from

+

SecretToken is the Kubernetes secret containing the GitLab +secret token

-consumerGroup
+sslverify
-string +bool
-

ConsumerGroupID is the consumer group ID.

+

SslVerify if true configure webhook so the ssl verification is done when triggering the hook

-net
+sink
- -KafkaSourceNetSpec - +knative.dev/pkg/apis/duck/v1.Destination
+(Optional) +

Sink is a reference to an object that will resolve to a domain +name to use as the sink.

+

GitLabSourceStatus +

+

+(Appears on: +GitLabSource) +

+

+

GitLabSourceStatus defines the observed state of GitLabSource

+

+ + + + + + + + + +
FieldDescription
-sink
+SourceStatus
-knative.dev/pkg/apis/duck/v1beta1.Destination +knative.dev/pkg/apis/duck/v1.SourceStatus
-(Optional) -

Sink is a reference to an object that will resolve to a domain name to use as the sink.

+

+(Members of SourceStatus are embedded into this type.) +

+

inherits duck/v1 SourceStatus, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last +processed by the controller. +* Conditions - the latest available observations of a resource’s current +state. +* SinkURI - the current active sink URI that has been configured for the +Source.

-serviceAccountName
+Id
string
-

ServiceAccoutName is the name of the ServiceAccount that will be used to run the Receive -Adapter Deployment.

+

ID of the project hook registered with GitLab

+

KafkaLimitsSpec +

+

+(Appears on: +KafkaResourceSpec) +

+

+

+ + + + + + + + - -
FieldDescription
-resources
+cpu
- -KafkaResourceSpec - +string
-

Resource limits and Request specifications of the Receive Adapter Deployment

-
-status
+memory
- -KafkaSourceStatus - +string
@@ -1609,11 +2163,11 @@ KafkaSourceStatus
-

KafkaSourceNetSpec +

KafkaRequestsSpec

(Appears on: -KafkaSourceSpec) +KafkaResourceSpec)

@@ -1627,11 +2181,9 @@ KafkaSourceStatus
-sasl
+cpu
- -KafkaSourceSASLSpec - +string
@@ -1639,11 +2191,9 @@ KafkaSourceSASLSpec
-tls
+memory
- -KafkaSourceTLSSpec - +string
@@ -1651,11 +2201,11 @@ KafkaSourceTLSSpec
-

KafkaSourceSASLSpec +

KafkaResourceSpec

(Appears on: -KafkaSourceNetSpec) +KafkaSourceSpec)

@@ -1669,52 +2219,34 @@ KafkaSourceTLSSpec -enable
- -bool - - - - - - - -user
+requests
- -SecretValueFromSource + +KafkaRequestsSpec -(Optional) -

User is the Kubernetes secret containing the SASL username.

-password
+limits
- -SecretValueFromSource + +KafkaLimitsSpec -(Optional) -

Password is the Kubernetes secret containing the SASL password.

-

KafkaSourceSpec +

KafkaSource

-(Appears on: -KafkaSource) -

-

-

KafkaSourceSpec defines the desired state of the KafkaSource.

+

KafkaSource is the Schema for the kafkasources API.

@@ -1722,8 +2254,35 @@ SecretValueFromSource - - + + + + + + + + + + + + + +
Field Description
+metadata
+ + +Kubernetes meta/v1.ObjectMeta + + +
+Refer to the Kubernetes API documentation for the fields of the +metadata field. +
+spec
+ + +KafkaSourceSpec + + +
+
+
+ +
bootstrapServers
@@ -1773,7 +2332,7 @@ KafkaSourceNetSpec
sink
-knative.dev/pkg/apis/duck/v1beta1.Destination +knative.dev/pkg/apis/duck/v1.Destination
@@ -1806,16 +2365,30 @@ KafkaResourceSpec

Resource limits and Request specifications of the Receive Adapter Deployment

+
+status
+ + +KafkaSourceStatus + + +
+
-

KafkaSourceStatus +

KafkaSourceNetSpec

(Appears on: -KafkaSource) +KafkaSourceSpec)

-

KafkaSourceStatus defines the observed state of KafkaSource.

@@ -1827,35 +2400,31 @@ KafkaResourceSpec
-Status
+sasl
-knative.dev/pkg/apis/duck/v1.Status + +KafkaSourceSASLSpec +
-

-(Members of Status are embedded into this type.) -

-

inherits duck/v1alpha1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

-sinkUri
+tls
-string + +KafkaSourceTLSSpec +
-(Optional) -

SinkURI is the current active sink URI that has been configured for the KafkaSource.

-

KafkaSourceTLSSpec +

KafkaSourceSASLSpec

(Appears on: @@ -1883,21 +2452,7 @@ bool -cert
- - -SecretValueFromSource - - - - -(Optional) -

Cert is the Kubernetes secret containing the client certificate.

- - - - -key
+user
SecretValueFromSource @@ -1906,12 +2461,12 @@ SecretValueFromSource (Optional) -

Key is the Kubernetes secret containing the client key.

+

User is the Kubernetes secret containing the SASL username.

-caCert
+password
SecretValueFromSource @@ -1920,19 +2475,19 @@ SecretValueFromSource (Optional) -

CACert is the Kubernetes secret containing the server CA cert.

+

Password is the Kubernetes secret containing the SASL password.

-

PrometheusSourceSpec +

KafkaSourceSpec

(Appears on: -PrometheusSource) +KafkaSource)

-

PrometheusSourceSpec defines the desired state of PrometheusSource

+

KafkaSourceSpec defines the desired state of the KafkaSource.

@@ -1944,113 +2499,96 @@ SecretValueFromSource - - - -
-serviceAccountName
+bootstrapServers
string
-(Optional) -

ServiceAccountName holds the name of the Kubernetes service account -as which the underlying K8s resources should be run. If unspecified -this will default to the “default” service account for the namespace -in which the PrometheusSource exists.

+

Bootstrap servers are the Kafka servers the consumer will connect to.

-serverURL
+topics
string
-

ServerURL is the URL of the Prometheus server

+

Topic topics to consume messages from

-promQL
+consumerGroup
string
-

PromQL is the Prometheus query for this source

+

ConsumerGroupID is the consumer group ID.

-authTokenFile
+net
-string + +KafkaSourceNetSpec +
-(Optional) -

The name of the file containing the authenication token

-caCertConfigMap
+sink
-string +knative.dev/pkg/apis/duck/v1.Destination
(Optional) -

The name of the config map containing the CA certificate of the -Prometheus service’s signer.

-
-schedule
- -string - -
-

A crontab-formatted schedule for running the PromQL query

+

Sink is a reference to an object that will resolve to a domain name to use as the sink.

-step
+serviceAccountName
string
-(Optional) -

Query resolution step width in duration format or float number of seconds. -Prometheus duration strings are of the form [0-9]+[smhdwy].

+

ServiceAccoutName is the name of the ServiceAccount that will be used to run the Receive +Adapter Deployment.

-sink
+resources
-knative.dev/pkg/apis/duck/v1beta1.Destination + +KafkaResourceSpec +
-(Optional) -

Sink is a reference to an object that will resolve to a host -name to use as the sink.

+

Resource limits and Request specifications of the Receive Adapter Deployment

-

PrometheusSourceStatus +

KafkaSourceStatus

(Appears on: -PrometheusSource) +KafkaSource)

-

PrometheusSourceStatus defines the observed state of PrometheusSource

+

KafkaSourceStatus defines the observed state of KafkaSource.

@@ -2062,35 +2600,29 @@ name to use as the sink.

- - - -
-Status
+SourceStatus
-knative.dev/pkg/apis/duck/v1.Status +knative.dev/pkg/apis/duck/v1.SourceStatus

-(Members of Status are embedded into this type.) +(Members of SourceStatus are embedded into this type.)

-

inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

-
-sinkUri
- -string - -
-(Optional) -

SinkURI is the current active sink URI that has been configured -for the PrometheusSource.

+

inherits duck/v1 SourceStatus, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last +processed by the controller. +* Conditions - the latest available observations of a resource’s current +state. +* SinkURI - the current active sink URI that has been configured for the +Source.

+<<<<<<< HEAD +

KafkaSourceTLSSpec +=======

SecretValueFromSource

@@ -2156,21 +2688,14 @@ Kubernetes core/v1.SecretKeySelector -


-

messaging.knative.dev/v1alpha1

+

SecretValueFromSource +>>>>>>> 15673978d483a43af83f84279f409699774b4a97 +

-

Package v1alpha1 is the v1alpha1 version of the API.

+(Appears on: +KafkaSourceNetSpec)

-Resource Types: - -

KafkaChannel -

-

KafkaChannel is a resource representing a Kafka Channel.

@@ -2182,107 +2707,66 @@ Resource Types: - - - - - - - -
-apiVersion
-string
- -messaging.knative.dev/v1alpha1 - -
-kind
-string -
KafkaChannel
-metadata
+enable
- -Kubernetes meta/v1.ObjectMeta - +bool
-(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field.
-spec
+cert
- -KafkaChannelSpec + +SecretValueFromSource
-

Spec defines the desired state of the Channel.

-
-
- - - - - - - - - -
-numPartitions
- -int32 - -
-

NumPartitions is the number of partitions of a Kafka topic. By default, it is set to 1.

-
-replicationFactor
- -int16 - -
-

ReplicationFactor is the replication factor of a Kafka topic. By default, it is set to 1.

+(Optional) +

Cert is the Kubernetes secret containing the client certificate.

-subscribable
+key
-knative.dev/eventing/pkg/apis/duck/v1alpha1.Subscribable + +SecretValueFromSource +
-

KafkaChannel conforms to Duck type Subscribable.

-
+(Optional) +

Key is the Kubernetes secret containing the client key.

-status
+caCert
- -KafkaChannelStatus + +SecretValueFromSource
(Optional) -

Status represents the current state of the KafkaChannel. This data may be out of -date.

+

CACert is the Kubernetes secret containing the server CA cert.

-

NatssChannel +

PrometheusSourceSpec

-

NatssChannel is a resource representing a NATSS Channel.

+(Appears on: +PrometheusSource) +

+

+

PrometheusSourceSpec defines the desired state of PrometheusSource

@@ -2294,141 +2778,113 @@ date.

- - - - - -
-apiVersion
-string
- -messaging.knative.dev/v1alpha1 - +serviceAccountName
+ +string +
-kind
-string +(Optional) +

ServiceAccountName holds the name of the Kubernetes service account +as which the underlying K8s resources should be run. If unspecified +this will default to the “default” service account for the namespace +in which the PrometheusSource exists.

NatssChannel
-metadata
+serverURL
- -Kubernetes meta/v1.ObjectMeta - +string
-(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

ServerURL is the URL of the Prometheus server

-spec
+promQL
- -NatssChannelSpec - +string
-

Spec defines the desired state of the Channel.

-
-
- +

PromQL is the Prometheus query for this source

+ + - -
-subscribable
+authTokenFile
-knative.dev/eventing/pkg/apis/duck/v1alpha1.Subscribable +string
-

NatssChannel conforms to Duck type Subscribable.

-
+(Optional) +

The name of the file containing the authenication token

-status
+caCertConfigMap
- -NatssChannelStatus - +string
(Optional) -

Status represents the current state of the NatssChannel. This data may be out of -date.

+

The name of the config map containing the CA certificate of the +Prometheus service’s signer.

-

KafkaChannelSpec -

-

-(Appears on: -KafkaChannel) -

-

-

KafkaChannelSpec defines the specification for a KafkaChannel.

-

- - - - - - - -
FieldDescription
-numPartitions
+schedule
-int32 +string
-

NumPartitions is the number of partitions of a Kafka topic. By default, it is set to 1.

+

A crontab-formatted schedule for running the PromQL query

-replicationFactor
+step
-int16 +string
-

ReplicationFactor is the replication factor of a Kafka topic. By default, it is set to 1.

+(Optional) +

Query resolution step width in duration format or float number of seconds. +Prometheus duration strings are of the form [0-9]+[smhdwy].

-subscribable
+sink
-knative.dev/eventing/pkg/apis/duck/v1alpha1.Subscribable +knative.dev/pkg/apis/duck/v1.Destination
-

KafkaChannel conforms to Duck type Subscribable.

+(Optional) +

Sink is a reference to an object that will resolve to a host +name to use as the sink.

-

KafkaChannelStatus +

PrometheusSourceStatus

(Appears on: -KafkaChannel) +PrometheusSource)

-

KafkaChannelStatus represents the current state of a KafkaChannel.

+

PrometheusSourceStatus defines the observed state of PrometheusSource

@@ -2440,61 +2896,35 @@ knative.dev/eventing/pkg/apis/duck/v1alpha1.Subscribable - - - - - - - -
-Status
- -knative.dev/pkg/apis/duck/v1beta1.Status - -
-

-(Members of Status are embedded into this type.) -

-

inherits duck/v1beta1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

-
-AddressStatus
- -knative.dev/pkg/apis/duck/v1alpha1.AddressStatus - -
-

-(Members of AddressStatus are embedded into this type.) -

-

KafkaChannel is Addressable. It currently exposes the endpoint as a -fully-qualified DNS name which will distribute traffic over the -provided targets from inside the cluster.

-

It generally has the form {channel}.{namespace}.svc.{cluster domain name}

-
-SubscribableTypeStatus
+SourceStatus
-knative.dev/eventing/pkg/apis/duck/v1alpha1.SubscribableTypeStatus +knative.dev/pkg/apis/duck/v1.SourceStatus

-(Members of SubscribableTypeStatus are embedded into this type.) +(Members of SourceStatus are embedded into this type.)

-

Subscribers is populated with the statuses of each of the Channelable’s subscribers.

+

inherits duck/v1 SourceStatus, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last +processed by the controller. +* Conditions - the latest available observations of a resource’s current +state. +* SinkURI - the current active sink URI that has been configured for the +Source.

-

NatssChannelSpec +

SecretValueFromSource

(Appears on: -NatssChannel) +KafkaSourceSASLSpec, +KafkaSourceTLSSpec)

-

NatssChannelSpec defines the specification for a NatssChannel.

+

SecretValueFromSource represents the source of a secret value

@@ -2506,25 +2936,27 @@ knative.dev/eventing/pkg/apis/duck/v1alpha1.SubscribableTypeStatus
-subscribable
+secretKeyRef
-knative.dev/eventing/pkg/apis/duck/v1alpha1.Subscribable + +Kubernetes core/v1.SecretKeySelector +
-

NatssChannel conforms to Duck type Subscribable.

+

The Secret key to select from.

-

NatssChannelStatus +

SecretValueFromSource

(Appears on: -NatssChannel) +GitHubSourceSpec)

-

NatssChannelStatus represents the current state of a NatssChannel.

+

SecretValueFromSource represents the source of a secret value

@@ -2536,49 +2968,47 @@ knative.dev/eventing/pkg/apis/duck/v1alpha1.Subscribable - - - +
-Status
+secretKeyRef
-knative.dev/pkg/apis/duck/v1beta1.Status + +Kubernetes core/v1.SecretKeySelector +
-

-(Members of Status are embedded into this type.) -

-

inherits duck/v1beta1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

+

The Secret key to select from.

-AddressStatus
- -knative.dev/pkg/apis/duck/v1alpha1.AddressStatus - -
+
+

SecretValueFromSource +

-(Members of AddressStatus are embedded into this type.) +(Appears on: +GitLabSourceSpec)

-

NatssChannel is Addressable. It currently exposes the endpoint as a -fully-qualified DNS name which will distribute traffic over the -provided targets from inside the cluster.

-

It generally has the form {channel}.{namespace}.svc.{cluster domain name}

- +

+

SecretValueFromSource represents the source of a secret value

+

+ + + + + + + @@ -2586,5 +3016,5 @@ knative.dev/eventing/pkg/apis/duck/v1alpha1.SubscribableTypeStatus

Generated with gen-crd-api-reference-docs -on git commit a49a7c73. +on git commit 6ba61a66.

diff --git a/docs/reference/eventing/eventing.md b/docs/reference/eventing/eventing.md index e3163febf6..6c546e728c 100644 --- a/docs/reference/eventing/eventing.md +++ b/docs/reference/eventing/eventing.md @@ -1,19 +1,16 @@

Packages:

-

configs.internal.knative.dev/v1alpha1

+

flows.knative.dev/v1alpha1

Package v1alpha1 is the v1alpha1 version of the API.

Resource Types: - -

ConfigMapPropagation +
    +

    Parallel

    -

    ConfigMapPropagation is used to propagate configMaps from original namespace to current namespace

    +

    Parallel defines conditional branches that will be wired in +series through Channels and Subscriptions.

    FieldDescription
    -SubscribableTypeStatus
    +secretKeyRef
    -knative.dev/eventing/pkg/apis/duck/v1alpha1.SubscribableTypeStatus + +Kubernetes core/v1.SecretKeySelector +
    -

    -(Members of SubscribableTypeStatus are embedded into this type.) -

    -

    Subscribers is populated with the statuses of each of the Channelable’s subscribers.

    +

    The Secret key to select from.

    @@ -60,23 +56,6 @@ Resource Types: - - - - - - - -
    -apiVersion
    -string
    - -configs.internal.knative.dev/v1alpha1 - -
    -kind
    -string -
    ConfigMapPropagation
    metadata
    @@ -94,39 +73,55 @@ Refer to the Kubernetes API documentation for the fields of the
    spec
    - -ConfigMapPropagationSpec + +ParallelSpec
    -

    Spec defines the desired state of the ConfigMapPropagation

    +

    Spec defines the desired state of the Parallel.



    + + + +
    -originalNamespace
    +branches
    -string + +[]ParallelBranch +
    -

    OriginalNamespace is the namespace where the original configMaps are in

    +

    Branches is the list of Filter/Subscribers pairs.

    -selector
    +channelTemplate
    - -Kubernetes meta/v1.LabelSelector + +ChannelTemplateSpec
    (Optional) -

    Selector only selects original configMaps with corresponding labels

    +

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD +for the namespace (or cluster, in case there are no defaults for the namespace).

    +
    +reply
    + +knative.dev/pkg/apis/duck/v1.Destination + +
    +(Optional) +

    Reply is a Reference to where the result of a case Subscriber gets sent to +when the case does not have a Reply

    @@ -136,24 +131,24 @@ Kubernetes meta/v1.LabelSelector
    status
    - -ConfigMapPropagationStatus + +ParallelStatus
    (Optional) -

    Status represents the current state of the EventType. -This data may be out of date.

    +

    Status represents the current state of the Parallel. This data may be out of +date.

    -

    ConfigMapPropagationSpec +

    ParallelBranch

    (Appears on: -ConfigMapPropagation) +ParallelSpec)

    @@ -167,39 +162,49 @@ This data may be out of date.

    -originalNamespace
    +filter
    -string +knative.dev/pkg/apis/duck/v1.Destination -

    OriginalNamespace is the namespace where the original configMaps are in

    +

    Filter is the expression guarding the branch

    -selector
    +subscriber
    - -Kubernetes meta/v1.LabelSelector - +knative.dev/pkg/apis/duck/v1.Destination + + + +

    Subscriber receiving the event when the filter passes

    + + + + +reply
    + +knative.dev/pkg/apis/duck/v1.Destination (Optional) -

    Selector only selects original configMaps with corresponding labels

    +

    Reply is a Reference to where the result of Subscriber of this case gets sent to. +If not specified, sent the result to the Parallel Reply

    -

    ConfigMapPropagationStatus +

    ParallelBranchStatus

    (Appears on: -ConfigMapPropagation) +ParallelStatus)

    -

    ConfigMapPropagationStatus represents the current state of a ConfigMapPropagation.

    +

    ParallelBranchStatus represents the current state of a Parallel branch

    @@ -211,44 +216,53 @@ Kubernetes meta/v1.LabelSelector + + + +
    -Status
    +filterSubscriptionStatus
    -knative.dev/pkg/apis/duck/v1.Status + +ParallelSubscriptionStatus +
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    +

    FilterSubscriptionStatus corresponds to the filter subscription status.

    -copyConfigmaps
    +filterChannelStatus
    - -[]ConfigMapPropagationStatusCopyConfigMap + +ParallelChannelStatus
    -(Optional) -

    CopyConfigMaps is the status for each copied configmap.

    +

    FilterChannelStatus corresponds to the filter channel status.

    +
    +subscriberSubscriptionStatus
    + + +ParallelSubscriptionStatus + + +
    +

    SubscriptionStatus corresponds to the subscriber subscription status.

    -

    ConfigMapPropagationStatusCopyConfigMap +

    ParallelChannelStatus

    (Appears on: -ConfigMapPropagationStatus) +ParallelBranchStatus, +ParallelStatus)

    -

    ConfigMapPropagationStatusCopyConfigMap represents the status of a copied configmap

    @@ -260,93 +274,97 @@ knative.dev/pkg/apis/duck/v1.Status + +
    -name
    +channel
    -string + +Kubernetes core/v1.ObjectReference +
    -

    Name is copy configmap’s name

    +

    Channel is the reference to the underlying channel.

    -source
    +ready
    -string +knative.dev/pkg/apis.Condition
    -

    Source is “originalNamespace/originalConfigMapName”

    +

    ReadyCondition indicates whether the Channel is ready or not.

    +

    ParallelSpec +

    +

    +(Appears on: +Parallel) +

    +

    +

    + + - - + + + +
    -operation
    - -string - -
    -

    Operation represents the operation CMP takes for this configmap. The operations are copy|delete|stop

    -
    FieldDescription
    -ready
    +branches
    -string + +[]ParallelBranch +
    -

    Ready represents the operation is ready or not

    +

    Branches is the list of Filter/Subscribers pairs.

    -reason
    +channelTemplate
    -string + +ChannelTemplateSpec +
    -

    Reason indicates reasons if the operation is not ready

    +(Optional) +

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD +for the namespace (or cluster, in case there are no defaults for the namespace).

    -resourceVersionFromSource
    +reply
    -string +knative.dev/pkg/apis/duck/v1.Destination
    -

    ResourceVersion is the resourceVersion of original configmap

    +(Optional) +

    Reply is a Reference to where the result of a case Subscriber gets sent to +when the case does not have a Reply

    -
    -

    eventing.knative.dev/v1alpha1

    +

    ParallelStatus +

    -

    Package v1alpha1 is the v1alpha1 version of the API.

    +(Appears on: +Parallel)

    -Resource Types: - -

    Broker -

    -

    Broker collects a pool of events that are consumable using Triggers. Brokers -provide a well-known endpoint for event delivery that senders can use with -minimal knowledge of the event routing strategy. Receivers use Triggers to -request delivery of events from a Broker’s pool to a specific URL or -Addressable endpoint.

    +

    ParallelStatus represents the current state of a Parallel.

    @@ -358,121 +376,112 @@ Addressable endpoint.

    - - - - - - - -
    -apiVersion
    -string
    - -eventing.knative.dev/v1alpha1 - -
    -kind
    -string -
    Broker
    -metadata
    +Status
    - -Kubernetes meta/v1.ObjectMeta - +knative.dev/pkg/apis/duck/v1.Status
    -(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    +(Members of Status are embedded into this type.) +

    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    -spec
    +ingressChannelStatus
    - -BrokerSpec + +ParallelChannelStatus
    -

    Spec defines the desired state of the Broker.

    -
    -
    - +

    IngressChannelStatus corresponds to the ingress channel status.

    + + + +
    -channelTemplateSpec
    +branchStatuses
    - -ChannelTemplateSpec + +[]ParallelBranchStatus
    -(Optional) -

    ChannelTemplate specifies which Channel CRD to use to create all the Channels used internally by the -Broker. If left unspecified, it is set to the default Channel CRD for the namespace (or cluster, in case there -are no defaults for the namespace). -Deprecated: See spec.config to configure aditional broker options. -Unless class is for channel based broker implementation.

    +

    BranchStatuses is an array of corresponding to branch statuses. +Matches the Spec.Branches array in the order.

    -config
    +AddressStatus
    -knative.dev/pkg/apis/duck/v1.KReference +knative.dev/pkg/apis/duck/v1.AddressStatus
    -(Optional) -

    Config is a KReference to the configuration that specifies -configuration options for this Broker. For example, this could be -a pointer to a ConfigMap. -NOTE: this is for backwards compatibility with v1alpha1 <-> v1beta1 conversions.

    +

    +(Members of AddressStatus are embedded into this type.) +

    +

    AddressStatus is the starting point to this Parallel. Sending to this +will target the first subscriber. +It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    +

    ParallelSubscriptionStatus +

    +

    +(Appears on: +ParallelBranchStatus) +

    +

    +

    + + + + + + + + - -
    FieldDescription
    -delivery
    +subscription
    - -DeliverySpec + +Kubernetes core/v1.ObjectReference
    -(Optional) -

    Delivery is the delivery specification to be used internally by the broker to -create subscriptions.

    -
    +

    Subscription is the reference to the underlying Subscription.

    -status
    +ready
    - -BrokerStatus - +knative.dev/pkg/apis.Condition
    -(Optional) -

    Status represents the current state of the Broker. This data may be out of -date.

    +

    ReadyCondition indicates whether the Subscription is ready or not.

    -

    EventType +

    Sequence

    +

    Sequence defines a sequence of Subscribers that will be wired in +series through Channels and Subscriptions.

    @@ -484,23 +493,6 @@ date.

    - - - - - - - - + +
    -apiVersion
    -string
    - -eventing.knative.dev/v1alpha1 - -
    -kind
    -string -
    EventType
    metadata
    @@ -518,99 +510,126 @@ Refer to the Kubernetes API documentation for the fields of the
    spec
    - -EventTypeSpec + +SequenceSpec
    -

    Spec defines the desired state of the EventType.

    +

    Spec defines the desired state of the Sequence.



    + +
    -type
    +steps
    -string + +[]SequenceStep +
    -

    Type represents the CloudEvents type. It is authoritative.

    +

    Steps is the list of Destinations (processors / functions) that will be called in the order +provided.

    -source
    +channelTemplate
    -string + +ChannelTemplateSpec +
    -

    Source is a URI, it represents the CloudEvents source.

    +(Optional) +

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD +for the namespace (or cluster, in case there are no defaults for the namespace).

    -schema
    +reply
    -string +knative.dev/pkg/apis/duck/v1.Destination
    (Optional) -

    Schema is a URI, it represents the CloudEvents schemaurl extension attribute. -It may be a JSON schema, a protobuf schema, etc. It is optional.

    +

    Reply is a Reference to where the result of the last Subscriber gets sent to.

    +
    -broker
    +status
    -string + +SequenceStatus +
    -

    Broker refers to the Broker that can provide the EventType.

    +(Optional) +

    Status represents the current state of the Sequence. This data may be out of +date.

    +

    SequenceChannelStatus +

    +

    +(Appears on: +SequenceStatus) +

    +

    +

    + + + + + + + + - -
    FieldDescription
    -description
    +channel
    -string + +Kubernetes core/v1.ObjectReference +
    -(Optional) -

    Description is an optional field used to describe the EventType, in any meaningful way.

    -
    +

    Channel is the reference to the underlying channel.

    -status
    +ready
    - -EventTypeStatus - +knative.dev/pkg/apis.Condition -(Optional) -

    Status represents the current state of the EventType. -This data may be out of date.

    +

    ReadyCondition indicates whether the Channel is ready or not.

    -

    Trigger +

    SequenceSpec

    -

    Trigger represents a request to have events delivered to a consumer from a -Broker’s event pool.

    +(Appears on: +Sequence) +

    +

    @@ -622,114 +641,131 @@ Broker’s event pool.

    - - - - + + +
    -apiVersion
    -string
    - -eventing.knative.dev/v1alpha1 - +steps
    + + +[]SequenceStep + +
    -kind
    -string +

    Steps is the list of Destinations (processors / functions) that will be called in the order +provided.

    Trigger
    -metadata
    +channelTemplate
    - -Kubernetes meta/v1.ObjectMeta + +ChannelTemplateSpec
    (Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD +for the namespace (or cluster, in case there are no defaults for the namespace).

    -spec
    +reply
    - -TriggerSpec - +knative.dev/pkg/apis/duck/v1.Destination
    -

    Spec defines the desired state of the Trigger.

    -
    -
    +(Optional) +

    Reply is a Reference to where the result of the last Subscriber gets sent to.

    +
    +

    SequenceStatus +

    +

    +(Appears on: +Sequence) +

    +

    +

    SequenceStatus represents the current state of a Sequence.

    +

    + + + + + + + - -
    FieldDescription
    -broker
    +Status
    -string +knative.dev/pkg/apis/duck/v1.Status
    -

    Broker is the broker that this trigger receives events from. If not specified, will default -to ‘default’.

    +

    +(Members of Status are embedded into this type.) +

    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    -filter
    +subscriptionStatuses
    - -TriggerFilter + +[]SequenceSubscriptionStatus
    -(Optional) -

    Filter is the filter to apply against all events from the Broker. Only events that pass this -filter will be sent to the Subscriber. If not specified, will default to allowing all events.

    +

    SubscriptionStatuses is an array of corresponding Subscription statuses. +Matches the Spec.Steps array in the order.

    -subscriber
    +channelStatuses
    -knative.dev/pkg/apis/duck/v1.Destination + +[]SequenceChannelStatus +
    -

    Subscriber is the addressable that receives events from the Broker that pass the Filter. It -is required.

    -
    +

    ChannelStatuses is an array of corresponding Channel statuses. +Matches the Spec.Steps array in the order.

    -status
    +AddressStatus
    - -TriggerStatus - +knative.dev/pkg/apis/duck/v1.AddressStatus -(Optional) -

    Status represents the current state of the Trigger. This data may be out of -date.

    +

    +(Members of AddressStatus are embedded into this type.) +

    +

    AddressStatus is the starting point to this Sequence. Sending to this +will target the first subscriber. +It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    -

    BrokerSpec +

    SequenceStep

    (Appears on: -Broker) +SequenceSpec)

    @@ -743,35 +779,16 @@ date.

    -channelTemplateSpec
    - - -ChannelTemplateSpec - - - - -(Optional) -

    ChannelTemplate specifies which Channel CRD to use to create all the Channels used internally by the -Broker. If left unspecified, it is set to the default Channel CRD for the namespace (or cluster, in case there -are no defaults for the namespace). -Deprecated: See spec.config to configure aditional broker options. -Unless class is for channel based broker implementation.

    - - - - -config
    +Destination
    -knative.dev/pkg/apis/duck/v1.KReference +knative.dev/pkg/apis/duck/v1.Destination -(Optional) -

    Config is a KReference to the configuration that specifies -configuration options for this Broker. For example, this could be -a pointer to a ConfigMap. -NOTE: this is for backwards compatibility with v1alpha1 <-> v1beta1 conversions.

    +

    +(Members of Destination are embedded into this type.) +

    +

    Subscriber receiving the step event

    @@ -785,20 +802,20 @@ DeliverySpec (Optional) -

    Delivery is the delivery specification to be used internally by the broker to -create subscriptions.

    +

    Delivery is the delivery specification for events to the subscriber +This includes things like retries, DLQ, etc. +Needed for Roundtripping v1alpha1 <-> v1beta1.

    -

    BrokerStatus +

    SequenceSubscriptionStatus

    (Appears on: -Broker) +SequenceStatus)

    -

    BrokerStatus represents the current state of a Broker.

    @@ -810,56 +827,42 @@ create subscriptions.

    - - - -
    -Status
    - -knative.dev/pkg/apis/duck/v1.Status - -
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    -
    -address
    +subscription
    -knative.dev/pkg/apis/duck/v1alpha1.Addressable + +Kubernetes core/v1.ObjectReference +
    -

    Broker is Addressable. It currently exposes the endpoint as a -fully-qualified DNS name which will distribute traffic over the -provided targets from inside the cluster.

    -

    It generally has the form {broker}-router.{namespace}.svc.{cluster domain name}

    +

    Subscription is the reference to the underlying Subscription.

    -triggerChannel
    +ready
    - -Kubernetes core/v1.ObjectReference - +knative.dev/pkg/apis.Condition
    -

    TriggerChannel is an objectref to the object for the TriggerChannel

    +

    ReadyCondition indicates whether the Subscription is ready or not.

    -

    EventTypeSpec -

    +
    +

    flows.knative.dev/v1beta1

    -(Appears on: -EventType) +

    Package v1beta1 is the v1beta1 version of the API.

    +Resource Types: + +

    Parallel +

    +

    Parallel defines conditional branches that will be wired in +series through Channels and Subscriptions.

    @@ -871,72 +874,101 @@ Kubernetes core/v1.ObjectReference
    -type
    +metadata
    -string + +Kubernetes meta/v1.ObjectMeta +
    -

    Type represents the CloudEvents type. It is authoritative.

    +(Optional) +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -source
    +spec
    -string + +ParallelSpec +
    -

    Source is a URI, it represents the CloudEvents source.

    +

    Spec defines the desired state of the Parallel.

    +
    +
    + + + + + +
    +branches
    + + +[]ParallelBranch + + +
    +

    Branches is the list of Filter/Subscribers pairs.

    -schema
    +channelTemplate
    -string + +ChannelTemplateSpec +
    (Optional) -

    Schema is a URI, it represents the CloudEvents schemaurl extension attribute. -It may be a JSON schema, a protobuf schema, etc. It is optional.

    +

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD +for the namespace (or cluster, in case there are no defaults for the namespace).

    -broker
    +reply
    -string +knative.dev/pkg/apis/duck/v1.Destination
    -

    Broker refers to the Broker that can provide the EventType.

    +(Optional) +

    Reply is a Reference to where the result of a case Subscriber gets sent to +when the case does not have a Reply

    +
    -description
    +status
    -string + +ParallelStatus +
    (Optional) -

    Description is an optional field used to describe the EventType, in any meaningful way.

    +

    Status represents the current state of the Parallel. This data may be out of +date.

    -

    EventTypeStatus +

    ParallelBranch

    (Appears on: -EventType) +ParallelSpec)

    -

    EventTypeStatus represents the current state of a EventType.

    @@ -948,29 +980,50 @@ string - -
    -Status
    +filter
    -knative.dev/pkg/apis/duck/v1.Status +knative.dev/pkg/apis/duck/v1.Destination
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    +(Optional) +

    Filter is the expression guarding the branch

    -

    TriggerFilter -

    -

    + + +subscriber
    + +knative.dev/pkg/apis/duck/v1.Destination + + + +

    Subscriber receiving the event when the filter passes

    + + + + +reply
    + +knative.dev/pkg/apis/duck/v1.Destination + + + +(Optional) +

    Reply is a Reference to where the result of Subscriber of this case gets sent to. +If not specified, sent the result to the Parallel Reply

    + + + + +

    ParallelBranchStatus +

    +

    (Appears on: -TriggerSpec) +ParallelStatus)

    +

    ParallelBranchStatus represents the current state of a Parallel branch

    @@ -982,61 +1035,53 @@ knative.dev/pkg/apis/duck/v1.Status + + + +
    -sourceAndType
    +filterSubscriptionStatus
    - -TriggerFilterSourceAndType + +ParallelSubscriptionStatus
    -(Optional) -

    DeprecatedSourceAndType filters events based on exact matches on the -CloudEvents type and source attributes. This field has been replaced by the -Attributes field.

    +

    FilterSubscriptionStatus corresponds to the filter subscription status.

    -attributes
    +filterChannelStatus
    - -TriggerFilterAttributes + +ParallelChannelStatus
    -(Optional) -

    Attributes filters events by exact match on event context attributes. -Each key in the map is compared with the equivalent key in the event -context. An event passes the filter if all values are equal to the -specified values.

    -

    Nested context attributes are not supported as keys. Only string values are supported.

    +

    FilterChannelStatus corresponds to the filter channel status.

    +
    +subscriberSubscriptionStatus
    + + +ParallelSubscriptionStatus + + +
    +

    SubscriptionStatus corresponds to the subscriber subscription status.

    -

    TriggerFilterAttributes -(map[string]string alias)

    -

    -(Appears on: -TriggerFilter) -

    -

    -

    TriggerFilterAttributes is a map of context attribute names to values for -filtering by equality. Only exact matches will pass the filter. You can use the value “ -to indicate all strings match.

    -

    -

    TriggerFilterSourceAndType +

    ParallelChannelStatus

    (Appears on: -TriggerFilter) +ParallelBranchStatus, +ParallelStatus)

    -

    TriggerFilterSourceAndType filters events based on exact matches on the cloud event’s type and -source attributes. Only exact matches will pass the filter. Either or both type and source can -use the value “ to indicate all strings match.

    @@ -1048,31 +1093,35 @@ use the value “ to indicate all strings match.

    -type
    +channel
    -string + +Kubernetes core/v1.ObjectReference +
    +

    Channel is the reference to the underlying channel.

    -source
    +ready
    -string +knative.dev/pkg/apis.Condition
    +

    ReadyCondition indicates whether the Channel is ready or not.

    -

    TriggerSpec +

    ParallelSpec

    (Appears on: -Trigger) +Parallel)

    @@ -1086,53 +1135,55 @@ string -broker
    +branches
    -string + +[]ParallelBranch + -

    Broker is the broker that this trigger receives events from. If not specified, will default -to ‘default’.

    +

    Branches is the list of Filter/Subscribers pairs.

    -filter
    +channelTemplate
    - -TriggerFilter + +ChannelTemplateSpec (Optional) -

    Filter is the filter to apply against all events from the Broker. Only events that pass this -filter will be sent to the Subscriber. If not specified, will default to allowing all events.

    +

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD +for the namespace (or cluster, in case there are no defaults for the namespace).

    -subscriber
    +reply
    knative.dev/pkg/apis/duck/v1.Destination -

    Subscriber is the addressable that receives events from the Broker that pass the Filter. It -is required.

    +(Optional) +

    Reply is a Reference to where the result of a case Subscriber gets sent to +when the case does not have a Reply

    -

    TriggerStatus +

    ParallelStatus

    (Appears on: -Trigger) +Parallel)

    -

    TriggerStatus represents the current state of a Trigger.

    +

    ParallelStatus represents the current state of a Parallel.

    @@ -1160,38 +1211,56 @@ knative.dev/pkg/apis/duck/v1.Status + + + + + + + +
    -subscriberURI
    +ingressChannelStatus
    -knative.dev/pkg/apis.URL + +ParallelChannelStatus +
    -

    SubscriberURI is the resolved URI of the receiver for this Trigger.

    +

    IngressChannelStatus corresponds to the ingress channel status.

    +
    +branchStatuses
    + + +[]ParallelBranchStatus + + +
    +

    BranchStatuses is an array of corresponding to branch statuses. +Matches the Spec.Branches array in the order.

    +
    +AddressStatus
    + +knative.dev/pkg/apis/duck/v1.AddressStatus + +
    +

    +(Members of AddressStatus are embedded into this type.) +

    +

    AddressStatus is the starting point to this Parallel. Sending to this +will target the first subscriber. +It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    -
    -

    eventing.knative.dev/v1beta1

    +

    ParallelSubscriptionStatus +

    -

    Package v1beta1 is the v1beta1 version of the API.

    +(Appears on: +ParallelBranchStatus)

    -Resource Types: - -

    Broker -

    -

    Broker collects a pool of events that are consumable using Triggers. Brokers -provide a well-known endpoint for event delivery that senders can use with -minimal knowledge of the event routing strategy. Receivers use Triggers to -request delivery of events from a Broker’s pool to a specific URL or -Addressable endpoint.

    @@ -1203,21 +1272,44 @@ Addressable endpoint.

    +subscription
    + + +Kubernetes core/v1.ObjectReference + + + - + + + +
    -apiVersion
    -string
    - -eventing.knative.dev/v1beta1 - +

    Subscription is the reference to the underlying Subscription.

    -kind
    -string +ready
    + +knative.dev/pkg/apis.Condition +
    Broker +

    ReadyCondition indicates whether the Subscription is ready or not.

    +
    +

    Sequence +

    +

    +

    Sequence defines a sequence of Subscribers that will be wired in +series through Channels and Subscriptions.

    +

    + + + + + + +
    FieldDescription
    metadata
    @@ -1237,43 +1329,55 @@ Refer to the Kubernetes API documentation for the fields of the
    spec
    - -BrokerSpec + +SequenceSpec
    -

    Spec defines the desired state of the Broker.

    +

    Spec defines the desired state of the Sequence.



    + + + +
    -config
    +steps
    -knative.dev/pkg/apis/duck/v1.KReference + +[]SequenceStep +
    -(Optional) -

    Config is a KReference to the configuration that specifies -configuration options for this Broker. For example, this could be -a pointer to a ConfigMap.

    +

    Steps is the list of Destinations (processors / functions) that will be called in the order +provided. Each step has its own delivery options

    -delivery
    +channelTemplate
    - -DeliverySpec + +ChannelTemplateSpec
    (Optional) -

    Delivery is the delivery specification for Events within the Broker mesh. -This includes things like retries, DLQ, etc.

    +

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD +for the namespace (or cluster, in case there are no defaults for the namespace).

    +
    +reply
    + +knative.dev/pkg/apis/duck/v1.Destination + +
    +(Optional) +

    Reply is a Reference to where the result of the last Subscriber gets sent to.

    @@ -1283,22 +1387,26 @@ This includes things like retries, DLQ, etc.

    status
    - -BrokerStatus + +SequenceStatus
    (Optional) -

    Status represents the current state of the Broker. This data may be out of +

    Status represents the current state of the Sequence. This data may be out of date.

    -

    EventType +

    SequenceChannelStatus

    +(Appears on: +SequenceStatus) +

    +

    @@ -1310,133 +1418,175 @@ date.

    - - - - + +
    -apiVersion
    -string
    - -eventing.knative.dev/v1beta1 - +channel
    + + +Kubernetes core/v1.ObjectReference + +
    -kind
    -string +

    Channel is the reference to the underlying channel.

    EventType
    -metadata
    +ready
    - -Kubernetes meta/v1.ObjectMeta - +knative.dev/pkg/apis.Condition
    -(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    ReadyCondition indicates whether the Channel is ready or not.

    +

    SequenceSpec +

    +

    +(Appears on: +Sequence) +

    +

    +

    + + + + + + + +
    FieldDescription
    -spec
    +steps
    - -EventTypeSpec + +[]SequenceStep
    -

    Spec defines the desired state of the EventType.

    -
    -
    - +

    Steps is the list of Destinations (processors / functions) that will be called in the order +provided. Each step has its own delivery options

    + + + +
    -type
    +channelTemplate
    -string + +ChannelTemplateSpec +
    -

    Type represents the CloudEvents type. It is authoritative.

    +(Optional) +

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD +for the namespace (or cluster, in case there are no defaults for the namespace).

    -source
    +reply
    -knative.dev/pkg/apis.URL +knative.dev/pkg/apis/duck/v1.Destination
    -

    Source is a URI, it represents the CloudEvents source.

    +(Optional) +

    Reply is a Reference to where the result of the last Subscriber gets sent to.

    +

    SequenceStatus +

    +

    +(Appears on: +Sequence) +

    +

    +

    SequenceStatus represents the current state of a Sequence.

    +

    + + + + + + + + - -
    FieldDescription
    -schema
    +Status
    -knative.dev/pkg/apis.URL +knative.dev/pkg/apis/duck/v1.Status
    -(Optional) -

    Schema is a URI, it represents the CloudEvents schemaurl extension attribute. -It may be a JSON schema, a protobuf schema, etc. It is optional.

    +

    +(Members of Status are embedded into this type.) +

    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    -broker
    +subscriptionStatuses
    -string + +[]SequenceSubscriptionStatus +
    -

    Broker refers to the Broker that can provide the EventType.

    +

    SubscriptionStatuses is an array of corresponding Subscription statuses. +Matches the Spec.Steps array in the order.

    -description
    +channelStatuses
    -string + +[]SequenceChannelStatus +
    -(Optional) -

    Description is an optional field used to describe the EventType, in any meaningful way.

    -
    +

    ChannelStatuses is an array of corresponding Channel statuses. +Matches the Spec.Steps array in the order.

    -status
    +AddressStatus
    - -EventTypeStatus - +knative.dev/pkg/apis/duck/v1.AddressStatus
    -(Optional) -

    Status represents the current state of the EventType. -This data may be out of date.

    +

    +(Members of AddressStatus are embedded into this type.) +

    +

    AddressStatus is the starting point to this Sequence. Sending to this +will target the first subscriber. +It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    -

    Trigger +

    SequenceStep

    -

    Trigger represents a request to have events delivered to a consumer from a -Broker’s event pool.

    +(Appears on: +SequenceSpec) +

    +

    @@ -1448,1609 +1598,94 @@ Broker’s event pool.

    - - - - + +
    -apiVersion
    -string
    - -eventing.knative.dev/v1beta1 - +Destination
    + +knative.dev/pkg/apis/duck/v1.Destination +
    -kind
    -string +

    +(Members of Destination are embedded into this type.) +

    +

    Subscriber receiving the step event

    Trigger
    -metadata
    +delivery
    - -Kubernetes meta/v1.ObjectMeta + +DeliverySpec
    (Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    Delivery is the delivery specification for events to the subscriber +This includes things like retries, DLQ, etc.

    +

    SequenceSubscriptionStatus +

    +

    +(Appears on: +SequenceStatus) +

    +

    +

    + + + + + + + + - - - - - - -
    FieldDescription
    -spec
    +subscription
    - -TriggerSpec + +Kubernetes core/v1.ObjectReference
    -

    Spec defines the desired state of the Trigger.

    -
    -
    - +

    Subscription is the reference to the underlying Subscription.

    + + - - - - - - - - - - -
    -broker
    +ready
    -string - -
    -

    Broker is the broker that this trigger receives events from. If not specified, will default -to ‘default’.

    -
    -filter
    - - -TriggerFilter - - -
    -(Optional) -

    Filter is the filter to apply against all events from the Broker. Only events that pass this -filter will be sent to the Subscriber. If not specified, will default to allowing all events.

    -
    -subscriber
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -

    Subscriber is the addressable that receives events from the Broker that pass the Filter. It -is required.

    -
    -
    -status
    - - -TriggerStatus - - -
    -(Optional) -

    Status represents the current state of the Trigger. This data may be out of -date.

    -
    -

    BrokerSpec -

    -

    -(Appears on: -Broker) -

    -

    -

    - - - - - - - - - - - - - - - - - -
    FieldDescription
    -config
    - -knative.dev/pkg/apis/duck/v1.KReference - -
    -(Optional) -

    Config is a KReference to the configuration that specifies -configuration options for this Broker. For example, this could be -a pointer to a ConfigMap.

    -
    -delivery
    - - -DeliverySpec - - -
    -(Optional) -

    Delivery is the delivery specification for Events within the Broker mesh. -This includes things like retries, DLQ, etc.

    -
    -

    BrokerStatus -

    -

    -(Appears on: -Broker) -

    -

    -

    BrokerStatus represents the current state of a Broker.

    -

    - - - - - - - - - - - - - - - - - -
    FieldDescription
    -Status
    - -knative.dev/pkg/apis/duck/v1.Status - -
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    -
    -address
    - -knative.dev/pkg/apis/duck/v1.Addressable - -
    -

    Broker is Addressable. It exposes the endpoint as an URI to get events -delivered into the Broker mesh.

    -
    -

    EventTypeSpec -

    -

    -(Appears on: -EventType) -

    -

    -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -type
    - -string - -
    -

    Type represents the CloudEvents type. It is authoritative.

    -
    -source
    - -knative.dev/pkg/apis.URL - -
    -

    Source is a URI, it represents the CloudEvents source.

    -
    -schema
    - -knative.dev/pkg/apis.URL - -
    -(Optional) -

    Schema is a URI, it represents the CloudEvents schemaurl extension attribute. -It may be a JSON schema, a protobuf schema, etc. It is optional.

    -
    -broker
    - -string - -
    -

    Broker refers to the Broker that can provide the EventType.

    -
    -description
    - -string - -
    -(Optional) -

    Description is an optional field used to describe the EventType, in any meaningful way.

    -
    -

    EventTypeStatus -

    -

    -(Appears on: -EventType) -

    -

    -

    EventTypeStatus represents the current state of a EventType.

    -

    - - - - - - - - - - - - - -
    FieldDescription
    -Status
    - -knative.dev/pkg/apis/duck/v1.Status - -
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    -
    -

    TriggerFilter -

    -

    -(Appears on: -TriggerSpec) -

    -

    -

    - - - - - - - - - - - - - -
    FieldDescription
    -attributes
    - - -TriggerFilterAttributes - - -
    -(Optional) -

    Attributes filters events by exact match on event context attributes. -Each key in the map is compared with the equivalent key in the event -context. An event passes the filter if all values are equal to the -specified values.

    -

    Nested context attributes are not supported as keys. Only string values are supported.

    -
    -

    TriggerFilterAttributes -(map[string]string alias)

    -

    -(Appears on: -TriggerFilter) -

    -

    -

    TriggerFilterAttributes is a map of context attribute names to values for -filtering by equality. Only exact matches will pass the filter. You can use the value “ -to indicate all strings match.

    -

    -

    TriggerSpec -

    -

    -(Appears on: -Trigger) -

    -

    -

    - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -broker
    - -string - -
    -

    Broker is the broker that this trigger receives events from. If not specified, will default -to ‘default’.

    -
    -filter
    - - -TriggerFilter - - -
    -(Optional) -

    Filter is the filter to apply against all events from the Broker. Only events that pass this -filter will be sent to the Subscriber. If not specified, will default to allowing all events.

    -
    -subscriber
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -

    Subscriber is the addressable that receives events from the Broker that pass the Filter. It -is required.

    -
    -

    TriggerStatus -

    -

    -(Appears on: -Trigger) -

    -

    -

    TriggerStatus represents the current state of a Trigger.

    -

    - - - - - - - - - - - - - - - - - -
    FieldDescription
    -Status
    - -knative.dev/pkg/apis/duck/v1.Status - -
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    -
    -subscriberUri
    - -knative.dev/pkg/apis.URL - -
    -

    SubscriberURI is the resolved URI of the receiver for this Trigger.

    -
    -
    -

    flows.knative.dev/v1alpha1

    -

    -

    Package v1alpha1 is the v1alpha1 version of the API.

    -

    -Resource Types: - -

    Parallel -

    -

    -

    Parallel defines conditional branches that will be wired in -series through Channels and Subscriptions.

    -

    - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -metadata
    - - -Kubernetes meta/v1.ObjectMeta - - -
    -(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. -
    -spec
    - - -ParallelSpec - - -
    -

    Spec defines the desired state of the Parallel.

    -
    -
    - - - - - - - - - - - - - -
    -branches
    - - -[]ParallelBranch - - -
    -

    Branches is the list of Filter/Subscribers pairs.

    -
    -channelTemplate
    - - -ChannelTemplateSpec - - -
    -(Optional) -

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD -for the namespace (or cluster, in case there are no defaults for the namespace).

    -
    -reply
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -(Optional) -

    Reply is a Reference to where the result of a case Subscriber gets sent to -when the case does not have a Reply

    -
    -
    -status
    - - -ParallelStatus - - -
    -(Optional) -

    Status represents the current state of the Parallel. This data may be out of -date.

    -
    -

    ParallelBranch -

    -

    -(Appears on: -ParallelSpec) -

    -

    -

    - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -filter
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -

    Filter is the expression guarding the branch

    -
    -subscriber
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -

    Subscriber receiving the event when the filter passes

    -
    -reply
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -(Optional) -

    Reply is a Reference to where the result of Subscriber of this case gets sent to. -If not specified, sent the result to the Parallel Reply

    -
    -

    ParallelBranchStatus -

    -

    -(Appears on: -ParallelStatus) -

    -

    -

    ParallelBranchStatus represents the current state of a Parallel branch

    -

    - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -filterSubscriptionStatus
    - - -ParallelSubscriptionStatus - - -
    -

    FilterSubscriptionStatus corresponds to the filter subscription status.

    -
    -filterChannelStatus
    - - -ParallelChannelStatus - - -
    -

    FilterChannelStatus corresponds to the filter channel status.

    -
    -subscriberSubscriptionStatus
    - - -ParallelSubscriptionStatus - - -
    -

    SubscriptionStatus corresponds to the subscriber subscription status.

    -
    -

    ParallelChannelStatus -

    -

    -(Appears on: -ParallelBranchStatus, -ParallelStatus) -

    -

    -

    - - - - - - - - - - - - - - - - - -
    FieldDescription
    -channel
    - - -Kubernetes core/v1.ObjectReference - - -
    -

    Channel is the reference to the underlying channel.

    -
    -ready
    - -knative.dev/pkg/apis.Condition - -
    -

    ReadyCondition indicates whether the Channel is ready or not.

    -
    -

    ParallelSpec -

    -

    -(Appears on: -Parallel) -

    -

    -

    - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -branches
    - - -[]ParallelBranch - - -
    -

    Branches is the list of Filter/Subscribers pairs.

    -
    -channelTemplate
    - - -ChannelTemplateSpec - - -
    -(Optional) -

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD -for the namespace (or cluster, in case there are no defaults for the namespace).

    -
    -reply
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -(Optional) -

    Reply is a Reference to where the result of a case Subscriber gets sent to -when the case does not have a Reply

    -
    -

    ParallelStatus -

    -

    -(Appears on: -Parallel) -

    -

    -

    ParallelStatus represents the current state of a Parallel.

    -

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -Status
    - -knative.dev/pkg/apis/duck/v1.Status - -
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    -
    -ingressChannelStatus
    - - -ParallelChannelStatus - - -
    -

    IngressChannelStatus corresponds to the ingress channel status.

    -
    -branchStatuses
    - - -[]ParallelBranchStatus - - -
    -

    BranchStatuses is an array of corresponding to branch statuses. -Matches the Spec.Branches array in the order.

    -
    -AddressStatus
    - -knative.dev/pkg/apis/duck/v1.AddressStatus - -
    -

    -(Members of AddressStatus are embedded into this type.) -

    -

    AddressStatus is the starting point to this Parallel. Sending to this -will target the first subscriber. -It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    -
    -

    ParallelSubscriptionStatus -

    -

    -(Appears on: -ParallelBranchStatus) -

    -

    -

    - - - - - - - - - - - - - - - - - -
    FieldDescription
    -subscription
    - - -Kubernetes core/v1.ObjectReference - - -
    -

    Subscription is the reference to the underlying Subscription.

    -
    -ready
    - -knative.dev/pkg/apis.Condition - -
    -

    ReadyCondition indicates whether the Subscription is ready or not.

    -
    -

    Sequence -

    -

    -

    Sequence defines a sequence of Subscribers that will be wired in -series through Channels and Subscriptions.

    -

    - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -metadata
    - - -Kubernetes meta/v1.ObjectMeta - - -
    -(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. -
    -spec
    - - -SequenceSpec - - -
    -

    Spec defines the desired state of the Sequence.

    -
    -
    - - - - - - - - - - - - - -
    -steps
    - - -[]SequenceStep - - -
    -

    Steps is the list of Destinations (processors / functions) that will be called in the order -provided.

    -
    -channelTemplate
    - - -ChannelTemplateSpec - - -
    -(Optional) -

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD -for the namespace (or cluster, in case there are no defaults for the namespace).

    -
    -reply
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -(Optional) -

    Reply is a Reference to where the result of the last Subscriber gets sent to.

    -
    -
    -status
    - - -SequenceStatus - - -
    -(Optional) -

    Status represents the current state of the Sequence. This data may be out of -date.

    -
    -

    SequenceChannelStatus -

    -

    -(Appears on: -SequenceStatus) -

    -

    -

    - - - - - - - - - - - - - - - - - -
    FieldDescription
    -channel
    - - -Kubernetes core/v1.ObjectReference - - -
    -

    Channel is the reference to the underlying channel.

    -
    -ready
    - -knative.dev/pkg/apis.Condition - -
    -

    ReadyCondition indicates whether the Channel is ready or not.

    -
    -

    SequenceSpec -

    -

    -(Appears on: -Sequence) -

    -

    -

    - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -steps
    - - -[]SequenceStep - - -
    -

    Steps is the list of Destinations (processors / functions) that will be called in the order -provided.

    -
    -channelTemplate
    - - -ChannelTemplateSpec - - -
    -(Optional) -

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD -for the namespace (or cluster, in case there are no defaults for the namespace).

    -
    -reply
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -(Optional) -

    Reply is a Reference to where the result of the last Subscriber gets sent to.

    -
    -

    SequenceStatus -

    -

    -(Appears on: -Sequence) -

    -

    -

    SequenceStatus represents the current state of a Sequence.

    -

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -Status
    - -knative.dev/pkg/apis/duck/v1.Status - -
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    -
    -subscriptionStatuses
    - - -[]SequenceSubscriptionStatus - - -
    -

    SubscriptionStatuses is an array of corresponding Subscription statuses. -Matches the Spec.Steps array in the order.

    -
    -channelStatuses
    - - -[]SequenceChannelStatus - - -
    -

    ChannelStatuses is an array of corresponding Channel statuses. -Matches the Spec.Steps array in the order.

    -
    -AddressStatus
    - -knative.dev/pkg/apis/duck/v1.AddressStatus - -
    -

    -(Members of AddressStatus are embedded into this type.) -

    -

    AddressStatus is the starting point to this Sequence. Sending to this -will target the first subscriber. -It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    -
    -

    SequenceStep -

    -

    -(Appears on: -SequenceSpec) -

    -

    -

    - - - - - - - - - - - - - - - - - -
    FieldDescription
    -Destination
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -

    -(Members of Destination are embedded into this type.) -

    -

    Subscriber receiving the step event

    -
    -delivery
    - - -DeliverySpec - - -
    -(Optional) -

    Delivery is the delivery specification for events to the subscriber -This includes things like retries, DLQ, etc. -Needed for Roundtripping v1alpha1 <-> v1beta1.

    -
    -

    SequenceSubscriptionStatus -

    -

    -(Appears on: -SequenceStatus) -

    -

    -

    - - - - - - - - - - - - - - - - - -
    FieldDescription
    -subscription
    - - -Kubernetes core/v1.ObjectReference - - -
    -

    Subscription is the reference to the underlying Subscription.

    -
    -ready
    - -knative.dev/pkg/apis.Condition - -
    -

    ReadyCondition indicates whether the Subscription is ready or not.

    -
    -
    -

    sources.eventing.knative.dev/v1alpha1

    -

    -

    Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group

    -

    -Resource Types: - -

    ApiServerSource -

    -

    -

    ApiServerSource is the Schema for the apiserversources API

    -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -apiVersion
    -string
    - -sources.eventing.knative.dev/v1alpha1 - -
    -kind
    -string -
    ApiServerSource
    -Deprecated
    - - -Deprecated - - -
    -

    Deprecated allows ApiServerSource to have a deprecated message.

    -
    -metadata
    - - -Kubernetes meta/v1.ObjectMeta - - -
    -Refer to the Kubernetes API documentation for the fields of the -metadata field. -
    -spec
    - - -ApiServerSourceSpec - - -
    -
    -
    - - - - - - - - - - - - - - - - - -
    -resources
    - - -[]ApiServerResource - - -
    -

    Resources is the list of resources to watch

    -
    -serviceAccountName
    - -string - -
    -(Optional) -

    ServiceAccountName is the name of the ServiceAccount to use to run this -source.

    -
    -sink
    - -knative.dev/pkg/apis/duck/v1beta1.Destination - -
    -(Optional) -

    Sink is a reference to an object that will resolve to a domain name to use as the sink.

    -
    -mode
    - -string - -
    -

    Mode is the mode the receive adapter controller runs under: Ref or Resource. -Ref sends only the reference to the resource. -Resource send the full resource.

    -
    -
    -status
    - - -ApiServerSourceStatus - - -
    -
    -

    ContainerSource -

    -

    -

    ContainerSource is the Schema for the containersources API

    -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -apiVersion
    -string
    - -sources.eventing.knative.dev/v1alpha1 - -
    -kind
    -string -
    ContainerSource
    -Deprecated
    - - -Deprecated - - -
    -

    Deprecated allows ContainerSource to have a deprecated message.

    -
    -metadata
    - - -Kubernetes meta/v1.ObjectMeta - - -
    -Refer to the Kubernetes API documentation for the fields of the -metadata field. -
    -spec
    - - -ContainerSourceSpec - - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    -template
    - - -Kubernetes core/v1.PodTemplateSpec - - -
    -(Optional) -

    Template describes the pods that will be created

    -
    -image
    - -string - -
    -

    DeprecatedImage is the image to run inside of the container. -This field is to be deprecated. Use Template instead. -When Template is set, this field is ignored.

    -
    -args
    - -[]string - -
    -

    DeprecatedArgs are passed to the ContainerSpec as they are. -This field is to be deprecated. Use Template instead. -When Template is set, this field is ignored.

    -
    -env
    - - -[]Kubernetes core/v1.EnvVar - - -
    -(Optional) -

    DeprecatedEnv is the list of environment variables to set in the container. -Cannot be updated. -This field is to be deprecated. Use Template instead. -When Template is set, this field is ignored.

    -
    -serviceAccountName
    - -string - -
    -(Optional) -

    DeprecatedServiceAccountName is the name of the ServiceAccount to use to run this -source. -This field is to be deprecated. Use Template instead. -When Template is set, this field is ignored.

    -
    -sink
    - -knative.dev/pkg/apis/duck/v1beta1.Destination - -
    -

    Sink is a reference to an object that will resolve to a domain name to use as the sink.

    -
    -
    -status
    - - -ContainerSourceStatus - +knative.dev/pkg/apis.Condition
    +

    ReadyCondition indicates whether the Subscription is ready or not.

    -

    CronJobSource +
    +

    messaging.knative.dev/v1alpha1

    +

    +

    Package v1alpha1 is the v1alpha1 version of the API.

    +

    +Resource Types: + +

    Channel

    -

    CronJobSource is the Schema for the cronjobsources API.

    +

    Channel represents a generic Channel. It is normally used when we want a Channel, but don’t need a specific Channel implementation.

    @@ -3066,7 +1701,7 @@ ContainerSourceStatus string @@ -3075,20 +1710,7 @@ sources.eventing.knative.dev/v1alpha1 kind
    string - - - - - + @@ -3108,71 +1731,54 @@ Refer to the Kubernetes API documentation for the fields of the
    -sources.eventing.knative.dev/v1alpha1 +messaging.knative.dev/v1alpha1
    CronJobSource
    -Deprecated
    - - -Deprecated - - -
    -

    Deprecated allows CronJobSource to have a deprecated message.

    -
    Channel
    @@ -3100,6 +1722,7 @@ Kubernetes meta/v1.ObjectMeta +(Optional) Refer to the Kubernetes API documentation for the fields of the metadata field. spec
    - -CronJobSourceSpec + +ChannelSpec
    +

    Spec defines the desired state of the Channel.



    - - - - - - - -
    -schedule
    - -string - -
    -

    Schedule is the cronjob schedule.

    -
    -data
    - -string - -
    -

    Data is the data posted to the target function.

    -
    -sink
    +channelTemplate
    -knative.dev/pkg/apis/duck/v1beta1.Destination + +ChannelTemplateSpec +
    -

    Sink is a reference to an object that will resolve to a domain name to use as the sink.

    +

    ChannelTemplate specifies which Channel CRD to use to create the CRD Channel backing this Channel. +This is immutable after creation. Normally this is set by the Channel defaulter, not directly by the user.

    -serviceAccountName
    +subscribable
    -string + +Subscribable +
    -

    ServiceAccoutName is the name of the ServiceAccount that will be used to run the Receive -Adapter Deployment.

    +

    Channel conforms to Duck type Subscribable.

    -resources
    +delivery
    - -CronJobResourceSpec + +DeliverySpec
    -

    Resource limits and Request specifications of the Receive Adapter Deployment

    +

    Delivery options.

    @@ -3182,25 +1788,23 @@ CronJobResourceSpec
    status
    - -CronJobSourceStatus + +ChannelStatus
    +(Optional) +

    Status represents the current state of the Channel. This data may be out of +date.

    -

    SinkBinding +

    InMemoryChannel

    -

    SinkBinding describes a Binding that is also a Source. -The sink (from the Source duck) is resolved to a URL and -then projected into the subject by augmenting the runtime -contract of the referenced containers to have a K_SINK -environment variable holding the endpoint to which to send -cloud events.

    +

    InMemoryChannel is a resource representing an in memory channel

    @@ -3216,7 +1820,7 @@ cloud events.

    string @@ -3225,20 +1829,7 @@ sources.eventing.knative.dev/v1alpha1 kind
    string - - - - - + @@ -3258,39 +1850,40 @@ Refer to the Kubernetes API documentation for the fields of the
    -sources.eventing.knative.dev/v1alpha1 +messaging.knative.dev/v1alpha1
    SinkBinding
    -Deprecated
    - - -Deprecated - - -
    -

    Deprecated allows ApiServerSource to have a deprecated message.

    -
    InMemoryChannel
    @@ -3250,6 +1841,7 @@ Kubernetes meta/v1.ObjectMeta +(Optional) Refer to the Kubernetes API documentation for the fields of the metadata field. spec
    - -SinkBindingSpec + +InMemoryChannelSpec
    +

    Spec defines the desired state of the Channel.



    -SourceSpec
    +subscribable
    -knative.dev/pkg/apis/duck/v1.SourceSpec + +Subscribable +
    -

    -(Members of SourceSpec are embedded into this type.) -

    +

    Channel conforms to Duck type Subscribable.

    -BindingSpec
    +delivery
    -knative.dev/pkg/apis/duck/v1alpha1.BindingSpec + +DeliverySpec +
    -

    -(Members of BindingSpec are embedded into this type.) -

    +

    For round tripping (v1beta1 <-> v1alpha1>

    @@ -3300,24 +1893,24 @@ knative.dev/pkg/apis/duck/v1alpha1.BindingSpec
    status
    - -SinkBindingStatus + +InMemoryChannelStatus
    +(Optional) +

    Status represents the current state of the Channel. This data may be out of +date.

    -

    ApiServerResource +

    Subscription

    -(Appears on: -ApiServerSourceSpec) -

    -

    -

    ApiServerResource defines the resource to watch

    +

    Subscription routes events received on a Channel to a DNS name and +corresponds to the subscriptions.channels.knative.dev CRD.

    @@ -3330,192 +1923,148 @@ SinkBindingStatus +string - + - +
    +
    +
    apiVersion
    - -string - -
    -

    API version of the resource to watch.

    + +messaging.knative.dev/v1alpha1 +
    kind
    - string - -
    -

    Kind of the resource to watch. -More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

    Subscription
    -labelSelector
    +metadata
    - -Kubernetes meta/v1.LabelSelector + +Kubernetes meta/v1.ObjectMeta
    -

    LabelSelector restricts this source to objects with the selected labels -More info: http://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -controllerSelector
    +spec
    - -Kubernetes meta/v1.OwnerReference + +SubscriptionSpec
    -

    ControllerSelector restricts this source to objects with a controlling owner reference of the specified kind. -Only apiVersion and kind are used. Both are optional.

    -
    - - -
    -controller
    +generation
    -bool +int64
    -

    If true, send an event referencing the object controlling the resource

    -
    -

    ApiServerSourceSpec -

    -

    -(Appears on: -ApiServerSource) -

    -

    -

    ApiServerSourceSpec defines the desired state of ApiServerSource

    -

    - - - - - +(Optional) +

    TODO By enabling the status subresource metadata.generation should increment +thus making this property obsolete.

    +

    We should be able to drop this property with a CRD conversion webhook +in the future

    + - - -
    FieldDescription
    -resources
    +channel
    - -[]ApiServerResource + +Kubernetes core/v1.ObjectReference
    -

    Resources is the list of resources to watch

    +

    This field is immutable. We have no good answer on what happens to +the events that are currently in the channel being consumed from +and what the semantics there should be. For now, you can always +delete the Subscription and recreate it to point to a different +channel, giving the user more control over what semantics should +be used (drain the channel first, possibly have events dropped, +etc.)

    -serviceAccountName
    +subscriber
    -string +knative.dev/pkg/apis/duck/v1.Destination
    (Optional) -

    ServiceAccountName is the name of the ServiceAccount to use to run this -source.

    +

    Subscriber is reference to (optional) function for processing events. +Events from the Channel will be delivered here and replies are +sent to a Destination as specified by the Reply.

    -sink
    +reply
    -knative.dev/pkg/apis/duck/v1beta1.Destination +knative.dev/pkg/apis/duck/v1.Destination
    (Optional) -

    Sink is a reference to an object that will resolve to a domain name to use as the sink.

    +

    Reply specifies (optionally) how to handle events returned from +the Subscriber target.

    -mode
    +delivery
    -string + +DeliverySpec +
    -

    Mode is the mode the receive adapter controller runs under: Ref or Resource. -Ref sends only the reference to the resource. -Resource send the full resource.

    +(Optional) +

    Delivery configuration

    -

    ApiServerSourceStatus -

    -

    -(Appears on: -ApiServerSource) -

    -

    -

    ApiServerSourceStatus defines the observed state of ApiServerSource

    -

    - - - - - - - - - - -
    FieldDescription
    -Status
    - -knative.dev/pkg/apis/duck/v1.Status - -
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    -sinkUri
    +status
    -string + +SubscriptionStatus +
    -(Optional) -

    SinkURI is the current active sink URI that has been configured for the ApiServerSource.

    -

    ContainerSourceSpec +

    ChannelSpec

    (Appears on: -ContainerSource) +Channel)

    -

    ContainerSourceSpec defines the desired state of ContainerSource

    +

    ChannelSpec defines which subscribers have expressed interest in receiving events from this Channel. +It also defines the ChannelTemplate to use in order to create the CRD Channel backing this Channel.

    @@ -3527,97 +2076,54 @@ string - - - - - - - - - - - -
    -template
    +channelTemplate
    - -Kubernetes core/v1.PodTemplateSpec + +ChannelTemplateSpec
    -(Optional) -

    Template describes the pods that will be created

    -
    -image
    - -string - -
    -

    DeprecatedImage is the image to run inside of the container. -This field is to be deprecated. Use Template instead. -When Template is set, this field is ignored.

    -
    -args
    - -[]string - -
    -

    DeprecatedArgs are passed to the ContainerSpec as they are. -This field is to be deprecated. Use Template instead. -When Template is set, this field is ignored.

    +

    ChannelTemplate specifies which Channel CRD to use to create the CRD Channel backing this Channel. +This is immutable after creation. Normally this is set by the Channel defaulter, not directly by the user.

    -env
    +subscribable
    - -[]Kubernetes core/v1.EnvVar + +Subscribable
    -(Optional) -

    DeprecatedEnv is the list of environment variables to set in the container. -Cannot be updated. -This field is to be deprecated. Use Template instead. -When Template is set, this field is ignored.

    -
    -serviceAccountName
    - -string - -
    -(Optional) -

    DeprecatedServiceAccountName is the name of the ServiceAccount to use to run this -source. -This field is to be deprecated. Use Template instead. -When Template is set, this field is ignored.

    +

    Channel conforms to Duck type Subscribable.

    -sink
    +delivery
    -knative.dev/pkg/apis/duck/v1beta1.Destination + +DeliverySpec +
    -

    Sink is a reference to an object that will resolve to a domain name to use as the sink.

    +

    Delivery options.

    -

    ContainerSourceStatus +

    ChannelStatus

    (Appears on: -ContainerSource) +Channel)

    -

    ContainerSourceStatus defines the observed state of ContainerSource

    +

    ChannelStatus represents the current state of a Channel.

    @@ -3645,63 +2151,62 @@ knative.dev/pkg/apis/duck/v1.Status - - -
    -sinkUri
    +AddressStatus
    -string +knative.dev/pkg/apis/duck/v1alpha1.AddressStatus
    -(Optional) -

    SinkURI is the current active sink URI that has been configured for the ContainerSource.

    -
    -

    CronJobLimitsSpec -

    -

    -(Appears on: -CronJobResourceSpec) -

    +(Members of AddressStatus are embedded into this type.)

    - - - - - +

    Channel is Addressable. It currently exposes the endpoint as a +fully-qualified DNS name which will distribute traffic over the +provided targets from inside the cluster.

    +

    It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    + - -
    FieldDescription
    -cpu
    +SubscribableTypeStatus
    -string + +SubscribableTypeStatus +
    +

    +(Members of SubscribableTypeStatus are embedded into this type.) +

    +

    Subscribers is populated with the statuses of each of the Channelable’s subscribers.

    -memory
    +channel
    -string + +Kubernetes core/v1.ObjectReference +
    +

    Channel is an ObjectReference to the Channel CRD backing this Channel.

    -

    CronJobRequestsSpec +

    InMemoryChannelSpec

    (Appears on: -CronJobResourceSpec) +InMemoryChannel)

    +

    InMemoryChannelSpec defines which subscribers have expressed interest in +receiving events from this InMemoryChannel. +arguments for a Channel.

    @@ -3713,33 +2218,40 @@ string
    -cpu
    +subscribable
    -string + +Subscribable +
    +

    Channel conforms to Duck type Subscribable.

    -memory
    +delivery
    -string + +DeliverySpec +
    +

    For round tripping (v1beta1 <-> v1alpha1>

    -

    CronJobResourceSpec +

    InMemoryChannelStatus

    (Appears on: -CronJobSourceSpec) +InMemoryChannel)

    +

    ChannelStatus represents the current state of a Channel.

    @@ -3751,38 +2263,74 @@ string + + + +
    -requests
    +Status
    - -CronJobRequestsSpec - +knative.dev/pkg/apis/duck/v1.Status
    +

    +(Members of Status are embedded into this type.) +

    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    -limits
    +AddressStatus
    + +knative.dev/pkg/apis/duck/v1alpha1.AddressStatus + +
    +

    +(Members of AddressStatus are embedded into this type.) +

    +

    InMemoryChannel is Addressable. It currently exposes the endpoint as a +fully-qualified DNS name which will distribute traffic over the +provided targets from inside the cluster.

    +

    It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    +
    +SubscribableTypeStatus
    - -CronJobLimitsSpec + +SubscribableTypeStatus
    +

    +(Members of SubscribableTypeStatus are embedded into this type.) +

    +

    Subscribers is populated with the statuses of each of the Channelable’s subscribers.

    -

    CronJobSourceSpec +

    SubscriptionSpec

    (Appears on: -CronJobSource) +Subscription)

    -

    CronJobSourceSpec defines the desired state of the CronJobSource.

    +

    SubscriptionSpec specifies the Channel for incoming events, a Subscriber target +for processing those events and where to put the result of the processing. Only +From (where the events are coming from) is always required. You can optionally +only Process the events (results in no output events) by leaving out the Result. +You can also perform an identity transformation on the incoming events by leaving +out the Subscriber and only specifying Result.

    +

    The following are all valid specifications: +channel –[subscriber]–> reply +Sink, no outgoing events: +channel – subscriber +no-op function (identity transformation): +channel –> reply

    @@ -3794,72 +2342,89 @@ CronJobLimitsSpec
    -schedule
    +generation
    -string +int64
    -

    Schedule is the cronjob schedule.

    +(Optional) +

    TODO By enabling the status subresource metadata.generation should increment +thus making this property obsolete.

    +

    We should be able to drop this property with a CRD conversion webhook +in the future

    -data
    +channel
    -string + +Kubernetes core/v1.ObjectReference +
    -

    Data is the data posted to the target function.

    +

    This field is immutable. We have no good answer on what happens to +the events that are currently in the channel being consumed from +and what the semantics there should be. For now, you can always +delete the Subscription and recreate it to point to a different +channel, giving the user more control over what semantics should +be used (drain the channel first, possibly have events dropped, +etc.)

    -sink
    +subscriber
    -knative.dev/pkg/apis/duck/v1beta1.Destination +knative.dev/pkg/apis/duck/v1.Destination
    -

    Sink is a reference to an object that will resolve to a domain name to use as the sink.

    +(Optional) +

    Subscriber is reference to (optional) function for processing events. +Events from the Channel will be delivered here and replies are +sent to a Destination as specified by the Reply.

    -serviceAccountName
    +reply
    -string +knative.dev/pkg/apis/duck/v1.Destination
    -

    ServiceAccoutName is the name of the ServiceAccount that will be used to run the Receive -Adapter Deployment.

    +(Optional) +

    Reply specifies (optionally) how to handle events returned from +the Subscriber target.

    -resources
    +delivery
    - -CronJobResourceSpec + +DeliverySpec
    -

    Resource limits and Request specifications of the Receive Adapter Deployment

    +(Optional) +

    Delivery configuration

    -

    CronJobSourceStatus +

    SubscriptionStatus

    (Appears on: -CronJobSource) +Subscription)

    -

    CronJobSourceStatus defines the observed state of CronJobSource.

    +

    SubscriptionStatus (computed) for a subscription

    @@ -3887,37 +2452,28 @@ knative.dev/pkg/apis/duck/v1.Status
    -sinkUri
    +physicalSubscription
    -string + +SubscriptionStatusPhysicalSubscription +
    -(Optional) -

    SinkURI is the current active sink URI that has been configured for the CronJobSource.

    +

    PhysicalSubscription is the fully resolved values that this Subscription represents.

    -

    Deprecated -

    -

    -(Appears on: -ApiServerSource, -ContainerSource, -CronJobSource, -SinkBinding) -

    -

    -

    -

    SinkBindingSpec +

    SubscriptionStatusPhysicalSubscription

    (Appears on: -SinkBinding) +SubscriptionStatus)

    -

    SinkBindingSpec holds the desired state of the SinkBinding (from the client).

    +

    SubscriptionStatusPhysicalSubscription represents the fully resolved values for this +Subscription.

    @@ -3929,78 +2485,53 @@ string - -
    -SourceSpec
    +subscriberURI
    -knative.dev/pkg/apis/duck/v1.SourceSpec +knative.dev/pkg/apis.URL
    -

    -(Members of SourceSpec are embedded into this type.) -

    +

    SubscriberURI is the fully resolved URI for spec.subscriber.

    -BindingSpec
    +replyURI
    -knative.dev/pkg/apis/duck/v1alpha1.BindingSpec +knative.dev/pkg/apis.URL
    -

    -(Members of BindingSpec are embedded into this type.) -

    +

    ReplyURI is the fully resolved URI for the spec.reply.

    -

    SinkBindingStatus -

    -

    -(Appears on: -SinkBinding) -

    -

    -

    SinkBindingStatus communicates the observed state of the SinkBinding (from the controller).

    -

    - - - - - - - -
    FieldDescription
    -SourceStatus
    +deadLetterSinkURI
    -knative.dev/pkg/apis/duck/v1.SourceStatus +knative.dev/pkg/apis.URL
    -

    -(Members of SourceStatus are embedded into this type.) -

    +

    ReplyURI is the fully resolved URI for the spec.delivery.deadLetterSink.


    -

    sources.knative.dev/v1alpha2

    +

    sources.knative.dev/v1alpha1

    -

    Package v1alpha2 contains API Schema definitions for the sources v1beta1 API group

    +

    Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group

    Resource Types: -

    ApiServerSource +

    ApiServerSource

    ApiServerSource is the Schema for the apiserversources API

    @@ -4019,7 +2550,7 @@ Resource Types: string -sources.knative.dev/v1alpha2 +sources.knative.dev/v1alpha1 @@ -4048,7 +2579,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
    - + ApiServerSourceSpec @@ -4059,94 +2590,82 @@ ApiServerSourceSpec
    -SourceSpec
    +resources
    -knative.dev/pkg/apis/duck/v1.SourceSpec + +[]ApiServerResource +
    -

    -(Members of SourceSpec are embedded into this type.) -

    -

    inherits duck/v1 SourceSpec, which currently provides: -* Sink - a reference to an object that will resolve to a domain name or -a URI directly to use as the sink. -* CloudEventOverrides - defines overrides to control the output format -and modifications of the event sent to the sink.

    +

    Resources is the list of resources to watch

    -resources
    +serviceAccountName
    - -[]APIVersionKind - +string
    -

    Resource is the resource this source will track and send related -lifecycle events from the Kubernetes ApiServer.

    +(Optional) +

    ServiceAccountName is the name of the ServiceAccount to use to run this +source.

    -selector
    +sink
    - -Kubernetes meta/v1.LabelSelector - +knative.dev/pkg/apis/duck/v1beta1.Destination
    (Optional) -

    LabelSelector filters this source to objects to those resources pass the -label selector. -More info: http://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

    +

    Sink is a reference to an object that will resolve to a domain name to use as the sink.

    -owner
    +ceOverrides
    - -APIVersionKind - +knative.dev/pkg/apis/duck/v1.CloudEventOverrides
    (Optional) -

    ResourceOwner is an additional filter to only track resources that are -owned by a specific resource type. If ResourceOwner matches Resources[n] -then Resources[n] is allowed to pass the ResourceOwner filter.

    +

    CloudEventOverrides defines overrides to control the output format and +modifications of the event sent to the sink.

    -mode
    +owner
    -string + +APIVersionKind +
    (Optional) -

    EventMode controls the format of the event. -Reference sends a dataref event type for the resource under watch. -Resource send the full resource lifecycle event. -Defaults to Reference

    +

    ResourceOwner is an additional filter to only track resources that are +owned by a specific resource type. If ResourceOwner matches Resources[n] +then Resources[n] is allowed to pass the ResourceOwner filter.

    -serviceAccountName
    +mode
    string
    -(Optional) -

    ServiceAccountName is the name of the ServiceAccount to use to run this -source. Defaults to default if not set.

    +

    Mode is the mode the receive adapter controller runs under: Ref or Resource. +Ref sends only the reference to the resource. +Resource send the full resource.

    @@ -4156,7 +2675,7 @@ source. Defaults to default if not set.

    status
    - + ApiServerSourceStatus @@ -4166,7 +2685,7 @@ ApiServerSourceStatus -

    PingSource +

    PingSource

    PingSource is the Schema for the PingSources API.

    @@ -4185,7 +2704,7 @@ ApiServerSourceStatus string -sources.knative.dev/v1alpha2 +sources.knative.dev/v1alpha1 @@ -4214,7 +2733,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
    - + PingSourceSpec @@ -4225,46 +2744,75 @@ PingSourceSpec + + + + + + + + + + + +
    -SourceSpec
    +schedule
    -knative.dev/pkg/apis/duck/v1.SourceSpec +string
    -

    -(Members of SourceSpec are embedded into this type.) -

    -

    inherits duck/v1 SourceSpec, which currently provides: -* Sink - a reference to an object that will resolve to a domain name or -a URI directly to use as the sink. -* CloudEventOverrides - defines overrides to control the output format -and modifications of the event sent to the sink.

    +

    Schedule is the cronjob schedule.

    -schedule
    +data
    string
    +

    Data is the data posted to the target function.

    +
    +sink
    + +knative.dev/pkg/apis/duck/v1.Destination + +
    +

    Sink is a reference to an object that will resolve to a uri to use as the sink.

    +
    +ceOverrides
    + +knative.dev/pkg/apis/duck/v1.CloudEventOverrides + +
    (Optional) -

    Schedule is the cronjob schedule. Defaults to * * * * *.

    +

    CloudEventOverrides defines overrides to control the output format and +modifications of the event sent to the sink.

    -jsonData
    +serviceAccountName
    string
    -(Optional) -

    JsonData is json encoded data used as the body of the event posted to -the sink. Default is empty. If set, datacontenttype will also be set -to “application/json”.

    +

    ServiceAccoutName is the name of the ServiceAccount that will be used to run the Receive +Adapter Deployment. +Deprecated: v1beta1 drops this field.

    +
    +resources
    + + +PingResourceSpec + + +
    +

    Resource limits and Request specifications of the Receive Adapter Deployment +Deprecated: v1beta1 drops this field.

    @@ -4274,7 +2822,7 @@ to “application/json”.

    status
    - + PingSourceStatus @@ -4284,7 +2832,7 @@ PingSourceStatus -

    SinkBinding +

    SinkBinding

    SinkBinding describes a Binding that is also a Source. @@ -4308,7 +2856,7 @@ cloud events.

    string -sources.knative.dev/v1alpha2 +sources.knative.dev/v1alpha1 @@ -4337,7 +2885,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
    - + SinkBindingSpec @@ -4357,11 +2905,6 @@ knative.dev/pkg/apis/duck/v1.SourceSpec

    (Members of SourceSpec are embedded into this type.)

    -

    inherits duck/v1 SourceSpec, which currently provides: -* Sink - a reference to an object that will resolve to a domain name or -a URI directly to use as the sink. -* CloudEventOverrides - defines overrides to control the output format -and modifications of the event sent to the sink.

    @@ -4375,9 +2918,6 @@ knative.dev/pkg/apis/duck/v1alpha1.BindingSpec

    (Members of BindingSpec are embedded into this type.)

    -

    inherits duck/v1alpha1 BindingSpec, which currently provides: -* Subject - Subject references the resource(s) whose “runtime contract” -should be augmented by Binding implementations.

    @@ -4387,7 +2927,7 @@ should be augmented by Binding implementations.

    status
    - + SinkBindingStatus @@ -4397,15 +2937,14 @@ SinkBindingStatus -

    APIVersionKind +

    ApiServerResource

    (Appears on: -ApiServerSourceSpec, ApiServerSourceSpec)

    -

    APIVersionKind is an APIVersion and Kind tuple.

    +

    ApiServerResource defines the resource to watch

    @@ -4423,8 +2962,7 @@ string @@ -4435,18 +2973,60 @@ string + + + + + + + + + + + +
    -(Optional) -

    APIVersion - the API version of the resource to watch.

    +

    API version of the resource to watch.

    -(Optional)

    Kind of the resource to watch. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

    +labelSelector
    + + +Kubernetes meta/v1.LabelSelector + + +
    +

    LabelSelector restricts this source to objects with the selected labels +More info: http://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

    +
    +controllerSelector
    + + +Kubernetes meta/v1.OwnerReference + + +
    +

    ControllerSelector restricts this source to objects with a controlling owner reference of the specified kind. +Only apiVersion and kind are used. Both are optional. +Deprecated: Per-resource owner refs will no longer be supported in +v1alpha2, please use Spec.Owner as a GKV.

    +
    +controller
    + +bool + +
    +

    If true, send an event referencing the object controlling the resource +Deprecated: Per-resource controller flag will no longer be supported in +v1alpha2, please use Spec.Owner as a GKV.

    +
    -

    ApiServerSourceSpec +

    ApiServerSourceSpec

    (Appears on: -ApiServerSource) +ApiServerSource)

    ApiServerSourceSpec defines the desired state of ApiServerSource

    @@ -4461,103 +3041,91 @@ More info: +[]ApiServerResource +
    -

    -(Members of SourceSpec are embedded into this type.) -

    -

    inherits duck/v1 SourceSpec, which currently provides: -* Sink - a reference to an object that will resolve to a domain name or -a URI directly to use as the sink. -* CloudEventOverrides - defines overrides to control the output format -and modifications of the event sent to the sink.

    +

    Resources is the list of resources to watch

    -resources
    +serviceAccountName
    - -[]APIVersionKind - +string -

    Resource is the resource this source will track and send related -lifecycle events from the Kubernetes ApiServer.

    +(Optional) +

    ServiceAccountName is the name of the ServiceAccount to use to run this +source.

    -selector
    +sink
    - -Kubernetes meta/v1.LabelSelector - +knative.dev/pkg/apis/duck/v1beta1.Destination (Optional) -

    LabelSelector filters this source to objects to those resources pass the -label selector. -More info: http://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

    +

    Sink is a reference to an object that will resolve to a domain name to use as the sink.

    -owner
    +ceOverrides
    - -APIVersionKind - +knative.dev/pkg/apis/duck/v1.CloudEventOverrides (Optional) -

    ResourceOwner is an additional filter to only track resources that are -owned by a specific resource type. If ResourceOwner matches Resources[n] -then Resources[n] is allowed to pass the ResourceOwner filter.

    +

    CloudEventOverrides defines overrides to control the output format and +modifications of the event sent to the sink.

    -mode
    +owner
    -string + +APIVersionKind + (Optional) -

    EventMode controls the format of the event. -Reference sends a dataref event type for the resource under watch. -Resource send the full resource lifecycle event. -Defaults to Reference

    +

    ResourceOwner is an additional filter to only track resources that are +owned by a specific resource type. If ResourceOwner matches Resources[n] +then Resources[n] is allowed to pass the ResourceOwner filter.

    -serviceAccountName
    +mode
    string -(Optional) -

    ServiceAccountName is the name of the ServiceAccount to use to run this -source. Defaults to default if not set.

    +

    Mode is the mode the receive adapter controller runs under: Ref or Resource. +Ref sends only the reference to the resource. +Resource send the full resource.

    -

    ApiServerSourceStatus +

    ApiServerSourceStatus

    (Appears on: -ApiServerSource) +ApiServerSource)

    ApiServerSourceStatus defines the observed state of ApiServerSource

    @@ -4592,11 +3160,129 @@ Source.

    -

    PingSourceSpec +

    PingLimitsSpec +

    +

    +(Appears on: +PingResourceSpec) +

    +

    +

    + + + + + + + + + + + + + + + + + +
    FieldDescription
    +cpu
    + +string + +
    +
    +memory
    + +string + +
    +
    +

    PingRequestsSpec +

    +

    +(Appears on: +PingResourceSpec) +

    +

    +

    + + + + + + + + + + + + + + + + + +
    FieldDescription
    +cpu
    + +string + +
    +
    +memory
    + +string + +
    +
    +

    PingResourceSpec +

    +

    +(Appears on: +PingSourceSpec) +

    +

    +

    + + + + + + + + + + + + + + + + + +
    FieldDescription
    +requests
    + + +PingRequestsSpec + + +
    +
    +limits
    + + +PingLimitsSpec + + +
    +
    +

    PingSourceSpec

    (Appears on: -PingSource) +PingSource)

    PingSourceSpec defines the desired state of the PingSource.

    @@ -4611,55 +3297,84 @@ Source.

    -SourceSpec
    +schedule
    -knative.dev/pkg/apis/duck/v1.SourceSpec +string -

    -(Members of SourceSpec are embedded into this type.) -

    -

    inherits duck/v1 SourceSpec, which currently provides: -* Sink - a reference to an object that will resolve to a domain name or -a URI directly to use as the sink. -* CloudEventOverrides - defines overrides to control the output format -and modifications of the event sent to the sink.

    +

    Schedule is the cronjob schedule.

    -schedule
    +data
    string +

    Data is the data posted to the target function.

    + + + + +sink
    + +knative.dev/pkg/apis/duck/v1.Destination + + + +

    Sink is a reference to an object that will resolve to a uri to use as the sink.

    + + + + +ceOverrides
    + +knative.dev/pkg/apis/duck/v1.CloudEventOverrides + + + (Optional) -

    Schedule is the cronjob schedule. Defaults to * * * * *.

    +

    CloudEventOverrides defines overrides to control the output format and +modifications of the event sent to the sink.

    -jsonData
    +serviceAccountName
    string -(Optional) -

    JsonData is json encoded data used as the body of the event posted to -the sink. Default is empty. If set, datacontenttype will also be set -to “application/json”.

    +

    ServiceAccoutName is the name of the ServiceAccount that will be used to run the Receive +Adapter Deployment. +Deprecated: v1beta1 drops this field.

    + + + + +resources
    + + +PingResourceSpec + + + + +

    Resource limits and Request specifications of the Receive Adapter Deployment +Deprecated: v1beta1 drops this field.

    -

    PingSourceStatus +

    PingSourceStatus

    (Appears on: -PingSource) +PingSource)

    PingSourceStatus defines the observed state of PingSource.

    @@ -4694,11 +3409,11 @@ Source.

    -

    SinkBindingSpec +

    SinkBindingSpec

    (Appears on: -SinkBinding) +SinkBinding)

    SinkBindingSpec holds the desired state of the SinkBinding (from the client).

    @@ -4722,11 +3437,6 @@ knative.dev/pkg/apis/duck/v1.SourceSpec

    (Members of SourceSpec are embedded into this type.)

    -

    inherits duck/v1 SourceSpec, which currently provides: -* Sink - a reference to an object that will resolve to a domain name or -a URI directly to use as the sink. -* CloudEventOverrides - defines overrides to control the output format -and modifications of the event sent to the sink.

    @@ -4740,18 +3450,15 @@ knative.dev/pkg/apis/duck/v1alpha1.BindingSpec

    (Members of BindingSpec are embedded into this type.)

    -

    inherits duck/v1alpha1 BindingSpec, which currently provides: -* Subject - Subject references the resource(s) whose “runtime contract” -should be augmented by Binding implementations.

    -

    SinkBindingStatus +

    SinkBindingStatus

    (Appears on: -SinkBinding) +SinkBinding)

    SinkBindingStatus communicates the observed state of the SinkBinding (from the controller).

    @@ -4775,30 +3482,29 @@ knative.dev/pkg/apis/duck/v1.SourceStatus

    (Members of SourceStatus are embedded into this type.)

    -

    inherits duck/v1 SourceStatus, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last -processed by the controller. -* Conditions - the latest available observations of a resource’s current -state. -* SinkURI - the current active sink URI that has been configured for the -Source.


    -

    duck.knative.dev/v1alpha1

    +

    sources.knative.dev/v1alpha2

    -

    Package v1alpha1 is the v1alpha1 version of the API.

    +

    Package v1alpha2 contains API Schema definitions for the sources v1beta1 API group

    Resource Types: - -

    Channelable + +

    ApiServerSource

    -

    Channelable is a skeleton type wrapping Subscribable and Addressable in the manner we expect resource writers -defining compatible resources to embed it. We will typically use this type to deserialize -Channelable ObjectReferences and access their subscription and address data. This is not a real resource.

    +

    ApiServerSource is the Schema for the apiserversources API

    @@ -4810,6 +3516,23 @@ Channelable ObjectReferences and access their subscription and address data. Th + + + + + + + + @@ -4882,14 +3652,10 @@ ChannelableStatus
    +apiVersion
    +string
    + +sources.knative.dev/v1alpha2 + +
    +kind
    +string +
    ApiServerSource
    metadata
    @@ -4826,43 +3549,90 @@ Refer to the Kubernetes API documentation for the fields of the
    spec
    - -ChannelableSpec + +ApiServerSourceSpec
    -

    Spec is the part where the Channelable fulfills the Subscribable contract.



    + + + + + + + + + + + +
    -SubscribableTypeSpec
    +SourceSpec
    - -SubscribableTypeSpec - +knative.dev/pkg/apis/duck/v1.SourceSpec

    -(Members of SubscribableTypeSpec are embedded into this type.) +(Members of SourceSpec are embedded into this type.)

    +

    inherits duck/v1 SourceSpec, which currently provides: +* Sink - a reference to an object that will resolve to a domain name or +a URI directly to use as the sink. +* CloudEventOverrides - defines overrides to control the output format +and modifications of the event sent to the sink.

    -delivery
    +resources
    - -DeliverySpec + +[]APIVersionKindSelector + + +
    +

    Resource are the resources this source will track and send related +lifecycle events from the Kubernetes ApiServer, with an optional label +selector to help filter.

    +
    +owner
    + + +APIVersionKind
    (Optional) -

    DeliverySpec contains options controlling the event delivery

    +

    ResourceOwner is an additional filter to only track resources that are +owned by a specific resource type. If ResourceOwner matches Resources[n] +then Resources[n] is allowed to pass the ResourceOwner filter.

    +
    +mode
    + +string + +
    +(Optional) +

    EventMode controls the format of the event. +Reference sends a dataref event type for the resource under watch. +Resource send the full resource lifecycle event. +Defaults to Reference

    +
    +serviceAccountName
    + +string + +
    +(Optional) +

    ServiceAccountName is the name of the ServiceAccount to use to run this +source. Defaults to default if not set.

    @@ -4872,8 +3642,8 @@ DeliverySpec
    status
    - -ChannelableStatus + +ApiServerSourceStatus
    -

    ChannelableCombined +

    ContainerSource

    -

    ChannelableCombined is a skeleton type wrapping Subscribable and Addressable of both -v1alpha1 and v1beta1 duck types. This is not to be used by resource writers and is -only used by Subscription Controller to synthesize patches and read the Status -of the Channelable Resources. -This is not a real resource.

    +

    ContainerSource is the Schema for the containersources API

    @@ -4901,6 +3667,23 @@ This is not a real resource.

    + + + + + + + + @@ -4990,14 +3757,10 @@ ChannelableCombinedStatus
    +apiVersion
    +string
    + +sources.knative.dev/v1alpha2 + +
    +kind
    +string +
    ContainerSource
    metadata
    @@ -4917,60 +3700,44 @@ Refer to the Kubernetes API documentation for the fields of the
    spec
    - -ChannelableCombinedSpec + +ContainerSourceSpec
    -

    Spec is the part where the Channelable fulfills the Subscribable contract.



    - - - -
    -SubscribableTypeSpec
    - - -SubscribableTypeSpec - - -
    -

    -(Members of SubscribableTypeSpec are embedded into this type.) -

    -

    SubscribableTypeSpec is for the v1alpha1 spec compatibility.

    -
    -SubscribableSpec
    +SourceSpec
    - -SubscribableSpec - +knative.dev/pkg/apis/duck/v1.SourceSpec

    -(Members of SubscribableSpec are embedded into this type.) +(Members of SourceSpec are embedded into this type.)

    -

    SubscribableSpec is for the v1beta1 spec compatibility.

    +

    inherits duck/v1 SourceSpec, which currently provides: +* Sink - a reference to an object that will resolve to a domain name or +a URI directly to use as the sink. +* CloudEventOverrides - defines overrides to control the output format +and modifications of the event sent to the sink.

    -delivery
    +template
    - -DeliverySpec + +Kubernetes core/v1.PodTemplateSpec
    -(Optional) -

    DeliverySpec contains options controlling the event delivery

    +

    Template describes the pods that will be created

    @@ -4980,8 +3747,8 @@ DeliverySpec
    status
    - -ChannelableCombinedStatus + +ContainerSourceStatus
    -

    ChannelableCombinedSpec +

    PingSource

    -(Appears on: -ChannelableCombined) -

    -

    -

    ChannelableSpec contains Spec of the Channelable object

    +

    PingSource is the Schema for the PingSources API.

    @@ -5009,155 +3772,118 @@ ChannelableCombinedStatus + + + + - - -
    -SubscribableTypeSpec
    - - -SubscribableTypeSpec - - +apiVersion
    +string
    + +sources.knative.dev/v1alpha2 +
    -

    -(Members of SubscribableTypeSpec are embedded into this type.) -

    -

    SubscribableTypeSpec is for the v1alpha1 spec compatibility.

    +kind
    +string
    PingSource
    -SubscribableSpec
    +metadata
    - -SubscribableSpec + +Kubernetes meta/v1.ObjectMeta
    -

    -(Members of SubscribableSpec are embedded into this type.) -

    -

    SubscribableSpec is for the v1beta1 spec compatibility.

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -delivery
    +spec
    - -DeliverySpec + +PingSourceSpec
    -(Optional) -

    DeliverySpec contains options controlling the event delivery

    -
    -

    ChannelableCombinedStatus -

    -

    -(Appears on: -ChannelableCombined) -

    -

    -

    ChannelableStatus contains the Status of a Channelable object.

    -

    +
    +
    - - - - - - - - - -
    FieldDescription
    -Status
    +SourceSpec
    -knative.dev/pkg/apis/duck/v1.Status +knative.dev/pkg/apis/duck/v1.SourceSpec

    -(Members of Status are embedded into this type.) +(Members of SourceSpec are embedded into this type.)

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    +

    inherits duck/v1 SourceSpec, which currently provides: +* Sink - a reference to an object that will resolve to a domain name or +a URI directly to use as the sink. +* CloudEventOverrides - defines overrides to control the output format +and modifications of the event sent to the sink.

    -AddressStatus
    +schedule
    -knative.dev/pkg/apis/duck/v1alpha1.AddressStatus +string
    -

    -(Members of AddressStatus are embedded into this type.) -

    -

    AddressStatus is the part where the Channelable fulfills the Addressable contract.

    +(Optional) +

    Schedule is the cronjob schedule. Defaults to * * * * *.

    -SubscribableTypeStatus
    +jsonData
    - -SubscribableTypeStatus - +string
    -

    -(Members of SubscribableTypeStatus are embedded into this type.) -

    -

    SubscribableTypeStatus is the v1alpha1 part of the Subscribers status

    +(Optional) +

    JsonData is json encoded data used as the body of the event posted to +the sink. Default is empty. If set, datacontenttype will also be set +to “application/json”.

    -SubscribableStatus
    - - -SubscribableStatus - - -
    -

    -(Members of SubscribableStatus are embedded into this type.) -

    -

    SubscribableStatus is the v1beta1 part of the Subscribers status.

    +
    -errorChannel
    +status
    - -Kubernetes core/v1.ObjectReference + +PingSourceStatus -(Optional) -

    ErrorChannel is set by the channel when it supports native error handling via a channel

    -

    ChannelableSpec +

    SinkBinding

    -(Appears on: -Channelable) -

    -

    -

    ChannelableSpec contains Spec of the Channelable object

    +

    SinkBinding describes a Binding that is also a Source. +The sink (from the Source duck) is resolved to a URL and +then projected into the subject by augmenting the runtime +contract of the referenced containers to have a K_SINK +environment variable holding the endpoint to which to send +cloud events.

    @@ -5169,119 +3895,108 @@ Kubernetes core/v1.ObjectReference + + + + - -
    -SubscribableTypeSpec
    - - -SubscribableTypeSpec - - +apiVersion
    +string
    + +sources.knative.dev/v1alpha2 +
    -

    -(Members of SubscribableTypeSpec are embedded into this type.) -

    +kind
    +string
    SinkBinding
    -delivery
    +metadata
    - -DeliverySpec + +Kubernetes meta/v1.ObjectMeta
    -(Optional) -

    DeliverySpec contains options controlling the event delivery

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -

    ChannelableStatus -

    -

    -(Appears on: -Channelable) -

    -

    -

    ChannelableStatus contains the Status of a Channelable object.

    -

    - - - - - - - - - +
    +
    +
    FieldDescription
    -Status
    +spec
    -knative.dev/pkg/apis/duck/v1.Status + +SinkBindingSpec +
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    -
    + +
    -AddressStatus
    +SourceSpec
    -knative.dev/pkg/apis/duck/v1alpha1.AddressStatus +knative.dev/pkg/apis/duck/v1.SourceSpec

    -(Members of AddressStatus are embedded into this type.) +(Members of SourceSpec are embedded into this type.)

    -

    AddressStatus is the part where the Channelable fulfills the Addressable contract.

    +

    inherits duck/v1 SourceSpec, which currently provides: +* Sink - a reference to an object that will resolve to a domain name or +a URI directly to use as the sink. +* CloudEventOverrides - defines overrides to control the output format +and modifications of the event sent to the sink.

    -SubscribableTypeStatus
    +BindingSpec
    - -SubscribableTypeStatus - +knative.dev/pkg/apis/duck/v1alpha1.BindingSpec

    -(Members of SubscribableTypeStatus are embedded into this type.) +(Members of BindingSpec are embedded into this type.)

    -

    Subscribers is populated with the statuses of each of the Channelable’s subscribers.

    +

    inherits duck/v1alpha1 BindingSpec, which currently provides: +* Subject - Subject references the resource(s) whose “runtime contract” +should be augmented by Binding implementations.

    +
    -errorChannel
    +status
    - -Kubernetes core/v1.ObjectReference + +SinkBindingStatus -(Optional) -

    ErrorChannel is set by the channel when it supports native error handling via a channel

    -

    Resource +

    APIVersionKind

    -

    Resource is a skeleton type wrapping all Kubernetes resources. It is typically used to watch -arbitrary other resources (such as any Source or Addressable). This is not a real resource.

    +(Appears on: +ApiServerSourceSpec, +ApiServerSourceSpec) +

    +

    +

    APIVersionKind is an APIVersion and Kind tuple.

    @@ -5293,31 +4008,37 @@ arbitrary other resources (such as any Source or Addressable). This is not a rea + + + +
    -metadata
    +apiVersion
    - -Kubernetes meta/v1.ObjectMeta - +string
    -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    APIVersion - the API version of the resource to watch.

    +
    +kind
    + +string + +
    +

    Kind of the resource to watch. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

    -

    Subscribable +

    APIVersionKindSelector

    (Appears on: -ChannelSpec, -InMemoryChannelSpec, -SubscribableTypeSpec) +ApiServerSourceSpec)

    -

    Subscribable is the schema for the subscribable portion of the spec -section of the resource.

    +

    APIVersionKindSelector is an APIVersion Kind tuple with a LabelSelector.

    @@ -5329,28 +4050,53 @@ section of the resource.

    + + + + + + + +
    -subscribers
    +apiVersion
    - -[]SubscriberSpec +string + +
    +

    APIVersion - the API version of the resource to watch.

    +
    +kind
    + +string + +
    +

    Kind of the resource to watch. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

    +
    +selector
    + + +Kubernetes meta/v1.LabelSelector
    -

    This is the list of subscriptions for this subscribable.

    +(Optional) +

    LabelSelector filters this source to objects to those resources pass the +label selector. +More info: http://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

    -

    SubscribableStatus +

    ApiServerSourceSpec

    (Appears on: -SubscribableTypeStatus) +ApiServerSource)

    -

    SubscribableStatus is the schema for the subscribable’s status portion of the status -section of the resource.

    +

    ApiServerSourceSpec defines the desired state of ApiServerSource

    @@ -5362,104 +4108,130 @@ section of the resource.

    - - -
    -subscribers
    +SourceSpec
    - -[]SubscriberStatus - +knative.dev/pkg/apis/duck/v1.SourceSpec
    -

    This is the list of subscription’s statuses for this channel.

    -
    -

    SubscribableType -

    -

    SubscribableType is a skeleton type wrapping Subscribable in the manner we expect resource writers -defining compatible resources to embed it. We will typically use this type to deserialize -SubscribableType ObjectReferences and access the Subscription data. This is not a real resource.

    +(Members of SourceSpec are embedded into this type.)

    - - - - - +

    inherits duck/v1 SourceSpec, which currently provides: +* Sink - a reference to an object that will resolve to a domain name or +a URI directly to use as the sink. +* CloudEventOverrides - defines overrides to control the output format +and modifications of the event sent to the sink.

    + - - + + + +
    FieldDescription
    -metadata
    +resources
    - -Kubernetes meta/v1.ObjectMeta + +[]APIVersionKindSelector
    -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    Resource are the resources this source will track and send related +lifecycle events from the Kubernetes ApiServer, with an optional label +selector to help filter.

    -spec
    +owner
    - -SubscribableTypeSpec + +APIVersionKind
    -

    SubscribableTypeSpec is the part where Subscribable object is -configured as to be compatible with Subscribable contract.

    -
    -
    - +(Optional) +

    ResourceOwner is an additional filter to only track resources that are +owned by a specific resource type. If ResourceOwner matches Resources[n] +then Resources[n] is allowed to pass the ResourceOwner filter.

    + + -
    -subscribable
    +mode
    - -Subscribable - +string
    +(Optional) +

    EventMode controls the format of the event. +Reference sends a dataref event type for the resource under watch. +Resource send the full resource lifecycle event. +Defaults to Reference

    +
    +serviceAccountName
    + +string + +
    +(Optional) +

    ServiceAccountName is the name of the ServiceAccount to use to run this +source. Defaults to default if not set.

    +

    ApiServerSourceStatus +

    +

    +(Appears on: +ApiServerSource) +

    +

    +

    ApiServerSourceStatus defines the observed state of ApiServerSource

    +

    + + + + + + + +
    FieldDescription
    -status
    +SourceStatus
    - -SubscribableTypeStatus - +knative.dev/pkg/apis/duck/v1.SourceStatus
    -

    SubscribableTypeStatus is the part where SubscribableStatus object is -configured as to be compatible with Subscribable contract.

    +

    +(Members of SourceStatus are embedded into this type.) +

    +

    inherits duck/v1 SourceStatus, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last +processed by the controller. +* Conditions - the latest available observations of a resource’s current +state. +* SinkURI - the current active sink URI that has been configured for the +Source.

    -

    SubscribableTypeSpec +

    ContainerSourceSpec

    (Appears on: -ChannelableCombinedSpec, -ChannelableSpec, -SubscribableType) +ContainerSource)

    -

    SubscribableTypeSpec shows how we expect folks to embed Subscribable in their Spec field.

    +

    ContainerSourceSpec defines the desired state of ContainerSource

    @@ -5471,30 +4243,45 @@ configured as to be compatible with Subscribable contract.

    + + + +
    -subscribable
    +SourceSpec
    - -Subscribable +knative.dev/pkg/apis/duck/v1.SourceSpec + +
    +

    +(Members of SourceSpec are embedded into this type.) +

    +

    inherits duck/v1 SourceSpec, which currently provides: +* Sink - a reference to an object that will resolve to a domain name or +a URI directly to use as the sink. +* CloudEventOverrides - defines overrides to control the output format +and modifications of the event sent to the sink.

    +
    +template
    + + +Kubernetes core/v1.PodTemplateSpec
    +

    Template describes the pods that will be created

    -

    SubscribableTypeStatus +

    ContainerSourceStatus

    (Appears on: -ChannelStatus, -ChannelableCombinedStatus, -ChannelableStatus, -InMemoryChannelStatus, -SubscribableType) +ContainerSource)

    -

    SubscribableTypeStatus shows how we expect folks to embed Subscribable in their Status field.

    +

    ContainerSourceStatus defines the observed state of ContainerSource

    @@ -5506,30 +4293,34 @@ Subscribable
    -subscribableStatus
    +SourceStatus
    - -SubscribableStatus - +knative.dev/pkg/apis/duck/v1.SourceStatus
    +

    +(Members of SourceStatus are embedded into this type.) +

    +

    inherits duck/v1 SourceStatus, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last +processed by the controller. +* Conditions - the latest available observations of a resource’s current +state. +* SinkURI - the current active sink URI that has been configured for the +Source.

    -

    SubscriberSpec +

    PingSourceSpec

    (Appears on: -Subscribable) +PingSource)

    -

    SubscriberSpec defines a single subscriber to a Subscribable. -Ref is a reference to the Subscription this SubscriberSpec was created for -SubscriberURI is the endpoint for the subscriber -ReplyURI is the endpoint for the reply -At least one of SubscriberURI and ReplyURI must be present

    +

    PingSourceSpec defines the desired state of the PingSource.

    @@ -5541,84 +4332,97 @@ At least one of SubscriberURI and ReplyURI must be present

    - - - - + +
    -uid
    - -k8s.io/apimachinery/pkg/types.UID - -
    -(Optional) -

    UID is used to understand the origin of the subscriber.

    -
    -generation
    +SourceSpec
    -int64 +knative.dev/pkg/apis/duck/v1.SourceSpec
    -(Optional) -

    Generation of the origin of the subscriber with uid:UID.

    +

    +(Members of SourceSpec are embedded into this type.) +

    +

    inherits duck/v1 SourceSpec, which currently provides: +* Sink - a reference to an object that will resolve to a domain name or +a URI directly to use as the sink. +* CloudEventOverrides - defines overrides to control the output format +and modifications of the event sent to the sink.

    -subscriberURI
    +schedule
    -knative.dev/pkg/apis.URL +string
    (Optional) +

    Schedule is the cronjob schedule. Defaults to * * * * *.

    -replyURI
    +jsonData
    -knative.dev/pkg/apis.URL +string
    (Optional) +

    JsonData is json encoded data used as the body of the event posted to +the sink. Default is empty. If set, datacontenttype will also be set +to “application/json”.

    +

    PingSourceStatus +

    +

    +(Appears on: +PingSource) +

    +

    +

    PingSourceStatus defines the observed state of PingSource.

    +

    + + - - + + + +
    -deadLetterSink
    - -knative.dev/pkg/apis.URL - -
    -(Optional) -FieldDescription
    -delivery
    +SourceStatus
    - -DeliverySpec - +knative.dev/pkg/apis/duck/v1.SourceStatus
    -(Optional) +

    +(Members of SourceStatus are embedded into this type.) +

    +

    inherits duck/v1 SourceStatus, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last +processed by the controller. +* Conditions - the latest available observations of a resource’s current +state. +* SinkURI - the current active sink URI that has been configured for the +Source.

    -

    SubscriberStatus +

    SinkBindingSpec

    (Appears on: -SubscribableStatus) +SinkBinding)

    -

    SubscriberStatus defines the status of a single subscriber to a Channel.

    +

    SinkBindingSpec holds the desired state of the SinkBinding (from the client).

    @@ -5630,73 +4434,87 @@ DeliverySpec + +
    -uid
    +SourceSpec
    -k8s.io/apimachinery/pkg/types.UID +knative.dev/pkg/apis/duck/v1.SourceSpec
    -(Optional) -

    UID is used to understand the origin of the subscriber.

    +

    +(Members of SourceSpec are embedded into this type.) +

    +

    inherits duck/v1 SourceSpec, which currently provides: +* Sink - a reference to an object that will resolve to a domain name or +a URI directly to use as the sink. +* CloudEventOverrides - defines overrides to control the output format +and modifications of the event sent to the sink.

    -observedGeneration
    +BindingSpec
    -int64 +knative.dev/pkg/apis/duck/v1alpha1.BindingSpec
    -(Optional) -

    Generation of the origin of the subscriber with uid:UID.

    +

    +(Members of BindingSpec are embedded into this type.) +

    +

    inherits duck/v1alpha1 BindingSpec, which currently provides: +* Subject - Subject references the resource(s) whose “runtime contract” +should be augmented by Binding implementations.

    +

    SinkBindingStatus +

    +

    +(Appears on: +SinkBinding) +

    +

    +

    SinkBindingStatus communicates the observed state of the SinkBinding (from the controller).

    +

    + + - - + + + +
    -ready
    - - -Kubernetes core/v1.ConditionStatus - - -
    -(Optional) -

    Status of the subscriber.

    -
    FieldDescription
    -message
    +SourceStatus
    -string +knative.dev/pkg/apis/duck/v1.SourceStatus
    -(Optional) -

    A human readable message indicating details of Ready status.

    +

    +(Members of SourceStatus are embedded into this type.) +

    +

    inherits duck/v1 SourceStatus, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last +processed by the controller. +* Conditions - the latest available observations of a resource’s current +state. +* SinkURI - the current active sink URI that has been configured for the +Source.


    -

    duck.knative.dev/v1beta1

    +

    duck.knative.dev/v1alpha1

    -

    Package v1beta1 is the v1beta1 version of the API.

    +

    Package v1alpha1 is the v1alpha1 version of the API.

    Resource Types: -

    BackoffPolicyType -(string alias)

    -

    -(Appears on: -DeliverySpec) -

    -

    -

    BackoffPolicyType is the type for backoff policies

    -

    -

    Channelable +

    Channelable

    Channelable is a skeleton type wrapping Subscribable and Addressable in the manner we expect resource writers @@ -5729,7 +4547,7 @@ Refer to the Kubernetes API documentation for the fields of the spec
    - + ChannelableSpec @@ -5741,16 +4559,16 @@ ChannelableSpec @@ -5775,7 +4593,7 @@ DeliverySpec
    -SubscribableSpec
    +SubscribableTypeSpec
    - -SubscribableSpec + +SubscribableTypeSpec

    -(Members of SubscribableSpec are embedded into this type.) +(Members of SubscribableTypeSpec are embedded into this type.)

    status
    - + ChannelableStatus @@ -5785,66 +4603,14 @@ ChannelableStatus
    -

    ChannelableSpec -

    -

    -(Appears on: -ChannelSpec, -Channelable, -InMemoryChannelSpec) -

    -

    -

    ChannelableSpec contains Spec of the Channelable object

    -

    - - - - - - - - - - - - - - - - - -
    FieldDescription
    -SubscribableSpec
    - - -SubscribableSpec - - -
    -

    -(Members of SubscribableSpec are embedded into this type.) -

    -
    -delivery
    - - -DeliverySpec - - -
    -(Optional) -

    DeliverySpec contains options controlling the event delivery

    -
    -

    ChannelableStatus +

    ChannelableCombined

    -(Appears on: -ChannelStatus, -Channelable, -InMemoryChannelStatus) -

    -

    -

    ChannelableStatus contains the Status of a Channelable object.

    +

    ChannelableCombined is a skeleton type wrapping Subscribable and Addressable of both +v1alpha1 and v1beta1 duck types. This is not to be used by resource writers and is +only used by Subscription Controller to synthesize patches and read the Status +of the Channelable Resources. +This is not a real resource.

    @@ -5856,86 +4622,103 @@ DeliverySpec + + + + +
    -Status
    +metadata
    -knative.dev/pkg/apis/duck/v1.Status + +Kubernetes meta/v1.ObjectMeta +
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -AddressStatus
    +spec
    -knative.dev/pkg/apis/duck/v1.AddressStatus + +ChannelableCombinedSpec + + +
    +

    Spec is the part where the Channelable fulfills the Subscribable contract.

    +
    +
    + + + + +
    +SubscribableTypeSpec
    + + +SubscribableTypeSpec +

    -(Members of AddressStatus are embedded into this type.) +(Members of SubscribableTypeSpec are embedded into this type.)

    -

    AddressStatus is the part where the Channelable fulfills the Addressable contract.

    +

    SubscribableTypeSpec is for the v1alpha1 spec compatibility.

    -SubscribableStatus
    +SubscribableSpec
    - -SubscribableStatus + +SubscribableSpec

    -(Members of SubscribableStatus are embedded into this type.) +(Members of SubscribableSpec are embedded into this type.)

    -

    Subscribers is populated with the statuses of each of the Channelable’s subscribers.

    +

    SubscribableSpec is for the v1beta1 spec compatibility.

    -deadLetterChannel
    +delivery
    -knative.dev/pkg/apis/duck/v1.KReference + +DeliverySpec +
    (Optional) -

    DeadLetterChannel is a KReference and is set by the channel when it supports native error handling via a channel -Failed messages are delivered here.

    +

    DeliverySpec contains options controlling the event delivery

    +
    +
    +status
    + + +ChannelableCombinedStatus + + +
    -

    DeliverySpec +

    ChannelableCombinedSpec

    (Appears on: -BrokerSpec, -BrokerSpec, -ChannelSpec, -ChannelableCombinedSpec, -ChannelableSpec, -ChannelableSpec, -InMemoryChannelSpec, -SequenceStep, -SequenceStep, -SubscriberSpec, -SubscriberSpec, -SubscriptionSpec, -SubscriptionSpec) +ChannelableCombined)

    -

    DeliverySpec contains the delivery options for event senders, -such as channelable and source.

    +

    ChannelableSpec contains Spec of the Channelable object

    @@ -5947,65 +4730,60 @@ such as channelable and source.

    - - - -
    -deadLetterSink
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -(Optional) -

    DeadLetterSink is the sink receiving event that couldn’t be sent to -a destination.

    -
    -retry
    +SubscribableTypeSpec
    -int32 + +SubscribableTypeSpec +
    -(Optional) -

    Retry is the minimum number of retries the sender should attempt when -sending an event before moving it to the dead letter sink.

    +

    +(Members of SubscribableTypeSpec are embedded into this type.) +

    +

    SubscribableTypeSpec is for the v1alpha1 spec compatibility.

    -backoffPolicy
    +SubscribableSpec
    - -BackoffPolicyType + +SubscribableSpec
    -(Optional) -

    BackoffPolicy is the retry backoff policy (linear, exponential)

    +

    +(Members of SubscribableSpec are embedded into this type.) +

    +

    SubscribableSpec is for the v1beta1 spec compatibility.

    -backoffDelay
    +delivery
    -string + +DeliverySpec +
    (Optional) -

    BackoffDelay is the delay before retrying. -More information on Duration format: https://www.ietf.org/rfc/rfc3339.txt

    -

    For linear policy, backoff delay is the time interval between retries. -For exponential policy , backoff delay is backoffDelay*2^

    +

    DeliverySpec contains options controlling the event delivery

    -

    DeliveryStatus +

    ChannelableCombinedStatus

    -

    DeliveryStatus contains the Status of an object supporting delivery options.

    +(Appears on: +ChannelableCombined) +

    +

    +

    ChannelableStatus contains the Status of a Channelable object.

    @@ -6017,82 +4795,53 @@ For exponential policy , backoff delay is backoffDelay*2^

    - - -
    -deadLetterChannel
    +Status
    -knative.dev/pkg/apis/duck/v1.KReference +knative.dev/pkg/apis/duck/v1.Status
    -(Optional) -

    DeadLetterChannel is a KReference that is the reference to the native, platform specific channel -where failed events are sent to.

    -
    -

    Subscribable -

    -

    Subscribable is a skeleton type wrapping Subscribable in the manner we expect resource writers -defining compatible resources to embed it. We will typically use this type to deserialize -SubscribableType ObjectReferences and access the Subscription data. This is not a real resource.

    +(Members of Status are embedded into this type.)

    - - - - - +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    + - - - - - -
    FieldDescription
    -metadata
    +AddressStatus
    - -Kubernetes meta/v1.ObjectMeta - +knative.dev/pkg/apis/duck/v1alpha1.AddressStatus
    -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    +(Members of AddressStatus are embedded into this type.) +

    +

    AddressStatus is the part where the Channelable fulfills the Addressable contract.

    -spec
    - - -SubscribableSpec - - -
    -

    SubscribableSpec is the part where Subscribable object is -configured as to be compatible with Subscribable contract.

    -
    -
    - - - - -
    -subscribers
    +SubscribableTypeStatus
    - -[]SubscriberSpec + +SubscribableTypeStatus
    -

    This is the list of subscriptions for this subscribable.

    -
    +

    +(Members of SubscribableTypeStatus are embedded into this type.) +

    +

    SubscribableTypeStatus is the v1alpha1 part of the Subscribers status

    -status
    +SubscribableStatus
    SubscribableStatus @@ -6100,57 +4849,36 @@ SubscribableStatus
    -

    SubscribableStatus is the part where SubscribableStatus object is -configured as to be compatible with Subscribable contract.

    -
    -

    SubscribableSpec -

    -

    -(Appears on: -ChannelableCombinedSpec, -ChannelableSpec, -Subscribable) -

    -

    SubscribableSpec shows how we expect folks to embed Subscribable in their Spec field.

    +(Members of SubscribableStatus are embedded into this type.)

    - - - - - +

    SubscribableStatus is the v1beta1 part of the Subscribers status.

    + - -
    FieldDescription
    -subscribers
    +errorChannel
    - -[]SubscriberSpec + +Kubernetes core/v1.ObjectReference
    -

    This is the list of subscriptions for this subscribable.

    +(Optional) +

    ErrorChannel is set by the channel when it supports native error handling via a channel

    -

    SubscribableStatus +

    ChannelableSpec

    (Appears on: -ChannelableCombinedStatus, -ChannelableStatus, -Subscribable) +Channelable)

    -

    SubscribableStatus is the schema for the subscribable’s status portion of the status -section of the resource.

    +

    ChannelableSpec contains Spec of the Channelable object

    @@ -6162,28 +4890,43 @@ section of the resource.

    + + + +
    -subscribers
    +SubscribableTypeSpec
    - -[]SubscriberStatus + +SubscribableTypeSpec
    -

    This is the list of subscription’s statuses for this channel.

    +

    +(Members of SubscribableTypeSpec are embedded into this type.) +

    +
    +delivery
    + + +DeliverySpec + + +
    +(Optional) +

    DeliverySpec contains options controlling the event delivery

    -

    SubscriberSpec +

    ChannelableStatus

    (Appears on: -SubscribableSpec) +Channelable)

    -

    SubscriberSpec defines a single subscriber to a Subscribable.

    -

    At least one of SubscriberURI and ReplyURI must be present

    +

    ChannelableStatus contains the Status of a Channelable object.

    @@ -6195,76 +4938,107 @@ section of the resource.

    + +
    -uid
    +Status
    -k8s.io/apimachinery/pkg/types.UID +knative.dev/pkg/apis/duck/v1.Status
    -(Optional) -

    UID is used to understand the origin of the subscriber.

    +

    +(Members of Status are embedded into this type.) +

    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    -generation
    +AddressStatus
    -int64 +knative.dev/pkg/apis/duck/v1alpha1.AddressStatus
    -(Optional) -

    Generation of the origin of the subscriber with uid:UID.

    +

    +(Members of AddressStatus are embedded into this type.) +

    +

    AddressStatus is the part where the Channelable fulfills the Addressable contract.

    -subscriberUri
    +SubscribableTypeStatus
    -knative.dev/pkg/apis.URL + +SubscribableTypeStatus +
    -(Optional) -

    SubscriberURI is the endpoint for the subscriber

    +

    +(Members of SubscribableTypeStatus are embedded into this type.) +

    +

    Subscribers is populated with the statuses of each of the Channelable’s subscribers.

    -replyUri
    +errorChannel
    -knative.dev/pkg/apis.URL + +Kubernetes core/v1.ObjectReference +
    (Optional) -

    ReplyURI is the endpoint for the reply

    +

    ErrorChannel is set by the channel when it supports native error handling via a channel

    +

    Resource +

    +

    +

    Resource is a skeleton type wrapping all Kubernetes resources. It is typically used to watch +arbitrary other resources (such as any Source or Addressable). This is not a real resource.

    +

    + + + + + + + +
    FieldDescription
    -delivery
    +metadata
    - -DeliverySpec + +Kubernetes meta/v1.ObjectMeta
    -(Optional) -

    DeliverySpec contains options controlling the event delivery

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -

    SubscriberStatus +

    Subscribable

    (Appears on: -SubscribableStatus) +ChannelSpec, +InMemoryChannelSpec, +SubscribableTypeSpec)

    -

    SubscriberStatus defines the status of a single subscriber to a Channel.

    +

    Subscribable is the schema for the subscribable portion of the spec +section of the resource.

    @@ -6276,67 +5050,58 @@ DeliverySpec + +
    -uid
    +subscribers
    -k8s.io/apimachinery/pkg/types.UID + +[]SubscriberSpec +
    -(Optional) -

    UID is used to understand the origin of the subscriber.

    +

    This is the list of subscriptions for this subscribable.

    +

    SubscribableStatus +

    +

    +(Appears on: +SubscribableTypeStatus) +

    +

    +

    SubscribableStatus is the schema for the subscribable’s status portion of the status +section of the resource.

    +

    + + - - + + + + - - - -
    -observedGeneration
    - -int64 - -
    -(Optional) -

    Generation of the origin of the subscriber with uid:UID.

    -
    FieldDescription
    -ready
    +subscribers
    - -Kubernetes core/v1.ConditionStatus + +[]SubscriberStatus
    -

    Status of the subscriber.

    -
    -message
    - -string - -
    -(Optional) -

    A human readable message indicating details of Ready status.

    +

    This is the list of subscription’s statuses for this channel.

    -
    -

    flows.knative.dev/v1beta1

    -

    -

    Package v1beta1 is the v1beta1 version of the API.

    -

    -Resource Types: - -

    Parallel +

    SubscribableType

    -

    Parallel defines conditional branches that will be wired in -series through Channels and Subscriptions.

    +

    SubscribableType is a skeleton type wrapping Subscribable in the manner we expect resource writers +defining compatible resources to embed it. We will typically use this type to deserialize +SubscribableType ObjectReferences and access the Subscription data. This is not a real resource.

    @@ -6356,7 +5121,6 @@ Kubernetes meta/v1.ObjectMeta @@ -6365,84 +5129,128 @@ Refer to the Kubernetes API documentation for the fields of the + +
    -(Optional) Refer to the Kubernetes API documentation for the fields of the metadata field. spec
    - -ParallelSpec + +SubscribableTypeSpec
    -

    Spec defines the desired state of the Parallel.

    +

    SubscribableTypeSpec is the part where Subscribable object is +configured as to be compatible with Subscribable contract.



    + +
    -branches
    +subscribable
    - -[]ParallelBranch + +Subscribable
    -

    Branches is the list of Filter/Subscribers pairs.

    +
    -channelTemplate
    +status
    - -ChannelTemplateSpec + +SubscribableTypeStatus
    -(Optional) -

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD -for the namespace (or cluster, in case there are no defaults for the namespace).

    +

    SubscribableTypeStatus is the part where SubscribableStatus object is +configured as to be compatible with Subscribable contract.

    +

    SubscribableTypeSpec +

    +

    +(Appears on: +ChannelableCombinedSpec, +ChannelableSpec, +SubscribableType) +

    +

    +

    SubscribableTypeSpec shows how we expect folks to embed Subscribable in their Spec field.

    +

    + + + + + + + + +
    FieldDescription
    -reply
    +subscribable
    -knative.dev/pkg/apis/duck/v1.Destination + +Subscribable +
    -(Optional) -

    Reply is a Reference to where the result of a case Subscriber gets sent to -when the case does not have a Reply

    - +

    SubscribableTypeStatus +

    +

    +(Appears on: +ChannelStatus, +ChannelableCombinedStatus, +ChannelableStatus, +InMemoryChannelStatus, +SubscribableType) +

    +

    +

    SubscribableTypeStatus shows how we expect folks to embed Subscribable in their Status field.

    +

    + + + + + + +
    FieldDescription
    -status
    +subscribableStatus
    - -ParallelStatus + +SubscribableStatus
    -(Optional) -

    Status represents the current state of the Parallel. This data may be out of -date.

    -

    ParallelBranch +

    SubscriberSpec

    (Appears on: -ParallelSpec) +Subscribable)

    +

    SubscriberSpec defines a single subscriber to a Subscribable. +Ref is a reference to the Subscription this SubscriberSpec was created for +SubscriberURI is the endpoint for the subscriber +ReplyURI is the endpoint for the reply +At least one of SubscriberURI and ReplyURI must be present

    @@ -6454,108 +5262,84 @@ date.

    - -
    -filter
    +uid
    -knative.dev/pkg/apis/duck/v1.Destination +k8s.io/apimachinery/pkg/types.UID
    (Optional) -

    Filter is the expression guarding the branch

    +

    UID is used to understand the origin of the subscriber.

    -subscriber
    +generation
    -knative.dev/pkg/apis/duck/v1.Destination +int64
    -

    Subscriber receiving the event when the filter passes

    +(Optional) +

    Generation of the origin of the subscriber with uid:UID.

    -reply
    +subscriberURI
    -knative.dev/pkg/apis/duck/v1.Destination +knative.dev/pkg/apis.URL
    (Optional) -

    Reply is a Reference to where the result of Subscriber of this case gets sent to. -If not specified, sent the result to the Parallel Reply

    -

    ParallelBranchStatus -

    -

    -(Appears on: -ParallelStatus) -

    -

    -

    ParallelBranchStatus represents the current state of a Parallel branch

    -

    - - - - - - - -
    FieldDescription
    -filterSubscriptionStatus
    +replyURI
    - -ParallelSubscriptionStatus - +knative.dev/pkg/apis.URL
    -

    FilterSubscriptionStatus corresponds to the filter subscription status.

    +(Optional)
    -filterChannelStatus
    +deadLetterSink
    - -ParallelChannelStatus - +knative.dev/pkg/apis.URL
    -

    FilterChannelStatus corresponds to the filter channel status.

    +(Optional)
    -subscriberSubscriptionStatus
    +delivery
    - -ParallelSubscriptionStatus + +DeliverySpec
    -

    SubscriptionStatus corresponds to the subscriber subscription status.

    +(Optional)
    -

    ParallelChannelStatus +

    SubscriberStatus

    (Appears on: -ParallelBranchStatus, -ParallelStatus) +SubscribableStatus)

    +

    SubscriberStatus defines the status of a single subscriber to a Channel.

    @@ -6567,97 +5351,78 @@ ParallelSubscriptionStatus - - - - - -
    -channel
    - - -Kubernetes core/v1.ObjectReference - - -
    -

    Channel is the reference to the underlying channel.

    -
    -ready
    +uid
    -knative.dev/pkg/apis.Condition +k8s.io/apimachinery/pkg/types.UID
    -

    ReadyCondition indicates whether the Channel is ready or not.

    +(Optional) +

    UID is used to understand the origin of the subscriber.

    -

    ParallelSpec -

    -

    -(Appears on: -Parallel) -

    -

    -

    - - - - - - - -
    FieldDescription
    -branches
    +observedGeneration
    - -[]ParallelBranch - +int64
    -

    Branches is the list of Filter/Subscribers pairs.

    +(Optional) +

    Generation of the origin of the subscriber with uid:UID.

    -channelTemplate
    +ready
    - -ChannelTemplateSpec + +Kubernetes core/v1.ConditionStatus
    (Optional) -

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD -for the namespace (or cluster, in case there are no defaults for the namespace).

    +

    Status of the subscriber.

    -reply
    +message
    -knative.dev/pkg/apis/duck/v1.Destination +string
    (Optional) -

    Reply is a Reference to where the result of a case Subscriber gets sent to -when the case does not have a Reply

    +

    A human readable message indicating details of Ready status.

    -

    ParallelStatus -

    +
    +

    duck.knative.dev/v1beta1

    +

    +

    Package v1beta1 is the v1beta1 version of the API.

    +

    +Resource Types: + +

    BackoffPolicyType +(string alias)

    (Appears on: -Parallel) +DeliverySpec)

    -

    ParallelStatus represents the current state of a Parallel.

    +

    BackoffPolicyType is the type for backoff policies

    +

    +

    Channelable +

    +

    +

    Channelable is a skeleton type wrapping Subscribable and Addressable in the manner we expect resource writers +defining compatible resources to embed it. We will typically use this type to deserialize +Channelable ObjectReferences and access their subscription and address data. This is not a real resource.

    @@ -6669,72 +5434,88 @@ when the case does not have a Reply

    -Status
    +metadata
    -knative.dev/pkg/apis/duck/v1.Status + +Kubernetes meta/v1.ObjectMeta +
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -ingressChannelStatus
    +spec
    - -ParallelChannelStatus + +ChannelableSpec
    -

    IngressChannelStatus corresponds to the ingress channel status.

    +

    Spec is the part where the Channelable fulfills the Subscribable contract.

    +
    +
    + + + + + +
    +SubscribableSpec
    + + +SubscribableSpec + + +
    +

    +(Members of SubscribableSpec are embedded into this type.) +

    -branchStatuses
    +delivery
    - -[]ParallelBranchStatus + +DeliverySpec
    -

    BranchStatuses is an array of corresponding to branch statuses. -Matches the Spec.Branches array in the order.

    +(Optional) +

    DeliverySpec contains options controlling the event delivery

    +
    -AddressStatus
    +status
    -knative.dev/pkg/apis/duck/v1.AddressStatus + +ChannelableStatus +
    -

    -(Members of AddressStatus are embedded into this type.) -

    -

    AddressStatus is the starting point to this Parallel. Sending to this -will target the first subscriber. -It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    -

    ParallelSubscriptionStatus +

    ChannelableSpec

    (Appears on: -ParallelBranchStatus) +ChannelSpec, +Channelable, +InMemoryChannelSpec)

    +

    ChannelableSpec contains Spec of the Channelable object

    @@ -6746,35 +5527,45 @@ It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    -subscription
    +SubscribableSpec
    - -Kubernetes core/v1.ObjectReference + +SubscribableSpec
    -

    Subscription is the reference to the underlying Subscription.

    +

    +(Members of SubscribableSpec are embedded into this type.) +

    -ready
    +delivery
    -knative.dev/pkg/apis.Condition + +DeliverySpec +
    -

    ReadyCondition indicates whether the Subscription is ready or not.

    +(Optional) +

    DeliverySpec contains options controlling the event delivery

    -

    Sequence +

    ChannelableStatus

    -

    Sequence defines a sequence of Subscribers that will be wired in -series through Channels and Subscriptions.

    +(Appears on: +ChannelStatus, +Channelable, +InMemoryChannelStatus) +

    +

    +

    ChannelableStatus contains the Status of a Channelable object.

    @@ -6786,101 +5577,86 @@ series through Channels and Subscriptions.

    -
    -metadata
    +Status
    - -Kubernetes meta/v1.ObjectMeta - +knative.dev/pkg/apis/duck/v1.Status
    -(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    +(Members of Status are embedded into this type.) +

    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    -spec
    - - -SequenceSpec - - -
    -

    Spec defines the desired state of the Sequence.

    -
    -
    - - - - - - - - -
    -steps
    +AddressStatus
    - -[]SequenceStep - +knative.dev/pkg/apis/duck/v1.AddressStatus
    -

    Steps is the list of Destinations (processors / functions) that will be called in the order -provided. Each step has its own delivery options

    +

    +(Members of AddressStatus are embedded into this type.) +

    +

    AddressStatus is the part where the Channelable fulfills the Addressable contract.

    -channelTemplate
    +SubscribableStatus
    - -ChannelTemplateSpec + +SubscribableStatus
    -(Optional) -

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD -for the namespace (or cluster, in case there are no defaults for the namespace).

    -
    -reply
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -(Optional) -

    Reply is a Reference to where the result of the last Subscriber gets sent to.

    -
    +

    +(Members of SubscribableStatus are embedded into this type.) +

    +

    Subscribers is populated with the statuses of each of the Channelable’s subscribers.

    -status
    +deadLetterChannel
    - -SequenceStatus - +knative.dev/pkg/apis/duck/v1.KReference
    (Optional) -

    Status represents the current state of the Sequence. This data may be out of -date.

    +

    DeadLetterChannel is a KReference and is set by the channel when it supports native error handling via a channel +Failed messages are delivered here.

    -

    SequenceChannelStatus +

    DeliverySpec

    (Appears on: -SequenceStatus) +BrokerSpec, +BrokerSpec, +ChannelSpec, +ChannelableCombinedSpec, +ChannelableSpec, +ChannelableSpec, +InMemoryChannelSpec, +SequenceStep, +SequenceStep, +SubscriberSpec, +SubscriberSpec, +SubscriptionSpec, +SubscriptionSpec)

    +

    DeliverySpec contains the delivery options for event senders, +such as channelable and source.

    @@ -6892,97 +5668,95 @@ date.

    - -
    -channel
    +deadLetterSink
    - -Kubernetes core/v1.ObjectReference - +knative.dev/pkg/apis/duck/v1.Destination
    -

    Channel is the reference to the underlying channel.

    +(Optional) +

    DeadLetterSink is the sink receiving event that couldn’t be sent to +a destination.

    -ready
    +retry
    -knative.dev/pkg/apis.Condition +int32
    -

    ReadyCondition indicates whether the Channel is ready or not.

    +(Optional) +

    Retry is the minimum number of retries the sender should attempt when +sending an event before moving it to the dead letter sink.

    -

    SequenceSpec -

    -

    -(Appears on: -Sequence) -

    -

    -

    - - - - - - - - + +
    FieldDescription
    -steps
    +backoffPolicy
    - -[]SequenceStep + +BackoffPolicyType
    -

    Steps is the list of Destinations (processors / functions) that will be called in the order -provided. Each step has its own delivery options

    +(Optional) +

    BackoffPolicy is the retry backoff policy (linear, exponential)

    -channelTemplate
    +backoffDelay
    - -ChannelTemplateSpec - +string
    (Optional) -

    ChannelTemplate specifies which Channel CRD to use. If left unspecified, it is set to the default Channel CRD -for the namespace (or cluster, in case there are no defaults for the namespace).

    +

    BackoffDelay is the delay before retrying. +More information on Duration format: https://www.ietf.org/rfc/rfc3339.txt

    +

    For linear policy, backoff delay is the time interval between retries. +For exponential policy , backoff delay is backoffDelay*2^

    +

    DeliveryStatus +

    +

    +

    DeliveryStatus contains the Status of an object supporting delivery options.

    +

    + + + + + + + +
    FieldDescription
    -reply
    +deadLetterChannel
    -knative.dev/pkg/apis/duck/v1.Destination +knative.dev/pkg/apis/duck/v1.KReference
    (Optional) -

    Reply is a Reference to where the result of the last Subscriber gets sent to.

    +

    DeadLetterChannel is a KReference that is the reference to the native, platform specific channel +where failed events are sent to.

    -

    SequenceStatus +

    Subscribable

    -(Appears on: -Sequence) -

    -

    -

    SequenceStatus represents the current state of a Sequence.

    +

    Subscribable is a skeleton type wrapping Subscribable in the manner we expect resource writers +defining compatible resources to embed it. We will typically use this type to deserialize +SubscribableType ObjectReferences and access the Subscription data. This is not a real resource.

    @@ -6994,73 +5768,75 @@ knative.dev/pkg/apis/duck/v1.Destination - +

    SubscribableSpec is the part where Subscribable object is +configured as to be compatible with Subscribable contract.

    +
    +
    +
    -Status
    +metadata
    -knative.dev/pkg/apis/duck/v1.Status + +Kubernetes meta/v1.ObjectMeta +
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -subscriptionStatuses
    +spec
    - -[]SequenceSubscriptionStatus + +SubscribableSpec
    -

    SubscriptionStatuses is an array of corresponding Subscription statuses. -Matches the Spec.Steps array in the order.

    -
    + +
    -channelStatuses
    +subscribers
    - -[]SequenceChannelStatus + +[]SubscriberSpec
    -

    ChannelStatuses is an array of corresponding Channel statuses. -Matches the Spec.Steps array in the order.

    +

    This is the list of subscriptions for this subscribable.

    +
    -AddressStatus
    +status
    -knative.dev/pkg/apis/duck/v1.AddressStatus + +SubscribableStatus + -

    -(Members of AddressStatus are embedded into this type.) -

    -

    AddressStatus is the starting point to this Sequence. Sending to this -will target the first subscriber. -It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    +

    SubscribableStatus is the part where SubscribableStatus object is +configured as to be compatible with Subscribable contract.

    -

    SequenceStep +

    SubscribableSpec

    (Appears on: -SequenceSpec) +ChannelableCombinedSpec, +ChannelableSpec, +Subscribable)

    +

    SubscribableSpec shows how we expect folks to embed Subscribable in their Spec field.

    @@ -7072,42 +5848,30 @@ It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    - - - -
    -Destination
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -

    -(Members of Destination are embedded into this type.) -

    -

    Subscriber receiving the step event

    -
    -delivery
    +subscribers
    - -DeliverySpec + +[]SubscriberSpec
    -(Optional) -

    Delivery is the delivery specification for events to the subscriber -This includes things like retries, DLQ, etc.

    +

    This is the list of subscriptions for this subscribable.

    -

    SequenceSubscriptionStatus +

    SubscribableStatus

    (Appears on: -SequenceStatus) +ChannelableCombinedStatus, +ChannelableStatus, +Subscribable)

    +

    SubscribableStatus is the schema for the subscribable’s status portion of the status +section of the resource.

    @@ -7119,47 +5883,28 @@ This includes things like retries, DLQ, etc.

    - - - -
    -subscription
    +subscribers
    - -Kubernetes core/v1.ObjectReference + +[]SubscriberStatus
    -

    Subscription is the reference to the underlying Subscription.

    -
    -ready
    - -knative.dev/pkg/apis.Condition - -
    -

    ReadyCondition indicates whether the Subscription is ready or not.

    +

    This is the list of subscription’s statuses for this channel.

    -
    -

    messaging.knative.dev/v1alpha1

    +

    SubscriberSpec +

    -

    Package v1alpha1 is the v1alpha1 version of the API.

    +(Appears on: +SubscribableSpec)

    -Resource Types: - -

    Channel -

    -

    Channel represents a generic Channel. It is normally used when we want a Channel, but don’t need a specific Channel implementation.

    +

    SubscriberSpec defines a single subscriber to a Subscribable.

    +

    At least one of SubscriberURI and ReplyURI must be present

    @@ -7171,114 +5916,157 @@ Resource Types: +uid
    + +k8s.io/apimachinery/pkg/types.UID + + + - + +
    -apiVersion
    -string
    - -messaging.knative.dev/v1alpha1 - +(Optional) +

    UID is used to understand the origin of the subscriber.

    -kind
    -string +generation
    + +int64 + +
    +(Optional) +

    Generation of the origin of the subscriber with uid:UID.

    Channel
    -metadata
    +subscriberUri
    - -Kubernetes meta/v1.ObjectMeta - +knative.dev/pkg/apis.URL
    (Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    SubscriberURI is the endpoint for the subscriber

    -spec
    +replyUri
    - -ChannelSpec - +knative.dev/pkg/apis.URL
    -

    Spec defines the desired state of the Channel.

    -
    -
    - +(Optional) +

    ReplyURI is the endpoint for the reply

    + + + +
    -channelTemplate
    +delivery
    - -ChannelTemplateSpec + +DeliverySpec
    -

    ChannelTemplate specifies which Channel CRD to use to create the CRD Channel backing this Channel. -This is immutable after creation. Normally this is set by the Channel defaulter, not directly by the user.

    +(Optional) +

    DeliverySpec contains options controlling the event delivery

    +

    SubscriberStatus +

    +

    +(Appears on: +SubscribableStatus) +

    +

    +

    SubscriberStatus defines the status of a single subscriber to a Channel.

    +

    + + + + + + + + -
    FieldDescription
    -subscribable
    +uid
    - -Subscribable - +k8s.io/apimachinery/pkg/types.UID
    -

    Channel conforms to Duck type Subscribable.

    +(Optional) +

    UID is used to understand the origin of the subscriber.

    -delivery
    +observedGeneration
    - -DeliverySpec - +int64
    -

    Delivery options.

    +(Optional) +

    Generation of the origin of the subscriber with uid:UID.

    +
    +ready
    + + +Kubernetes core/v1.ConditionStatus + + +
    +

    Status of the subscriber.

    -status
    +message
    - -ChannelStatus - +string
    (Optional) -

    Status represents the current state of the Channel. This data may be out of -date.

    +

    A human readable message indicating details of Ready status.

    -

    InMemoryChannel +
    +

    eventing.knative.dev/v1alpha1

    +

    +

    Package v1alpha1 is the v1alpha1 version of the API.

    +

    +Resource Types: + +

    Broker

    -

    InMemoryChannel is a resource representing an in memory channel

    +

    Broker collects a pool of events that are consumable using Triggers. Brokers +provide a well-known endpoint for event delivery that senders can use with +minimal knowledge of the event routing strategy. Receivers use Triggers to +request delivery of events from a Broker’s pool to a specific URL or +Addressable endpoint.

    @@ -7294,7 +6082,7 @@ date.

    string @@ -7303,7 +6091,7 @@ messaging.knative.dev/v1alpha1 kind
    string - + +
    -messaging.knative.dev/v1alpha1 +eventing.knative.dev/v1alpha1
    InMemoryChannelBroker
    @@ -7324,27 +6112,47 @@ Refer to the Kubernetes API documentation for the fields of the spec
    - -InMemoryChannelSpec + +BrokerSpec + + +
    +

    Spec defines the desired state of the Broker.

    +
    +
    + + + -
    +channelTemplateSpec
    + + +ChannelTemplateSpec
    -

    Spec defines the desired state of the Channel.

    -
    -
    - + + @@ -7357,7 +6165,9 @@ DeliverySpec
    +(Optional) +

    ChannelTemplate specifies which Channel CRD to use to create all the Channels used internally by the +Broker. If left unspecified, it is set to the default Channel CRD for the namespace (or cluster, in case there +are no defaults for the namespace). +Deprecated: See spec.config to configure aditional broker options. +Unless class is for channel based broker implementation.

    +
    -subscribable
    +config
    - -Subscribable - +knative.dev/pkg/apis/duck/v1.KReference
    -

    Channel conforms to Duck type Subscribable.

    +(Optional) +

    Config is a KReference to the configuration that specifies +configuration options for this Broker. For example, this could be +a pointer to a ConfigMap. +NOTE: this is for backwards compatibility with v1alpha1 <-> v1beta1 conversions.

    -

    For round tripping (v1beta1 <-> v1alpha1>

    +(Optional) +

    Delivery is the delivery specification to be used internally by the broker to +create subscriptions.

    @@ -7367,24 +6177,22 @@ DeliverySpec
    status
    - -InMemoryChannelStatus + +BrokerStatus
    (Optional) -

    Status represents the current state of the Channel. This data may be out of +

    Status represents the current state of the Broker. This data may be out of date.

    -

    Subscription +

    EventType

    -

    Subscription routes events received on a Channel to a DNS name and -corresponds to the subscriptions.channels.knative.dev CRD.

    @@ -7400,7 +6208,7 @@ corresponds to the subscriptions.channels.knative.dev CRD.

    string @@ -7409,7 +6217,7 @@ messaging.knative.dev/v1alpha1 kind
    string - + @@ -7429,88 +6238,75 @@ Refer to the Kubernetes API documentation for the fields of the
    -messaging.knative.dev/v1alpha1 +eventing.knative.dev/v1alpha1
    SubscriptionEventType
    @@ -7421,6 +6229,7 @@ Kubernetes meta/v1.ObjectMeta +(Optional) Refer to the Kubernetes API documentation for the fields of the metadata field. spec
    - -SubscriptionSpec + +EventTypeSpec
    +

    Spec defines the desired state of the EventType.



    -generation
    +type
    -int64 +string
    -(Optional) -

    TODO By enabling the status subresource metadata.generation should increment -thus making this property obsolete.

    -

    We should be able to drop this property with a CRD conversion webhook -in the future

    +

    Type represents the CloudEvents type. It is authoritative.

    -channel
    +source
    - -Kubernetes core/v1.ObjectReference - +string
    -

    This field is immutable. We have no good answer on what happens to -the events that are currently in the channel being consumed from -and what the semantics there should be. For now, you can always -delete the Subscription and recreate it to point to a different -channel, giving the user more control over what semantics should -be used (drain the channel first, possibly have events dropped, -etc.)

    +(Optional) +

    Source is a URI, it represents the CloudEvents source.

    -subscriber
    +schema
    -knative.dev/pkg/apis/duck/v1.Destination +string
    (Optional) -

    Subscriber is reference to (optional) function for processing events. -Events from the Channel will be delivered here and replies are -sent to a Destination as specified by the Reply.

    +

    Schema is a URI, it represents the CloudEvents schemaurl extension attribute. +It may be a JSON schema, a protobuf schema, etc. It is optional.

    -reply
    +broker
    -knative.dev/pkg/apis/duck/v1.Destination +string
    (Optional) -

    Reply specifies (optionally) how to handle events returned from -the Subscriber target.

    +

    TODO remove https://github.com/knative/eventing/issues/2750 +Broker refers to the Broker that can provide the EventType.

    -delivery
    +description
    - -DeliverySpec - +string
    (Optional) -

    Delivery configuration

    +

    Description is an optional field used to describe the EventType, in any meaningful way.

    @@ -7520,25 +6316,25 @@ DeliverySpec
    status
    - -SubscriptionStatus + +EventTypeStatus
    +(Optional) +

    Status represents the current state of the EventType. +This data may be out of date. +TODO might be removed https://github.com/knative/eventing/issues/2750

    -

    ChannelSpec +

    Trigger

    -(Appears on: -Channel) -

    -

    -

    ChannelSpec defines which subscribers have expressed interest in receiving events from this Channel. -It also defines the ChannelTemplate to use in order to create the CRD Channel backing this Channel.

    +

    Trigger represents a request to have events delivered to a consumer from a +Broker’s event pool.

    @@ -7550,137 +6346,116 @@ It also defines the ChannelTemplate to use in order to create the CRD Channel ba + + + + - - -
    -channelTemplate
    - - -ChannelTemplateSpec - - +apiVersion
    +string
    + +eventing.knative.dev/v1alpha1 +
    -

    ChannelTemplate specifies which Channel CRD to use to create the CRD Channel backing this Channel. -This is immutable after creation. Normally this is set by the Channel defaulter, not directly by the user.

    +kind
    +string
    Trigger
    -subscribable
    +metadata
    - -Subscribable + +Kubernetes meta/v1.ObjectMeta
    -

    Channel conforms to Duck type Subscribable.

    +(Optional) +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -delivery
    +spec
    - -DeliverySpec + +TriggerSpec
    -

    Delivery options.

    -
    -

    ChannelStatus -

    -

    -(Appears on: -Channel) -

    -

    -

    ChannelStatus represents the current state of a Channel.

    -

    +

    Spec defines the desired state of the Trigger.

    +
    +
    - - - - - - - + +
    FieldDescription
    -Status
    +broker
    -knative.dev/pkg/apis/duck/v1.Status +string
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    +

    Broker is the broker that this trigger receives events from. If not specified, will default +to ‘default’.

    -AddressStatus
    +filter
    -knative.dev/pkg/apis/duck/v1alpha1.AddressStatus + +TriggerFilter +
    -

    -(Members of AddressStatus are embedded into this type.) -

    -

    Channel is Addressable. It currently exposes the endpoint as a -fully-qualified DNS name which will distribute traffic over the -provided targets from inside the cluster.

    -

    It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    +(Optional) +

    Filter is the filter to apply against all events from the Broker. Only events that pass this +filter will be sent to the Subscriber. If not specified, will default to allowing all events.

    -SubscribableTypeStatus
    +subscriber
    - -SubscribableTypeStatus - +knative.dev/pkg/apis/duck/v1.Destination
    -

    -(Members of SubscribableTypeStatus are embedded into this type.) -

    -

    Subscribers is populated with the statuses of each of the Channelable’s subscribers.

    +

    Subscriber is the addressable that receives events from the Broker that pass the Filter. It +is required.

    +
    -channel
    +status
    - -Kubernetes core/v1.ObjectReference + +TriggerStatus
    -

    Channel is an ObjectReference to the Channel CRD backing this Channel.

    +(Optional) +

    Status represents the current state of the Trigger. This data may be out of +date.

    -

    InMemoryChannelSpec +

    BrokerSpec

    (Appears on: -InMemoryChannel) +Broker)

    -

    InMemoryChannelSpec defines which subscribers have expressed interest in -receiving events from this InMemoryChannel. -arguments for a Channel.

    @@ -7692,15 +6467,35 @@ arguments for a Channel.

    + + + + @@ -7713,19 +6508,21 @@ DeliverySpec
    -subscribable
    +channelTemplateSpec
    - -Subscribable + +ChannelTemplateSpec
    -

    Channel conforms to Duck type Subscribable.

    +(Optional) +

    ChannelTemplate specifies which Channel CRD to use to create all the Channels used internally by the +Broker. If left unspecified, it is set to the default Channel CRD for the namespace (or cluster, in case there +are no defaults for the namespace). +Deprecated: See spec.config to configure aditional broker options. +Unless class is for channel based broker implementation.

    +
    +config
    + +knative.dev/pkg/apis/duck/v1.KReference + +
    +(Optional) +

    Config is a KReference to the configuration that specifies +configuration options for this Broker. For example, this could be +a pointer to a ConfigMap. +NOTE: this is for backwards compatibility with v1alpha1 <-> v1beta1 conversions.

    -

    For round tripping (v1beta1 <-> v1alpha1>

    +(Optional) +

    Delivery is the delivery specification to be used internally by the broker to +create subscriptions.

    -

    InMemoryChannelStatus +

    BrokerStatus

    (Appears on: -InMemoryChannel) +Broker)

    -

    ChannelStatus represents the current state of a Channel.

    +

    BrokerStatus represents the current state of a Broker.

    @@ -7753,58 +6550,40 @@ knative.dev/pkg/apis/duck/v1.Status
    -AddressStatus
    +address
    -knative.dev/pkg/apis/duck/v1alpha1.AddressStatus +knative.dev/pkg/apis/duck/v1alpha1.Addressable
    -

    -(Members of AddressStatus are embedded into this type.) -

    -

    InMemoryChannel is Addressable. It currently exposes the endpoint as a +

    Broker is Addressable. It currently exposes the endpoint as a fully-qualified DNS name which will distribute traffic over the provided targets from inside the cluster.

    -

    It generally has the form {channel}.{namespace}.svc.{cluster domain name}

    +

    It generally has the form {broker}-router.{namespace}.svc.{cluster domain name}

    -SubscribableTypeStatus
    +triggerChannel
    - -SubscribableTypeStatus + +Kubernetes core/v1.ObjectReference
    -

    -(Members of SubscribableTypeStatus are embedded into this type.) -

    -

    Subscribers is populated with the statuses of each of the Channelable’s subscribers.

    +

    TriggerChannel is an objectref to the object for the TriggerChannel

    -

    SubscriptionSpec +

    EventTypeSpec

    (Appears on: -Subscription) +EventType)

    -

    SubscriptionSpec specifies the Channel for incoming events, a Subscriber target -for processing those events and where to put the result of the processing. Only -From (where the events are coming from) is always required. You can optionally -only Process the events (results in no output events) by leaving out the Result. -You can also perform an identity transformation on the incoming events by leaving -out the Subscriber and only specifying Result.

    -

    The following are all valid specifications: -channel –[subscriber]–> reply -Sink, no outgoing events: -channel – subscriber -no-op function (identity transformation): -channel –> reply

    @@ -7816,89 +6595,75 @@ channel –> reply

    -generation
    +type
    -int64 +string
    -(Optional) -

    TODO By enabling the status subresource metadata.generation should increment -thus making this property obsolete.

    -

    We should be able to drop this property with a CRD conversion webhook -in the future

    +

    Type represents the CloudEvents type. It is authoritative.

    -channel
    +source
    - -Kubernetes core/v1.ObjectReference - +string
    -

    This field is immutable. We have no good answer on what happens to -the events that are currently in the channel being consumed from -and what the semantics there should be. For now, you can always -delete the Subscription and recreate it to point to a different -channel, giving the user more control over what semantics should -be used (drain the channel first, possibly have events dropped, -etc.)

    +(Optional) +

    Source is a URI, it represents the CloudEvents source.

    -subscriber
    +schema
    -knative.dev/pkg/apis/duck/v1.Destination +string
    (Optional) -

    Subscriber is reference to (optional) function for processing events. -Events from the Channel will be delivered here and replies are -sent to a Destination as specified by the Reply.

    +

    Schema is a URI, it represents the CloudEvents schemaurl extension attribute. +It may be a JSON schema, a protobuf schema, etc. It is optional.

    -reply
    +broker
    -knative.dev/pkg/apis/duck/v1.Destination +string
    (Optional) -

    Reply specifies (optionally) how to handle events returned from -the Subscriber target.

    +

    TODO remove https://github.com/knative/eventing/issues/2750 +Broker refers to the Broker that can provide the EventType.

    -delivery
    +description
    - -DeliverySpec - +string
    (Optional) -

    Delivery configuration

    +

    Description is an optional field used to describe the EventType, in any meaningful way.

    -

    SubscriptionStatus +

    EventTypeStatus

    (Appears on: -Subscription) +EventType)

    -

    SubscriptionStatus (computed) for a subscription

    +

    EventTypeStatus represents the current state of a EventType.

    @@ -7924,30 +6689,81 @@ knative.dev/pkg/apis/duck/v1.Status * Conditions - the latest available observations of a resource’s current state.

    + +
    +

    TriggerFilter +

    +

    +(Appears on: +TriggerSpec) +

    +

    +

    + + + + + + + + + + + +
    FieldDescription
    -physicalSubscription
    +sourceAndType
    - -SubscriptionStatusPhysicalSubscription + +TriggerFilterSourceAndType
    -

    PhysicalSubscription is the fully resolved values that this Subscription represents.

    +(Optional) +

    DeprecatedSourceAndType filters events based on exact matches on the +CloudEvents type and source attributes. This field has been replaced by the +Attributes field.

    +
    +attributes
    + + +TriggerFilterAttributes + + +
    +(Optional) +

    Attributes filters events by exact match on event context attributes. +Each key in the map is compared with the equivalent key in the event +context. An event passes the filter if all values are equal to the +specified values.

    +

    Nested context attributes are not supported as keys. Only string values are supported.

    -

    SubscriptionStatusPhysicalSubscription +

    TriggerFilterAttributes +(map[string]string alias)

    +

    +(Appears on: +TriggerFilter) +

    +

    +

    TriggerFilterAttributes is a map of context attribute names to values for +filtering by equality. Only exact matches will pass the filter. You can use the value “ +to indicate all strings match.

    +

    +

    TriggerFilterSourceAndType

    (Appears on: -SubscriptionStatus) +TriggerFilter)

    -

    SubscriptionStatusPhysicalSubscription represents the fully resolved values for this -Subscription.

    +

    TriggerFilterSourceAndType filters events based on exact matches on the cloud event’s type and +source attributes. Only exact matches will pass the filter. Either or both type and source can +use the value “ to indicate all strings match.

    @@ -7959,56 +6775,33 @@ Subscription.

    - - - -
    -subscriberURI
    - -knative.dev/pkg/apis.URL - -
    -

    SubscriberURI is the fully resolved URI for spec.subscriber.

    -
    -replyURI
    +type
    -knative.dev/pkg/apis.URL +string
    -

    ReplyURI is the fully resolved URI for the spec.reply.

    -deadLetterSinkURI
    +source
    -knative.dev/pkg/apis.URL +string
    -

    ReplyURI is the fully resolved URI for the spec.delivery.deadLetterSink.

    -
    -

    messaging.knative.dev/v1beta1

    +

    TriggerSpec +

    -

    Package v1beta1 is the v1beta1 version of the API.

    +(Appears on: +Trigger)

    -Resource Types: - -

    Channel -

    -

    Channel represents a generic Channel. It is normally used when we want a Channel, but don’t need a specific Channel implementation.

    @@ -8020,104 +6813,112 @@ Resource Types: - - - - + + +
    -apiVersion
    -string
    - -messaging.knative.dev/v1beta1 - +broker
    + +string +
    -kind
    -string +

    Broker is the broker that this trigger receives events from. If not specified, will default +to ‘default’.

    Channel
    -metadata
    +filter
    - -Kubernetes meta/v1.ObjectMeta + +TriggerFilter
    (Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    Filter is the filter to apply against all events from the Broker. Only events that pass this +filter will be sent to the Subscriber. If not specified, will default to allowing all events.

    -spec
    +subscriber
    - -ChannelSpec - +knative.dev/pkg/apis/duck/v1.Destination
    -

    Spec defines the desired state of the Channel.

    -
    -
    +

    Subscriber is the addressable that receives events from the Broker that pass the Filter. It +is required.

    +
    +

    TriggerStatus +

    +

    +(Appears on: +Trigger) +

    +

    +

    TriggerStatus represents the current state of a Trigger.

    +

    + - - + + + + - -
    -channelTemplate
    - - -ChannelTemplateSpec - - -
    -

    ChannelTemplate specifies which Channel CRD to use to create the CRD Channel backing this Channel. -This is immutable after creation. Normally this is set by the Channel defaulter, not directly by the user.

    -
    FieldDescription
    -ChannelableSpec
    +Status
    - -ChannelableSpec - +knative.dev/pkg/apis/duck/v1.Status

    -(Members of ChannelableSpec are embedded into this type.) +(Members of Status are embedded into this type.)

    -

    Channel conforms to ChannelableSpec

    -
    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    -status
    +subscriberURI
    - -ChannelStatus - +knative.dev/pkg/apis.URL -(Optional) -

    Status represents the current state of the Channel. This data may be out of -date.

    +

    SubscriberURI is the resolved URI of the receiver for this Trigger.

    -

    InMemoryChannel +
    +

    eventing.knative.dev/v1beta1

    +

    +

    Package v1beta1 is the v1beta1 version of the API.

    +

    +Resource Types: + +

    Broker

    -

    InMemoryChannel is a resource representing an in memory channel

    +

    Broker collects a pool of events that are consumable using Triggers. Brokers +provide a well-known endpoint for event delivery that senders can use with +minimal knowledge of the event routing strategy. Receivers use Triggers to +request delivery of events from a Broker’s pool to a specific URL or +Addressable endpoint.

    @@ -8133,7 +6934,7 @@ date.

    string @@ -8142,7 +6943,7 @@ messaging.knative.dev/v1beta1 kind
    string - +
    -messaging.knative.dev/v1beta1 +eventing.knative.dev/v1beta1
    InMemoryChannelBroker
    @@ -8163,30 +6964,43 @@ Refer to the Kubernetes API documentation for the fields of the spec
    - -InMemoryChannelSpec + +BrokerSpec
    -

    Spec defines the desired state of the Channel.

    +

    Spec defines the desired state of the Broker.



    + + + +
    -ChannelableSpec
    +config
    - -ChannelableSpec +knative.dev/pkg/apis/duck/v1.KReference + +
    +(Optional) +

    Config is a KReference to the configuration that specifies +configuration options for this Broker. For example, this could be +a pointer to a ConfigMap.

    +
    +delivery
    + + +DeliverySpec
    -

    -(Members of ChannelableSpec are embedded into this type.) -

    -

    Channel conforms to Duck type Channelable.

    +(Optional) +

    Delivery is the delivery specification for Events within the Broker mesh. +This includes things like retries, DLQ, etc.

    @@ -8196,24 +7010,22 @@ ChannelableSpec
    status
    - -InMemoryChannelStatus + +BrokerStatus
    (Optional) -

    Status represents the current state of the Channel. This data may be out of +

    Status represents the current state of the Broker. This data may be out of date.

    -

    Subscription +

    EventType

    -

    Subscription routes events received on a Channel to a DNS name and -corresponds to the subscriptions.channels.knative.dev CRD.

    @@ -8229,7 +7041,7 @@ corresponds to the subscriptions.channels.knative.dev CRD.

    string @@ -8238,7 +7050,7 @@ messaging.knative.dev/v1beta1 kind
    string - + @@ -8258,248 +7071,117 @@ Refer to the Kubernetes API documentation for the fields of the - - - - - - -
    -messaging.knative.dev/v1beta1 +eventing.knative.dev/v1beta1
    SubscriptionEventType
    @@ -8250,6 +7062,7 @@ Kubernetes meta/v1.ObjectMeta +(Optional) Refer to the Kubernetes API documentation for the fields of the metadata field. spec
    - -SubscriptionSpec + +EventTypeSpec
    +

    Spec defines the desired state of the EventType.



    - -
    -channel
    +type
    - -Kubernetes core/v1.ObjectReference - +string
    -

    Reference to a channel that will be used to create the subscription -You can specify only the following fields of the ObjectReference: -- Kind -- APIVersion -- Name -The resource pointed by this ObjectReference must meet the -contract to the ChannelableSpec duck type. If the resource does not -meet this contract it will be reflected in the Subscription’s status.

    -

    This field is immutable. We have no good answer on what happens to -the events that are currently in the channel being consumed from -and what the semantics there should be. For now, you can always -delete the Subscription and recreate it to point to a different -channel, giving the user more control over what semantics should -be used (drain the channel first, possibly have events dropped, -etc.)

    +

    Type represents the CloudEvents type. It is authoritative.

    -subscriber
    +source
    -knative.dev/pkg/apis/duck/v1.Destination +knative.dev/pkg/apis.URL
    (Optional) -

    Subscriber is reference to (optional) function for processing events. -Events from the Channel will be delivered here and replies are -sent to a Destination as specified by the Reply.

    +

    Source is a URI, it represents the CloudEvents source.

    -reply
    +schema
    -knative.dev/pkg/apis/duck/v1.Destination +knative.dev/pkg/apis.URL
    (Optional) -

    Reply specifies (optionally) how to handle events returned from -the Subscriber target.

    +

    Schema is a URI, it represents the CloudEvents schemaurl extension attribute. +It may be a JSON schema, a protobuf schema, etc. It is optional.

    -delivery
    +schemaData
    - -DeliverySpec - +string
    (Optional) -

    Delivery configuration

    -
    -
    -status
    - - -SubscriptionStatus - - -
    -
    -

    ChannelDefaulter -

    -

    -

    ChannelDefaulter sets the default Channel CRD and Arguments on Channels that do not -specify any implementation.

    -

    -

    ChannelSpec -

    -

    -(Appears on: -Channel) -

    -

    -

    ChannelSpec defines which subscribers have expressed interest in receiving events from this Channel. -It also defines the ChannelTemplate to use in order to create the CRD Channel backing this Channel.

    -

    - - - - - - - - - - - - - - - - - -
    FieldDescription
    -channelTemplate
    - - -ChannelTemplateSpec - - -
    -

    ChannelTemplate specifies which Channel CRD to use to create the CRD Channel backing this Channel. -This is immutable after creation. Normally this is set by the Channel defaulter, not directly by the user.

    -
    -ChannelableSpec
    - - -ChannelableSpec - - -
    -

    -(Members of ChannelableSpec are embedded into this type.) -

    -

    Channel conforms to ChannelableSpec

    +

    SchemaData allows the CloudEvents schema to be stored directly in the +EventType. Content is dependent on the encoding. Optional attribute. +The contents are not validated or manipulated by the system.

    -

    ChannelStatus -

    -

    -(Appears on: -Channel) -

    -

    -

    ChannelStatus represents the current state of a Channel.

    -

    - - - - - - - - + -
    FieldDescription
    -ChannelableStatus
    +broker
    - -ChannelableStatus - +string
    -

    -(Members of ChannelableStatus are embedded into this type.) -

    -

    Channel conforms to ChannelableStatus

    +(Optional) +

    TODO remove https://github.com/knative/eventing/issues/2750 +Broker refers to the Broker that can provide the EventType.

    -channel
    +description
    -knative.dev/pkg/apis/duck/v1.KReference +string
    -

    Channel is an KReference to the Channel CRD backing this Channel.

    +(Optional) +

    Description is an optional field used to describe the EventType, in any meaningful way.

    -

    ChannelTemplateSpec -

    -

    -(Appears on: -BrokerSpec, -ChannelSpec, -ChannelSpec, -ParallelSpec, -ParallelSpec, -SequenceSpec, -SequenceSpec) -

    -

    -

    - - - - - + - -
    FieldDescription
    -spec
    +status
    -k8s.io/apimachinery/pkg/runtime.RawExtension + +EventTypeStatus +
    (Optional) -

    Spec defines the Spec to use for each channel created. Passed -in verbatim to the Channel CRD as Spec section.

    -
    -
    - -
    +

    Status represents the current state of the EventType. +This data may be out of date. +TODO might be removed https://github.com/knative/eventing/issues/2750

    -

    ChannelTemplateSpecInternal +

    Trigger

    -

    ChannelTemplateSpecInternal is an internal only version that includes ObjectMeta so that -we can easily create new Channels off of it.

    +

    Trigger represents a request to have events delivered to a consumer from a +Broker’s event pool.

    @@ -8511,6 +7193,23 @@ we can easily create new Channels off of it.

    + + + + + + + + + + + +
    +apiVersion
    +string
    + +eventing.knative.dev/v1beta1 + +
    +kind
    +string +
    Trigger
    metadata
    @@ -8528,31 +7227,82 @@ Refer to the Kubernetes API documentation for the fields of the
    spec
    -k8s.io/apimachinery/pkg/runtime.RawExtension + +TriggerSpec +
    -(Optional) -

    Spec defines the Spec to use for each channel created. Passed -in verbatim to the Channel CRD as Spec section.

    +

    Spec defines the desired state of the Trigger.



    + + + + + + + + + + + +
    +broker
    + +string + +
    +

    Broker is the broker that this trigger receives events from. If not specified, will default +to ‘default’.

    +
    +filter
    + + +TriggerFilter + + +
    +(Optional) +

    Filter is the filter to apply against all events from the Broker. Only events that pass this +filter will be sent to the Subscriber. If not specified, will default to allowing all events.

    +
    +subscriber
    + +knative.dev/pkg/apis/duck/v1.Destination + +
    +

    Subscriber is the addressable that receives events from the Broker that pass the Filter. It +is required.

    +
    +status
    + + +TriggerStatus + + +
    +(Optional) +

    Status represents the current state of the Trigger. This data may be out of +date.

    +
    -

    InMemoryChannelSpec +

    BrokerSpec

    (Appears on: -InMemoryChannel) +Broker)

    -

    InMemoryChannelSpec defines which subscribers have expressed interest in -receiving events from this InMemoryChannel. -arguments for a Channel.

    @@ -8564,30 +7314,43 @@ arguments for a Channel.

    + + + +
    -ChannelableSpec
    +config
    - -ChannelableSpec +knative.dev/pkg/apis/duck/v1.KReference + +
    +(Optional) +

    Config is a KReference to the configuration that specifies +configuration options for this Broker. For example, this could be +a pointer to a ConfigMap.

    +
    +delivery
    + + +DeliverySpec
    -

    -(Members of ChannelableSpec are embedded into this type.) -

    -

    Channel conforms to Duck type Channelable.

    +(Optional) +

    Delivery is the delivery specification for Events within the Broker mesh. +This includes things like retries, DLQ, etc.

    -

    InMemoryChannelStatus +

    BrokerStatus

    (Appears on: -InMemoryChannel) +Broker)

    -

    ChannelStatus represents the current state of a Channel.

    +

    BrokerStatus represents the current state of a Broker.

    @@ -8599,41 +7362,41 @@ ChannelableSpec + + + +
    -ChannelableStatus
    +Status
    - -ChannelableStatus - +knative.dev/pkg/apis/duck/v1.Status

    -(Members of ChannelableStatus are embedded into this type.) +(Members of Status are embedded into this type.)

    -

    Channel conforms to Duck type Channelable.

    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    +
    +address
    + +knative.dev/pkg/apis/duck/v1.Addressable + +
    +

    Broker is Addressable. It exposes the endpoint as an URI to get events +delivered into the Broker mesh.

    -

    SubscriptionSpec +

    EventTypeSpec

    (Appears on: -Subscription) +EventType)

    -

    SubscriptionSpec specifies the Channel for incoming events, a Subscriber target -for processing those events and where to put the result of the processing. Only -From (where the events are coming from) is always required. You can optionally -only Process the events (results in no output events) by leaving out the Result. -You can also perform an identity transformation on the incoming events by leaving -out the Subscriber and only specifying Result.

    -

    The following are all valid specifications: -channel –[subscriber]–> reply -Sink, no outgoing events: -channel – subscriber -no-op function (identity transformation): -channel –> reply

    @@ -8645,82 +7408,89 @@ channel –> reply

    + + + + + + + +
    -channel
    +type
    - -Kubernetes core/v1.ObjectReference - +string
    -

    Reference to a channel that will be used to create the subscription -You can specify only the following fields of the ObjectReference: -- Kind -- APIVersion -- Name -The resource pointed by this ObjectReference must meet the -contract to the ChannelableSpec duck type. If the resource does not -meet this contract it will be reflected in the Subscription’s status.

    -

    This field is immutable. We have no good answer on what happens to -the events that are currently in the channel being consumed from -and what the semantics there should be. For now, you can always -delete the Subscription and recreate it to point to a different -channel, giving the user more control over what semantics should -be used (drain the channel first, possibly have events dropped, -etc.)

    +

    Type represents the CloudEvents type. It is authoritative.

    +
    +source
    + +knative.dev/pkg/apis.URL + +
    +(Optional) +

    Source is a URI, it represents the CloudEvents source.

    +
    +schema
    + +knative.dev/pkg/apis.URL + +
    +(Optional) +

    Schema is a URI, it represents the CloudEvents schemaurl extension attribute. +It may be a JSON schema, a protobuf schema, etc. It is optional.

    -subscriber
    +schemaData
    -knative.dev/pkg/apis/duck/v1.Destination +string
    (Optional) -

    Subscriber is reference to (optional) function for processing events. -Events from the Channel will be delivered here and replies are -sent to a Destination as specified by the Reply.

    +

    SchemaData allows the CloudEvents schema to be stored directly in the +EventType. Content is dependent on the encoding. Optional attribute. +The contents are not validated or manipulated by the system.

    -reply
    +broker
    -knative.dev/pkg/apis/duck/v1.Destination +string
    (Optional) -

    Reply specifies (optionally) how to handle events returned from -the Subscriber target.

    +

    TODO remove https://github.com/knative/eventing/issues/2750 +Broker refers to the Broker that can provide the EventType.

    -delivery
    +description
    - -DeliverySpec - +string
    (Optional) -

    Delivery configuration

    +

    Description is an optional field used to describe the EventType, in any meaningful way.

    -

    SubscriptionStatus +

    EventTypeStatus

    (Appears on: -Subscription) +EventType)

    -

    SubscriptionStatus (computed) for a subscription

    +

    EventTypeStatus represents the current state of a EventType.

    @@ -8746,30 +7516,62 @@ knative.dev/pkg/apis/duck/v1.Status * Conditions - the latest available observations of a resource’s current state.

    + +
    +

    TriggerFilter +

    +

    +(Appears on: +TriggerSpec) +

    +

    +

    + + + + + + + +
    FieldDescription
    -physicalSubscription
    +attributes
    - -SubscriptionStatusPhysicalSubscription + +TriggerFilterAttributes
    -

    PhysicalSubscription is the fully resolved values that this Subscription represents.

    +(Optional) +

    Attributes filters events by exact match on event context attributes. +Each key in the map is compared with the equivalent key in the event +context. An event passes the filter if all values are equal to the +specified values.

    +

    Nested context attributes are not supported as keys. Only string values are supported.

    -

    SubscriptionStatusPhysicalSubscription +

    TriggerFilterAttributes +(map[string]string alias)

    +

    +(Appears on: +TriggerFilter) +

    +

    +

    TriggerFilterAttributes is a map of context attribute names to values for +filtering by equality. Only exact matches will pass the filter. You can use the value “ +to indicate all strings match.

    +

    +

    TriggerSpec

    (Appears on: -SubscriptionStatus) +Trigger)

    -

    SubscriptionStatusPhysicalSubscription represents the fully resolved values for this -Subscription.

    @@ -8781,56 +7583,108 @@ Subscription.

    + + + +
    -subscriberUri
    +broker
    -knative.dev/pkg/apis.URL +string
    -

    SubscriberURI is the fully resolved URI for spec.subscriber.

    +

    Broker is the broker that this trigger receives events from. If not specified, will default +to ‘default’.

    -replyUri
    +filter
    -knative.dev/pkg/apis.URL + +TriggerFilter +
    -

    ReplyURI is the fully resolved URI for the spec.reply.

    +(Optional) +

    Filter is the filter to apply against all events from the Broker. Only events that pass this +filter will be sent to the Subscriber. If not specified, will default to allowing all events.

    -deadLetterSinkUri
    +subscriber
    + +knative.dev/pkg/apis/duck/v1.Destination + +
    +

    Subscriber is the addressable that receives events from the Broker that pass the Filter. It +is required.

    +
    +

    TriggerStatus +

    +

    +(Appears on: +Trigger) +

    +

    +

    TriggerStatus represents the current state of a Trigger.

    +

    + + + + + + + + + + + + + +
    FieldDescription
    +Status
    + +knative.dev/pkg/apis/duck/v1.Status + +
    +

    +(Members of Status are embedded into this type.) +

    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    +
    +subscriberUri
    knative.dev/pkg/apis.URL
    -

    ReplyURI is the fully resolved URI for the spec.delivery.deadLetterSink.

    +

    SubscriberURI is the resolved URI of the receiver for this Trigger.


    -

    sources.knative.dev/v1alpha1

    +

    messaging.knative.dev/v1beta1

    -

    Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group

    +

    Package v1beta1 is the v1beta1 version of the API.

    Resource Types: -

    ApiServerSource +

    Channel

    -

    ApiServerSource is the Schema for the apiserversources API

    +

    Channel represents a generic Channel. It is normally used when we want a Channel, but don’t need a specific Channel implementation.

    @@ -8846,7 +7700,7 @@ Resource Types: string @@ -8855,7 +7709,7 @@ sources.knative.dev/v1alpha1 kind
    string - + @@ -8875,109 +7730,44 @@ Refer to the Kubernetes API documentation for the fields of the
    -sources.knative.dev/v1alpha1 +messaging.knative.dev/v1beta1
    ApiServerSourceChannel
    @@ -8867,6 +7721,7 @@ Kubernetes meta/v1.ObjectMeta +(Optional) Refer to the Kubernetes API documentation for the fields of the metadata field. spec
    - -ApiServerSourceSpec + +ChannelSpec
    +

    Spec defines the desired state of the Channel.



    - - - - - - - - - - - - - - - - - - - -
    -resources
    - - -[]ApiServerResource - - -
    -

    Resources is the list of resources to watch

    -
    -serviceAccountName
    - -string - -
    -(Optional) -

    ServiceAccountName is the name of the ServiceAccount to use to run this -source.

    -
    -sink
    - -knative.dev/pkg/apis/duck/v1beta1.Destination - -
    -(Optional) -

    Sink is a reference to an object that will resolve to a domain name to use as the sink.

    -
    -ceOverrides
    - -knative.dev/pkg/apis/duck/v1.CloudEventOverrides - -
    -(Optional) -

    CloudEventOverrides defines overrides to control the output format and -modifications of the event sent to the sink.

    -
    -selector
    - - -Kubernetes meta/v1.LabelSelector - - -
    -(Optional) -

    LabelSelector filters this source to objects to those resources pass the -label selector. -More info: http://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

    -
    -owner
    +channelTemplate
    - -APIVersionKind + +ChannelTemplateSpec
    -(Optional) -

    ResourceOwner is an additional filter to only track resources that are -owned by a specific resource type. If ResourceOwner matches Resources[n] -then Resources[n] is allowed to pass the ResourceOwner filter.

    +

    ChannelTemplate specifies which Channel CRD to use to create the CRD Channel backing this Channel. +This is immutable after creation. Normally this is set by the Channel defaulter, not directly by the user.

    -mode
    +ChannelableSpec
    -string + +ChannelableSpec +
    -

    Mode is the mode the receive adapter controller runs under: Ref or Resource. -Ref sends only the reference to the resource. -Resource send the full resource.

    +

    +(Members of ChannelableSpec are embedded into this type.) +

    +

    Channel conforms to ChannelableSpec

    @@ -8987,20 +7777,23 @@ string
    status
    - -ApiServerSourceStatus + +ChannelStatus
    +(Optional) +

    Status represents the current state of the Channel. This data may be out of +date.

    -

    PingSource +

    InMemoryChannel

    -

    PingSource is the Schema for the PingSources API.

    +

    InMemoryChannel is a resource representing an in memory channel

    @@ -9016,7 +7809,7 @@ ApiServerSourceStatus string @@ -9025,7 +7818,7 @@ sources.knative.dev/v1alpha1 kind
    string - + @@ -9045,86 +7839,30 @@ Refer to the Kubernetes API documentation for the fields of the
    -sources.knative.dev/v1alpha1 +messaging.knative.dev/v1beta1
    PingSourceInMemoryChannel
    @@ -9037,6 +7830,7 @@ Kubernetes meta/v1.ObjectMeta +(Optional) Refer to the Kubernetes API documentation for the fields of the metadata field. spec
    - -PingSourceSpec + +InMemoryChannelSpec
    +

    Spec defines the desired state of the Channel.



    - - - - - - - - - - - - - - - - - - - -
    -schedule
    - -string - -
    -

    Schedule is the cronjob schedule.

    -
    -data
    - -string - -
    -

    Data is the data posted to the target function.

    -
    -sink
    - -knative.dev/pkg/apis/duck/v1.Destination - -
    -

    Sink is a reference to an object that will resolve to a uri to use as the sink.

    -
    -ceOverrides
    - -knative.dev/pkg/apis/duck/v1.CloudEventOverrides - -
    -(Optional) -

    CloudEventOverrides defines overrides to control the output format and -modifications of the event sent to the sink.

    -
    -serviceAccountName
    - -string - -
    -

    ServiceAccoutName is the name of the ServiceAccount that will be used to run the Receive -Adapter Deployment. -Deprecated: v1beta1 drops this field.

    -
    -resources
    +ChannelableSpec
    - -PingResourceSpec + +ChannelableSpec
    -

    Resource limits and Request specifications of the Receive Adapter Deployment -Deprecated: v1beta1 drops this field.

    +

    +(Members of ChannelableSpec are embedded into this type.) +

    +

    Channel conforms to Duck type Channelable.

    @@ -9134,25 +7872,24 @@ Deprecated: v1beta1 drops this field.

    status
    - -PingSourceStatus + +InMemoryChannelStatus
    +(Optional) +

    Status represents the current state of the Channel. This data may be out of +date.

    -

    SinkBinding +

    Subscription

    -

    SinkBinding describes a Binding that is also a Source. -The sink (from the Source duck) is resolved to a URL and -then projected into the subject by augmenting the runtime -contract of the referenced containers to have a K_SINK -environment variable holding the endpoint to which to send -cloud events.

    +

    Subscription routes events received on a Channel to a DNS name and +corresponds to the subscriptions.channels.knative.dev CRD.

    @@ -9168,7 +7905,7 @@ cloud events.

    string @@ -9177,7 +7914,7 @@ sources.knative.dev/v1alpha1 kind
    string - + @@ -9208,28 +7945,70 @@ SinkBindingSpec
    -sources.knative.dev/v1alpha1 +messaging.knative.dev/v1beta1
    SinkBindingSubscription
    @@ -9197,8 +7934,8 @@ Refer to the Kubernetes API documentation for the fields of the spec
    - -SinkBindingSpec + +SubscriptionSpec
    + + + + + + + +
    -SourceSpec
    +channel
    -knative.dev/pkg/apis/duck/v1.SourceSpec + +Kubernetes core/v1.ObjectReference +
    -

    -(Members of SourceSpec are embedded into this type.) -

    +

    Reference to a channel that will be used to create the subscription +You can specify only the following fields of the ObjectReference: +- Kind +- APIVersion +- Name +The resource pointed by this ObjectReference must meet the +contract to the ChannelableSpec duck type. If the resource does not +meet this contract it will be reflected in the Subscription’s status.

    +

    This field is immutable. We have no good answer on what happens to +the events that are currently in the channel being consumed from +and what the semantics there should be. For now, you can always +delete the Subscription and recreate it to point to a different +channel, giving the user more control over what semantics should +be used (drain the channel first, possibly have events dropped, +etc.)

    -BindingSpec
    +subscriber
    -knative.dev/pkg/apis/duck/v1alpha1.BindingSpec +knative.dev/pkg/apis/duck/v1.Destination
    -

    -(Members of BindingSpec are embedded into this type.) -

    +(Optional) +

    Subscriber is reference to (optional) function for processing events. +Events from the Channel will be delivered here and replies are +sent to a Destination as specified by the Reply.

    +
    +reply
    + +knative.dev/pkg/apis/duck/v1.Destination + +
    +(Optional) +

    Reply specifies (optionally) how to handle events returned from +the Subscriber target.

    +
    +delivery
    + + +DeliverySpec + + +
    +(Optional) +

    Delivery configuration

    @@ -9239,8 +8018,8 @@ knative.dev/pkg/apis/duck/v1alpha1.BindingSpec status
    - -SinkBindingStatus + +SubscriptionStatus @@ -9249,14 +8028,21 @@ SinkBindingStatus -

    ApiServerResource +

    ChannelDefaulter +

    +

    +

    ChannelDefaulter sets the default Channel CRD and Arguments on Channels that do not +specify any implementation.

    +

    +

    ChannelSpec

    (Appears on: -ApiServerSourceSpec) +Channel)

    -

    ApiServerResource defines the resource to watch

    +

    ChannelSpec defines which subscribers have expressed interest in receiving events from this Channel. +It also defines the ChannelTemplate to use in order to create the CRD Channel backing this Channel.

    @@ -9268,82 +8054,44 @@ SinkBindingStatus - - - - - - - - - - - - - +
    -apiVersion
    - -string - -
    -

    API version of the resource to watch.

    -
    -kind
    - -string - -
    -

    Kind of the resource to watch. -More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

    -
    -labelSelector
    - - -Kubernetes meta/v1.LabelSelector - - -
    -

    LabelSelector restricts this source to objects with the selected labels -More info: http://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors -Deprecated: Per-resource label selectors will no longer be supported in -v1alpha2, please use Spec.LabelSelector.

    -
    -controllerSelector
    +channelTemplate
    - -Kubernetes meta/v1.OwnerReference + +ChannelTemplateSpec
    -

    ControllerSelector restricts this source to objects with a controlling owner reference of the specified kind. -Only apiVersion and kind are used. Both are optional. -Deprecated: Per-resource owner refs will no longer be supported in -v1alpha2, please use Spec.Owner as a GKV.

    -
    +

    ChannelTemplate specifies which Channel CRD to use to create the CRD Channel backing this Channel. +This is immutable after creation. Normally this is set by the Channel defaulter, not directly by the user.

    +
    -controller
    +ChannelableSpec
    -bool + +ChannelableSpec +
    -

    If true, send an event referencing the object controlling the resource -Deprecated: Per-resource controller flag will no longer be supported in -v1alpha2, please use Spec.Owner as a GKV.

    +

    +(Members of ChannelableSpec are embedded into this type.) +

    +

    Channel conforms to ChannelableSpec

    -

    ApiServerSourceSpec +

    ChannelStatus

    (Appears on: -ApiServerSource) +Channel)

    -

    ApiServerSourceSpec defines the desired state of ApiServerSource

    +

    ChannelStatus represents the current state of a Channel.

    @@ -9355,110 +8103,167 @@ v1alpha2, please use Spec.Owner as a GKV.

    + +
    -resources
    +ChannelableStatus
    - -[]ApiServerResource + +ChannelableStatus
    -

    Resources is the list of resources to watch

    +

    +(Members of ChannelableStatus are embedded into this type.) +

    +

    Channel conforms to ChannelableStatus

    -serviceAccountName
    +channel
    -string +knative.dev/pkg/apis/duck/v1.KReference
    -(Optional) -

    ServiceAccountName is the name of the ServiceAccount to use to run this -source.

    +

    Channel is an KReference to the Channel CRD backing this Channel.

    +

    ChannelTemplateSpec +

    +

    +(Appears on: +BrokerSpec, +ChannelSpec, +ChannelSpec, +ParallelSpec, +ParallelSpec, +SequenceSpec, +SequenceSpec) +

    +

    +

    + + - - + + + + + +
    -sink
    - -knative.dev/pkg/apis/duck/v1beta1.Destination - -
    -(Optional) -

    Sink is a reference to an object that will resolve to a domain name to use as the sink.

    -
    FieldDescription
    -ceOverrides
    +spec
    -knative.dev/pkg/apis/duck/v1.CloudEventOverrides +k8s.io/apimachinery/pkg/runtime.RawExtension
    (Optional) -

    CloudEventOverrides defines overrides to control the output format and -modifications of the event sent to the sink.

    +

    Spec defines the Spec to use for each channel created. Passed +in verbatim to the Channel CRD as Spec section.

    +
    +
    + +
    +

    ChannelTemplateSpecInternal +

    +

    +

    ChannelTemplateSpecInternal is an internal only version that includes ObjectMeta so that +we can easily create new Channels off of it.

    +

    + + + + + + + + + +
    FieldDescription
    -selector
    +metadata
    - -Kubernetes meta/v1.LabelSelector + +Kubernetes meta/v1.ObjectMeta
    (Optional) -

    LabelSelector filters this source to objects to those resources pass the -label selector. -More info: http://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -owner
    +spec
    - -APIVersionKind - +k8s.io/apimachinery/pkg/runtime.RawExtension
    (Optional) -

    ResourceOwner is an additional filter to only track resources that are -owned by a specific resource type. If ResourceOwner matches Resources[n] -then Resources[n] is allowed to pass the ResourceOwner filter.

    +

    Spec defines the Spec to use for each channel created. Passed +in verbatim to the Channel CRD as Spec section.

    +
    +
    + +
    +

    InMemoryChannelSpec +

    +

    +(Appears on: +InMemoryChannel) +

    +

    +

    InMemoryChannelSpec defines which subscribers have expressed interest in +receiving events from this InMemoryChannel. +arguments for a Channel.

    +

    + + + + + + + +
    FieldDescription
    -mode
    +ChannelableSpec
    -string + +ChannelableSpec +
    -

    Mode is the mode the receive adapter controller runs under: Ref or Resource. -Ref sends only the reference to the resource. -Resource send the full resource.

    +

    +(Members of ChannelableSpec are embedded into this type.) +

    +

    Channel conforms to Duck type Channelable.

    -

    ApiServerSourceStatus +

    InMemoryChannelStatus

    (Appears on: -ApiServerSource) +InMemoryChannel)

    -

    ApiServerSourceStatus defines the observed state of ApiServerSource

    +

    ChannelStatus represents the current state of a Channel.

    @@ -9470,33 +8275,41 @@ string
    -SourceStatus
    +ChannelableStatus
    -knative.dev/pkg/apis/duck/v1.SourceStatus + +ChannelableStatus +

    -(Members of SourceStatus are embedded into this type.) +(Members of ChannelableStatus are embedded into this type.)

    -

    inherits duck/v1 SourceStatus, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last -processed by the controller. -* Conditions - the latest available observations of a resource’s current -state. -* SinkURI - the current active sink URI that has been configured for the -Source.

    +

    Channel conforms to Duck type Channelable.

    -

    PingLimitsSpec +

    SubscriptionSpec

    (Appears on: -PingResourceSpec) +Subscription)

    +

    SubscriptionSpec specifies the Channel for incoming events, a Subscriber target +for processing those events and where to put the result of the processing. Only +From (where the events are coming from) is always required. You can optionally +only Process the events (results in no output events) by leaving out the Result. +You can also perform an identity transformation on the incoming events by leaving +out the Subscriber and only specifying Result.

    +

    The following are all valid specifications: +channel –[subscriber]–> reply +Sink, no outgoing events: +channel – subscriber +no-op function (identity transformation): +channel –> reply

    @@ -9508,33 +8321,82 @@ Source.

    + + + + + + + +
    -cpu
    +channel
    -string + +Kubernetes core/v1.ObjectReference +
    +

    Reference to a channel that will be used to create the subscription +You can specify only the following fields of the ObjectReference: +- Kind +- APIVersion +- Name +The resource pointed by this ObjectReference must meet the +contract to the ChannelableSpec duck type. If the resource does not +meet this contract it will be reflected in the Subscription’s status.

    +

    This field is immutable. We have no good answer on what happens to +the events that are currently in the channel being consumed from +and what the semantics there should be. For now, you can always +delete the Subscription and recreate it to point to a different +channel, giving the user more control over what semantics should +be used (drain the channel first, possibly have events dropped, +etc.)

    -memory
    +subscriber
    -string +knative.dev/pkg/apis/duck/v1.Destination
    +(Optional) +

    Subscriber is reference to (optional) function for processing events. +Events from the Channel will be delivered here and replies are +sent to a Destination as specified by the Reply.

    +
    +reply
    + +knative.dev/pkg/apis/duck/v1.Destination + +
    +(Optional) +

    Reply specifies (optionally) how to handle events returned from +the Subscriber target.

    +
    +delivery
    + + +DeliverySpec + + +
    +(Optional) +

    Delivery configuration

    -

    PingRequestsSpec +

    SubscriptionStatus

    (Appears on: -PingResourceSpec) +Subscription)

    +

    SubscriptionStatus (computed) for a subscription

    @@ -9546,33 +8408,44 @@ string
    -cpu
    +Status
    -string +knative.dev/pkg/apis/duck/v1.Status
    +

    +(Members of Status are embedded into this type.) +

    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    -memory
    +physicalSubscription
    -string + +SubscriptionStatusPhysicalSubscription +
    +

    PhysicalSubscription is the fully resolved values that this Subscription represents.

    -

    PingResourceSpec +

    SubscriptionStatusPhysicalSubscription

    (Appears on: -PingSourceSpec) +SubscriptionStatus)

    +

    SubscriptionStatusPhysicalSubscription represents the fully resolved values for this +Subscription.

    @@ -9584,38 +8457,52 @@ string + + + +
    -requests
    +subscriberUri
    - -PingRequestsSpec - +knative.dev/pkg/apis.URL
    +

    SubscriberURI is the fully resolved URI for spec.subscriber.

    -limits
    +replyUri
    - -PingLimitsSpec - +knative.dev/pkg/apis.URL + +
    +

    ReplyURI is the fully resolved URI for the spec.reply.

    +
    +deadLetterSinkUri
    + +knative.dev/pkg/apis.URL
    +

    ReplyURI is the fully resolved URI for the spec.delivery.deadLetterSink.

    -

    PingSourceSpec -

    +
    +

    configs.internal.knative.dev/v1alpha1

    -(Appears on: -PingSource) +

    Package v1alpha1 is the v1alpha1 version of the API.

    +Resource Types: + +

    ConfigMapPropagation +

    -

    PingSourceSpec defines the desired state of the PingSource.

    +

    ConfigMapPropagation is used to propagate configMaps from original namespace to current namespace

    @@ -9627,87 +8514,102 @@ PingLimitsSpec + + + + - +

    Spec defines the desired state of the ConfigMapPropagation

    +
    +
    +
    -schedule
    - -string - +apiVersion
    +string
    + +configs.internal.knative.dev/v1alpha1 +
    -

    Schedule is the cronjob schedule.

    +kind
    +string
    ConfigMapPropagation
    -data
    +metadata
    -string + +Kubernetes meta/v1.ObjectMeta +
    -

    Data is the data posted to the target function.

    +(Optional) +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -sink
    +spec
    -knative.dev/pkg/apis/duck/v1.Destination + +ConfigMapPropagationSpec +
    -

    Sink is a reference to an object that will resolve to a uri to use as the sink.

    -
    + +
    -ceOverrides
    +originalNamespace
    -knative.dev/pkg/apis/duck/v1.CloudEventOverrides +string
    -(Optional) -

    CloudEventOverrides defines overrides to control the output format and -modifications of the event sent to the sink.

    +

    OriginalNamespace is the namespace where the original configMaps are in

    -serviceAccountName
    +selector
    -string + +Kubernetes meta/v1.LabelSelector +
    -

    ServiceAccoutName is the name of the ServiceAccount that will be used to run the Receive -Adapter Deployment. -Deprecated: v1beta1 drops this field.

    +(Optional) +

    Selector only selects original configMaps with corresponding labels

    +
    -resources
    +status
    - -PingResourceSpec + +ConfigMapPropagationStatus -

    Resource limits and Request specifications of the Receive Adapter Deployment -Deprecated: v1beta1 drops this field.

    +(Optional) +

    Status represents the current state of the EventType. +This data may be out of date.

    -

    PingSourceStatus +

    ConfigMapPropagationSpec

    (Appears on: -PingSource) +ConfigMapPropagation)

    -

    PingSourceStatus defines the observed state of PingSource.

    @@ -9719,42 +8621,39 @@ Deprecated: v1beta1 drops this field.

    -Status
    +originalNamespace
    -knative.dev/pkg/apis/duck/v1.Status +string
    -

    -(Members of Status are embedded into this type.) -

    -

    inherits duck/v1 Status, which currently provides: -* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. -* Conditions - the latest available observations of a resource’s current state.

    +

    OriginalNamespace is the namespace where the original configMaps are in

    -sinkUri
    +selector
    -knative.dev/pkg/apis.URL + +Kubernetes meta/v1.LabelSelector +
    (Optional) -

    SinkURI is the current active sink URI that has been configured for the PingSource.

    +

    Selector only selects original configMaps with corresponding labels

    -

    SinkBindingSpec +

    ConfigMapPropagationStatus

    (Appears on: -SinkBinding) +ConfigMapPropagation)

    -

    SinkBindingSpec holds the desired state of the SinkBinding (from the client).

    +

    ConfigMapPropagationStatus represents the current state of a ConfigMapPropagation.

    @@ -9766,40 +8665,44 @@ knative.dev/pkg/apis.URL
    -SourceSpec
    +Status
    -knative.dev/pkg/apis/duck/v1.SourceSpec +knative.dev/pkg/apis/duck/v1.Status

    -(Members of SourceSpec are embedded into this type.) +(Members of Status are embedded into this type.)

    +

    inherits duck/v1 Status, which currently provides: +* ObservedGeneration - the ‘Generation’ of the Service that was last processed by the controller. +* Conditions - the latest available observations of a resource’s current state.

    -BindingSpec
    +copyConfigmaps
    -knative.dev/pkg/apis/duck/v1alpha1.BindingSpec + +[]ConfigMapPropagationStatusCopyConfigMap +
    -

    -(Members of BindingSpec are embedded into this type.) -

    +(Optional) +

    CopyConfigMaps is the status for each copied configmap.

    -

    SinkBindingStatus +

    ConfigMapPropagationStatusCopyConfigMap

    (Appears on: -SinkBinding) +ConfigMapPropagationStatus)

    -

    SinkBindingStatus communicates the observed state of the SinkBinding (from the controller).

    +

    ConfigMapPropagationStatusCopyConfigMap represents the status of a copied configmap

    @@ -9811,15 +8714,68 @@ knative.dev/pkg/apis/duck/v1alpha1.BindingSpec + + + + + + + + + + + + + + + + + + + + @@ -9827,5 +8783,5 @@ knative.dev/pkg/apis/duck/v1.SourceStatus

    Generated with gen-crd-api-reference-docs -on git commit 200ea1ae. +on git commit 02bc5166.

    diff --git a/docs/reference/serving.md b/docs/reference/serving.md index efa0cbda60..eb1b7199df 100644 --- a/docs/reference/serving.md +++ b/docs/reference/serving.md @@ -1,43 +1,35 @@

    Packages:

    -

    serving.knative.dev/v1alpha1

    +

    autoscaling.internal.knative.dev/v1alpha1

    Resource Types: -

    Configuration +

    PodAutoscaler

    -

    Configuration represents the “floating HEAD” of a linear history of Revisions, -and optionally how the containers those revisions reference are built. -Users create new Revisions by updating the Configuration’s spec. -The “latest created” revision’s name is available under status, as is the -“latest ready” revision’s name. -See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration

    +

    PodAutoscaler is a Knative abstraction that encapsulates the interface by which Knative +components instantiate autoscalers. This definition is an abstraction that may be backed +by multiple definitions. For more information, see the Knative Pluggability presentation: +https://docs.google.com/presentation/d/10KWynvAJYuOEWy69VBa6bHJVCqIsz1TNdEKosNvcpPY/edit

    -SourceStatus
    +name
    -knative.dev/pkg/apis/duck/v1.SourceStatus +string
    -

    -(Members of SourceStatus are embedded into this type.) -

    +

    Name is copy configmap’s name

    +
    +source
    + +string + +
    +

    Source is “originalNamespace/originalConfigMapName”

    +
    +operation
    + +string + +
    +

    Operation represents the operation CMP takes for this configmap. The operations are copy|delete|stop

    +
    +ready
    + +string + +
    +

    Ready represents the operation is ready or not

    +
    +reason
    + +string + +
    +

    Reason indicates reasons if the operation is not ready

    +
    +resourceVersionFromSource
    + +string + +
    +

    ResourceVersion is the resourceVersion of original configmap

    @@ -53,7 +45,7 @@ See also: -ConfigurationSpec + +PodAutoscalerSpec
    (Optional) -

    Spec holds the desired state of the Configuration (from the client).

    +

    Spec holds the desired state of the PodAutoscaler (from the client).



    @@ -112,48 +104,56 @@ not be used - use metadata.generation

    + + + +
    -build
    +containerConcurrency
    -k8s.io/apimachinery/pkg/runtime.RawExtension +int64
    (Optional) -

    Build optionally holds the specification for the build to -perform to produce the Revision’s container image.

    +

    ContainerConcurrency specifies the maximum allowed +in-flight (concurrent) requests per container of the Revision. +Defaults to 0 which means unlimited concurrency.

    -revisionTemplate
    +scaleTargetRef
    - -RevisionTemplateSpec + +Kubernetes core/v1.ObjectReference
    -(Optional) -

    DeprecatedRevisionTemplate holds the latest specification for the Revision to -be stamped out. If a Build specification is provided, then the -DeprecatedRevisionTemplate’s BuildName field will be populated with the name of -the Build object created to produce the container for the Revision. -DEPRECATED Use Template instead.

    +

    ScaleTargetRef defines the /scale-able resource that this PodAutoscaler +is responsible for quickly right-sizing.

    -template
    +reachability
    - -RevisionTemplateSpec + +ReachabilityType
    (Optional) -

    Template holds the latest specification for the Revision to -be stamped out.

    +

    Reachable specifies whether or not the ScaleTargetRef can be reached (ie. has a route). +Defaults to ReachabilityUnknown

    +
    +protocolType
    + +knative.dev/serving/pkg/apis/networking.ProtocolType + +
    +

    The application-layer protocol. Matches ProtocolType inferred from the revision spec.

    @@ -163,26 +163,22 @@ be stamped out.

    status
    - -ConfigurationStatus + +PodAutoscalerStatus
    (Optional) -

    Status communicates the observed state of the Configuration (from the controller).

    +

    Status communicates the observed state of the PodAutoscaler (from the controller).

    -

    Revision +

    Metric

    -

    Revision is an immutable snapshot of code and configuration. A revision -references a container image, and optionally a build that is responsible for -materializing that container image from source. Revisions are created by -updates to a Configuration.

    -

    See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision

    +

    Metric represents a resource to configure the metric collector with.

    @@ -194,23 +190,6 @@ updates to a Configuration.

    - - - - - - - - + +
    -apiVersion
    -string
    - -serving.knative.dev/v1alpha1 - -
    -kind
    -string -
    Revision
    metadata
    @@ -228,158 +207,129 @@ Refer to the Kubernetes API documentation for the fields of the
    spec
    - -RevisionSpec + +MetricSpec
    (Optional) -

    Spec holds the desired state of the Revision (from the client).

    +

    Spec holds the desired state of the Metric (from the client).



    + +
    -RevisionSpec
    +stableWindow
    - -RevisionSpec - +time.Duration
    -

    -(Members of RevisionSpec are embedded into this type.) -

    +

    StableWindow is the aggregation window for metrics in a stable state.

    -generation
    +panicWindow
    -int64 +time.Duration
    -(Optional) -

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 -when metadata.generation was not being incremented by the api server

    -

    This property will be dropped in future Knative releases and should -not be used - use metadata.generation

    -

    Tracking issue: https://github.com/knative/serving/issues/643

    +

    PanicWindow is the aggregation window for metrics where quick reactions are needed.

    -servingState
    +scrapeTarget
    - -DeprecatedRevisionServingStateType - +string
    -(Optional) -

    DeprecatedServingState holds a value describing the desired state the Kubernetes -resources should be in for this Revision. -Users must not specify this when creating a revision. These values are no longer -updated by the system.

    +

    ScrapeTarget is the K8s service that publishes the metric endpoint.

    +
    -concurrencyModel
    +status
    - -DeprecatedRevisionRequestConcurrencyModelType + +MetricStatus
    (Optional) -

    DeprecatedConcurrencyModel specifies the desired concurrency model -(Single or Multi) for the -Revision. Defaults to Multi. -Deprecated in favor of ContainerConcurrency.

    +

    Status communicates the observed state of the Metric (from the controller).

    +

    MetricSpec +

    +

    +(Appears on: +Metric) +

    +

    +

    MetricSpec contains all values a metric collector needs to operate.

    +

    + + - - + + + + - -
    -buildName
    - -string - -
    -(Optional) -

    DeprecatedBuildName optionally holds the name of the Build responsible for -producing the container image for its Revision. -DEPRECATED: Use DeprecatedBuildRef instead.

    -
    FieldDescription
    -buildRef
    +stableWindow
    - -Kubernetes core/v1.ObjectReference - +time.Duration
    -(Optional) -

    DeprecatedBuildRef holds the reference to the build (if there is one) responsible -for producing the container image for this Revision. Otherwise, nil

    +

    StableWindow is the aggregation window for metrics in a stable state.

    -container
    +panicWindow
    - -Kubernetes core/v1.Container - +time.Duration
    -(Optional) -

    Container defines the unit of execution for this Revision. -In the context of a Revision, we disallow a number of the fields of -this Container, including: name and lifecycle. -See also the runtime contract for more information about the execution -environment: -https://github.com/knative/serving/blob/master/docs/runtime-contract.md

    -
    +

    PanicWindow is the aggregation window for metrics where quick reactions are needed.

    -status
    +scrapeTarget
    - -RevisionStatus - +string -(Optional) -

    Status communicates the observed state of the Revision (from the controller).

    +

    ScrapeTarget is the K8s service that publishes the metric endpoint.

    -

    Route +

    MetricStatus

    -

    Route is responsible for configuring ingress over a collection of Revisions. -Some of the Revisions a Route distributes traffic over may be specified by -referencing the Configuration responsible for creating them; in these cases -the Route is additionally responsible for monitoring the Configuration for -“latest ready” revision changes, and smoothly rolling out latest revisions. -See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#route

    +(Appears on: +Metric) +

    +

    +

    MetricStatus reflects the status of metric collection for this specific entity.

    @@ -391,113 +341,116 @@ See also: PodAutoscalerSpec + +

    +(Appears on: +PodAutoscaler) +

    +

    +

    PodAutoscalerSpec holds the desired state of the PodAutoscaler (from the client).

    +

    +
    + - - + + + +
    -kind
    -string -
    RouteFieldDescription
    -metadata
    +generation
    - -Kubernetes meta/v1.ObjectMeta - +int64
    (Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 +when metadata.generation was not being incremented by the api server

    +

    This property will be dropped in future Knative releases and should +not be used - use metadata.generation

    +

    Tracking issue: https://github.com/knative/serving/issues/643

    -spec
    +containerConcurrency
    - -RouteSpec - +int64
    (Optional) -

    Spec holds the desired state of the Route (from the client).

    -
    -
    - +

    ContainerConcurrency specifies the maximum allowed +in-flight (concurrent) requests per container of the Revision. +Defaults to 0 which means unlimited concurrency.

    + + - -
    -generation
    +scaleTargetRef
    -int64 + +Kubernetes core/v1.ObjectReference +
    -(Optional) -

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 -when metadata.generation was not being incremented by the api server

    -

    This property will be dropped in future Knative releases and should -not be used - use metadata.generation

    -

    Tracking issue: https://github.com/knative/serving/issues/643

    +

    ScaleTargetRef defines the /scale-able resource that this PodAutoscaler +is responsible for quickly right-sizing.

    -traffic
    +reachability
    - -[]TrafficTarget + +ReachabilityType
    (Optional) -

    Traffic specifies how to distribute traffic over a collection of Knative Serving Revisions and Configurations.

    -
    +

    Reachable specifies whether or not the ScaleTargetRef can be reached (ie. has a route). +Defaults to ReachabilityUnknown

    -status
    +protocolType
    - -RouteStatus - +knative.dev/serving/pkg/apis/networking.ProtocolType
    -(Optional) -

    Status communicates the observed state of the Route (from the controller).

    +

    The application-layer protocol. Matches ProtocolType inferred from the revision spec.

    -

    Service +

    PodAutoscalerStatus

    -

    Service acts as a top-level container that manages a set of Routes and -Configurations which implement a network service. Service exists to provide a -singular abstraction which can be access controlled, reasoned about, and -which encapsulates software lifecycle decisions such as rollout policy and -team resource ownership. Service acts only as an orchestrator of the -underlying Routes and Configurations (much as a kubernetes Deployment -orchestrates ReplicaSets), and its usage is optional but recommended.

    -

    The Service’s controller will track the statuses of its owned Configuration -and Route, reflecting their statuses and conditions as its own.

    -

    See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#service

    +(Appears on: +PodAutoscaler) +

    +

    +

    PodAutoscalerStatus communicates the observed state of the PodAutoscaler (from the controller).

    @@ -509,160 +462,141 @@ and Route, reflecting their statuses and conditions as its own.

    - - - -
    -apiVersion
    -string
    - -serving.knative.dev/v1alpha1 - +Status
    + +knative.dev/pkg/apis/duck/v1.Status +
    -kind
    -string +

    +(Members of Status are embedded into this type.) +

    Service
    -metadata
    +serviceName
    - -Kubernetes meta/v1.ObjectMeta - +string
    -(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    ServiceName is the K8s Service name that serves the revision, scaled by this PA. +The service is created and owned by the ServerlessService object owned by this PA.

    -spec
    +metricsServiceName
    - -ServiceSpec - +string
    -(Optional) -
    -
    - +

    MetricsServiceName is the K8s Service name that provides revision metrics. +The service is managed by the PA object.

    + + + +
    -generation
    +desiredScale
    -int64 +int32
    -(Optional) -

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 -when metadata.generation was not being incremented by the api server

    -

    This property will be dropped in future Knative releases and should -not be used - use metadata.generation

    -

    Tracking issue: https://github.com/knative/serving/issues/643

    +

    DesiredScale shows the current desired number of replicas for the revision.

    -runLatest
    +actualScale
    - -RunLatestType - +int32
    -(Optional) -

    DeprecatedRunLatest defines a simple Service. It will automatically -configure a route that keeps the latest ready revision -from the supplied configuration running.

    +

    ActualScale shows the actual number of replicas for the revision.

    +

    PodScalable +

    +

    +

    PodScalable is a duck type that the resources referenced by the +PodAutoscaler’s ScaleTargetRef must implement. They must also +implement the /scale sub-resource for use with /scale based +implementations (e.g. HPA), but this further constrains the shape +the referenced resources may take.

    +

    + + + + + + + + - +
    +
    +
    FieldDescription
    -pinned
    +metadata
    - -PinnedType + +Kubernetes meta/v1.ObjectMeta
    -(Optional) -

    DeprecatedPinned is DEPRECATED in favor of ReleaseType

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -manual
    +spec
    - -ManualType + +PodScalableSpec
    -(Optional) -

    DeprecatedManual mode enables users to start managing the underlying Route and Configuration -resources directly. This advanced usage is intended as a path for users to graduate -from the limited capabilities of Service to the full power of Route.

    -
    -release
    +replicas
    - -ReleaseType - +int32
    -(Optional) -

    Release enables gradual promotion of new revisions by allowing traffic -to be split between two revisions. This type replaces the deprecated Pinned type.

    -ConfigurationSpec
    +selector
    - -ConfigurationSpec + +Kubernetes meta/v1.LabelSelector
    -

    -(Members of ConfigurationSpec are embedded into this type.) -

    -

    We are moving to a shape where the Configuration and Route specifications -are inlined into the Service, which gives them compatible shapes. We are -staging this change here as a path to this in v1beta1, which drops the -“mode” based specifications above. Ultimately all non-v1beta1 fields will -be deprecated, and then dropped in v1beta1.

    -RouteSpec
    +template
    - -RouteSpec + +Kubernetes core/v1.PodTemplateSpec
    -

    -(Members of RouteSpec are embedded into this type.) -

    @@ -672,21 +606,25 @@ RouteSpec
    status
    - -ServiceStatus + +PodScalableStatus
    -(Optional)
    -

    CannotConvertError +

    PodScalableSpec

    -

    CannotConvertError is returned when a field cannot be converted.

    +(Appears on: +PodScalable) +

    +

    +

    PodScalableSpec is the specification for the desired state of a +PodScalable (or at least our shared portion).

    @@ -698,9 +636,9 @@ ServiceStatus + + + +
    -Message
    +replicas
    -string +int32
    @@ -708,9 +646,23 @@ string
    -Field
    +selector
    -string + +Kubernetes meta/v1.LabelSelector + + +
    +
    +template
    + + +Kubernetes core/v1.PodTemplateSpec +
    @@ -718,18 +670,15 @@ string
    -

    ConfigurationSpec +

    PodScalableStatus

    (Appears on: -Configuration, -PinnedType, -ReleaseType, -RunLatestType, -ServiceSpec) +PodScalable)

    -

    ConfigurationSpec holds the desired state of the Configuration (from the client).

    +

    PodScalableStatus is the observed state of a PodScalable (or at +least our shared portion).

    @@ -741,126 +690,154 @@ string + +
    -generation
    +replicas
    -int64 +int32
    -(Optional) -

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 -when metadata.generation was not being incremented by the api server

    -

    This property will be dropped in future Knative releases and should -not be used - use metadata.generation

    -

    Tracking issue: https://github.com/knative/serving/issues/643

    +

    ReachabilityType +(string alias)

    +

    +(Appears on: +PodAutoscalerSpec) +

    +

    +

    ReachabilityType is the enumeration type for the different states of reachability +to the ScaleTarget of a PodAutoscaler

    +

    +
    +

    networking.internal.knative.dev/v1alpha1

    +

    +

    +Resource Types: + +

    Certificate +

    +

    +

    Certificate is responsible for provisioning a SSL certificate for the +given hosts. It is a Knative abstraction for various SSL certificate +provisioning solutions (such as cert-manager or self-signed SSL certificate).

    +

    + + + + + + + + + + + + - - -
    FieldDescription
    -build
    - -k8s.io/apimachinery/pkg/runtime.RawExtension - +apiVersion
    +string
    + +networking.internal.knative.dev/v1alpha1 +
    -(Optional) -

    Build optionally holds the specification for the build to -perform to produce the Revision’s container image.

    +kind
    +string
    Certificate
    -revisionTemplate
    +metadata
    - -RevisionTemplateSpec + +Kubernetes meta/v1.ObjectMeta
    (Optional) -

    DeprecatedRevisionTemplate holds the latest specification for the Revision to -be stamped out. If a Build specification is provided, then the -DeprecatedRevisionTemplate’s BuildName field will be populated with the name of -the Build object created to produce the container for the Revision. -DEPRECATED Use Template instead.

    +

    Standard object’s metadata. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -template
    +spec
    - -RevisionTemplateSpec + +CertificateSpec
    (Optional) -

    Template holds the latest specification for the Revision to -be stamped out.

    -
    -

    ConfigurationStatus -

    -

    -(Appears on: -Configuration) -

    -

    -

    ConfigurationStatus communicates the observed state of the Configuration (from the controller).

    -

    +

    Spec is the desired state of the Certificate. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    +
    +
    - - - + + - - + +
    FieldDescription +dnsNames
    + +[]string + +
    +

    DNSNames is a list of DNS names the Certificate could support. +The wildcard format of DNSNames (e.g. *.default.example.com) is supported.

    +
    -Status
    +secretName
    -knative.dev/pkg/apis/duck/v1.Status +string
    -

    -(Members of Status are embedded into this type.) -

    +

    SecretName is the name of the secret resource to store the SSL certificate in.

    +
    -ConfigurationStatusFields
    +status
    - -ConfigurationStatusFields + +CertificateStatus -

    -(Members of ConfigurationStatusFields are embedded into this type.) -

    +(Optional) +

    Status is the current state of the Certificate. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    -

    ConfigurationStatusFields +

    Ingress

    -(Appears on: -ConfigurationStatus, -ServiceStatus) -

    -

    -

    ConfigurationStatusFields holds all of the non-duckv1.Status status fields of a Route. -These are defined outline so that we can also inline them into Service, and more easily -copy them.

    +

    Ingress is a collection of rules that allow inbound connections to reach the endpoints defined +by a backend. An Ingress can be configured to give services externally-reachable URLs, load +balance traffic, offer name based virtual hosting, etc.

    +

    This is heavily based on K8s Ingress https://godoc.org/k8s.io/api/networking/v1beta1#Ingress +which some highlighted modifications.

    @@ -872,182 +849,142 @@ copy them.

    + + + + + + + +
    -latestReadyRevisionName
    - +apiVersion
    +string
    + +networking.internal.knative.dev/v1alpha1 + +
    +kind
    string +
    Ingress
    +metadata
    + + +Kubernetes meta/v1.ObjectMeta +
    (Optional) -

    LatestReadyRevisionName holds the name of the latest Revision stamped out -from this Configuration that has had its “Ready” condition become “True”.

    +

    Standard object’s metadata. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -latestCreatedRevisionName
    +spec
    -string + +IngressSpec +
    (Optional) -

    LatestCreatedRevisionName is the last revision that was created from this -Configuration. It might not be ready yet, for that use LatestReadyRevisionName.

    +

    Spec is the desired state of the Ingress. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    +
    +
    + + + + - -
    +generation
    + +int64 + +
    +(Optional) +

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 +when metadata.generation was not being incremented by the api server

    +

    This property will be dropped in future Knative releases and should +not be used - use metadata.generation

    +

    Tracking issue: https://github.com/knative/serving/issues/643

    -

    DeprecatedRevisionRequestConcurrencyModelType -(string alias)

    -

    -(Appears on: -RevisionSpec) -

    -

    -

    DeprecatedRevisionRequestConcurrencyModelType is an enumeration of the -concurrency models supported by a Revision. -DEPRECATED in favor of an integer based ContainerConcurrency setting. -TODO(vagababov): retire completely in 0.9.

    -

    -

    DeprecatedRevisionServingStateType -(string alias)

    -

    -(Appears on: -RevisionSpec) -

    -

    -

    DeprecatedRevisionServingStateType is an enumeration of the levels of serving readiness of the Revision. -See also: https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting

    -

    -

    ManualType -

    -

    -(Appears on: -ServiceSpec) -

    -

    -

    ManualType contains the options for configuring a manual service. See ServiceSpec for -more details.

    -

    -

    PinnedType -

    -

    -(Appears on: -ServiceSpec) -

    -

    -

    PinnedType is DEPRECATED. ReleaseType should be used instead. To get the behavior of PinnedType set -ReleaseType.Revisions to []string{PinnedType.RevisionName} and ReleaseType.RolloutPercent to 0.

    -

    - - - - - - - - - -
    FieldDescription
    -revisionName
    +tls
    -string + +[]IngressTLS +
    (Optional) -

    The revision name to pin this service to until changed -to a different service type.

    +

    TLS configuration. Currently Ingress only supports a single TLS +port: 443. If multiple members of this list specify different hosts, they +will be multiplexed on the same port according to the hostname specified +through the SNI TLS extension, if the ingress controller fulfilling the +ingress supports SNI.

    -configuration
    +rules
    - -ConfigurationSpec + +[]IngressRule
    (Optional) -

    The configuration for this service.

    +

    A list of host rules used to configure the Ingress.

    -

    ReleaseType -

    -

    -(Appears on: -ServiceSpec) -

    -

    -

    ReleaseType contains the options for slowly releasing revisions. See ServiceSpec for -more details.

    -

    - - - - - - - - - - -
    FieldDescription
    -revisions
    +visibility
    -[]string + +IngressVisibility +
    -(Optional) -

    Revisions is an ordered list of 1 or 2 revisions. The first will -have a TrafficTarget with a name of “current” and the second will have -a name of “candidate”.

    +

    Visibility setting.

    -rolloutPercent
    - -int - -
    -(Optional) -

    RolloutPercent is the percent of traffic that should be sent to the “candidate” -revision. Valid values are between 0 and 99 inclusive.

    +
    -configuration
    +status
    - -ConfigurationSpec + +IngressStatus
    (Optional) -

    The configuration for this service. All revisions from this service must -come from a single configuration.

    +

    Status is the current state of the Ingress. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    -

    RevisionSpec +

    ServerlessService

    -(Appears on: -Revision, -RevisionTemplateSpec) -

    -

    -

    RevisionSpec holds the desired state of the Revision (from the client).

    +

    ServerlessService is a proxy for the K8s service objects containing the +endpoints for the revision, whether those are endpoints of the activator or +revision pods. +See: https://knative.page.link/naxz for details.

    @@ -1059,127 +996,134 @@ come from a single configuration.

    + + + +
    -RevisionSpec
    - - -RevisionSpec - - +apiVersion
    +string
    + +networking.internal.knative.dev/v1alpha1 +
    -

    -(Members of RevisionSpec are embedded into this type.) -

    +kind
    +string
    ServerlessService
    -generation
    +metadata
    -int64 + +Kubernetes meta/v1.ObjectMeta +
    (Optional) -

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 -when metadata.generation was not being incremented by the api server

    -

    This property will be dropped in future Knative releases and should -not be used - use metadata.generation

    -

    Tracking issue: https://github.com/knative/serving/issues/643

    +

    Standard object’s metadata. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -servingState
    +spec
    - -DeprecatedRevisionServingStateType + +ServerlessServiceSpec
    (Optional) -

    DeprecatedServingState holds a value describing the desired state the Kubernetes -resources should be in for this Revision. -Users must not specify this when creating a revision. These values are no longer -updated by the system.

    +

    Spec is the desired state of the ServerlessService. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    +
    +
    + + + + + +
    +mode
    + + +ServerlessServiceOperationMode + + +
    +

    Mode describes the mode of operation of the ServerlessService.

    -concurrencyModel
    +objectRef
    - -DeprecatedRevisionRequestConcurrencyModelType + +Kubernetes core/v1.ObjectReference
    -(Optional) -

    DeprecatedConcurrencyModel specifies the desired concurrency model -(Single or Multi) for the -Revision. Defaults to Multi. -Deprecated in favor of ContainerConcurrency.

    +

    ObjectRef defines the resource that this ServerlessService +is responsible for making “serverless”.

    -buildName
    +ProtocolType
    -string +knative.dev/serving/pkg/apis/networking.ProtocolType
    -(Optional) -

    DeprecatedBuildName optionally holds the name of the Build responsible for -producing the container image for its Revision. -DEPRECATED: Use DeprecatedBuildRef instead.

    +

    The application-layer protocol. Matches RevisionProtocolType set on the owning pa/revision. +serving imports networking, so just use string.

    -buildRef
    +numActivators
    - -Kubernetes core/v1.ObjectReference - +int32
    -(Optional) -

    DeprecatedBuildRef holds the reference to the build (if there is one) responsible -for producing the container image for this Revision. Otherwise, nil

    +

    NumActivators contains number of Activators that this revision should be +assigned. +O means — assign all.

    +
    -container
    +status
    - -Kubernetes core/v1.Container + +ServerlessServiceStatus
    (Optional) -

    Container defines the unit of execution for this Revision. -In the context of a Revision, we disallow a number of the fields of -this Container, including: name and lifecycle. -See also the runtime contract for more information about the execution -environment: -https://github.com/knative/serving/blob/master/docs/runtime-contract.md

    +

    Status is the current state of the ServerlessService. +More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    -

    RevisionStatus +

    CertificateSpec

    (Appears on: -Revision) +Certificate)

    -

    RevisionStatus communicates the observed state of the Revision (from the controller).

    +

    CertificateSpec defines the desired state of a Certificate.

    @@ -1191,70 +1135,103 @@ environment: + +
    -Status
    +dnsNames
    -knative.dev/pkg/apis/duck/v1.Status +[]string
    -

    -(Members of Status are embedded into this type.) -

    +

    DNSNames is a list of DNS names the Certificate could support. +The wildcard format of DNSNames (e.g. *.default.example.com) is supported.

    -serviceName
    +secretName
    string
    -(Optional) -

    ServiceName holds the name of a core Kubernetes Service resource that -load balances over the pods backing this Revision.

    +

    SecretName is the name of the secret resource to store the SSL certificate in.

    +

    CertificateStatus +

    +

    +(Appears on: +Certificate) +

    +

    +

    CertificateStatus defines the observed state of a Certificate.

    +

    + + + + + + + + + + + +
    FieldDescription
    -logUrl
    +Status
    -string +knative.dev/pkg/apis/duck/v1.Status
    -(Optional) -

    LogURL specifies the generated logging url for this particular revision -based on the revision url template specified in the controller’s config.

    +

    +(Members of Status are embedded into this type.) +

    +

    When Certificate status is ready, it means: +- The target secret exists +- The target secret contains a certificate that has not expired +- The target secret contains a private key valid for the certificate

    -imageDigest
    +notAfter
    -string + +Kubernetes meta/v1.Time +
    (Optional) -

    ImageDigest holds the resolved digest for the image specified -within .Spec.Container.Image. The digest is resolved during the creation -of Revision. This field holds the digest value regardless of whether -a tag or digest was originally specified in the Container object. It -may be empty if the image comes from a registry listed to skip resolution.

    +

    The expiration time of the TLS certificate stored in the secret named +by this resource in spec.secretName.

    +
    +http01Challenges
    + + +[]HTTP01Challenge + + +
    +

    HTTP01Challenges is a list of HTTP01 challenges that need to be fulfilled +in order to get the TLS certificate..

    -

    RevisionTemplateSpec +

    HTTP01Challenge

    (Appears on: -ConfigurationSpec) +CertificateStatus)

    -

    RevisionTemplateSpec describes the data a revision should have when created from a template. -Based on: https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190

    +

    HTTP01Challenge defines the status of a HTTP01 challenge that a certificate needs +to fulfill.

    @@ -1266,160 +1243,158 @@ Based on: -Kubernetes meta/v1.ObjectMeta - +knative.dev/pkg/apis.URL
    -(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    URL is the URL that the HTTP01 challenge is expected to serve on.

    -spec
    +serviceName
    - -RevisionSpec - +string
    -(Optional) -
    -
    - +

    ServiceName is the name of the service to serve HTTP01 challenge requests.

    + + + +
    -RevisionSpec
    +serviceNamespace
    - -RevisionSpec - +string
    -

    -(Members of RevisionSpec are embedded into this type.) -

    +

    ServiceNamespace is the namespace of the service to serve HTTP01 challenge requests.

    -generation
    +servicePort
    -int64 +k8s.io/apimachinery/pkg/util/intstr.IntOrString
    -(Optional) -

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 -when metadata.generation was not being incremented by the api server

    -

    This property will be dropped in future Knative releases and should -not be used - use metadata.generation

    -

    Tracking issue: https://github.com/knative/serving/issues/643

    +

    ServicePort is the port of the service to serve HTTP01 challenge requests.

    +

    HTTPIngressPath +

    +

    +(Appears on: +HTTPIngressRuleValue) +

    +

    +

    HTTPIngressPath associates a path regex with a backend. Incoming URLs matching +the path are forwarded to the backend.

    +

    + + + + + + + + - -
    FieldDescription
    -servingState
    +path
    - -DeprecatedRevisionServingStateType - +string
    (Optional) -

    DeprecatedServingState holds a value describing the desired state the Kubernetes -resources should be in for this Revision. -Users must not specify this when creating a revision. These values are no longer -updated by the system.

    +

    Path is an extended POSIX regex as defined by IEEE Std 1003.1, +(i.e this follows the egrep/unix syntax, not the perl syntax) +matched against the path of an incoming request. Currently it can +contain characters disallowed from the conventional “path” +part of a URL as defined by RFC 3986. Paths must begin with +a ‘/’. If unspecified, the path defaults to a catch all sending +traffic to the backend.

    -concurrencyModel
    +splits
    - -DeprecatedRevisionRequestConcurrencyModelType + +[]IngressBackendSplit
    -(Optional) -

    DeprecatedConcurrencyModel specifies the desired concurrency model -(Single or Multi) for the -Revision. Defaults to Multi. -Deprecated in favor of ContainerConcurrency.

    +

    Splits defines the referenced service endpoints to which the traffic +will be forwarded to.

    -buildName
    +appendHeaders
    -string +map[string]string
    (Optional) -

    DeprecatedBuildName optionally holds the name of the Build responsible for -producing the container image for its Revision. -DEPRECATED: Use DeprecatedBuildRef instead.

    +

    AppendHeaders allow specifying additional HTTP headers to add +before forwarding a request to the destination service.

    +

    NOTE: This differs from K8s Ingress which doesn’t allow header appending.

    -buildRef
    +timeout
    - -Kubernetes core/v1.ObjectReference + +Kubernetes meta/v1.Duration
    (Optional) -

    DeprecatedBuildRef holds the reference to the build (if there is one) responsible -for producing the container image for this Revision. Otherwise, nil

    +

    Timeout for HTTP requests.

    +

    NOTE: This differs from K8s Ingress which doesn’t allow setting timeouts.

    -container
    +retries
    - -Kubernetes core/v1.Container + +HTTPRetry
    (Optional) -

    Container defines the unit of execution for this Revision. -In the context of a Revision, we disallow a number of the fields of -this Container, including: name and lifecycle. -See also the runtime contract for more information about the execution -environment: -https://github.com/knative/serving/blob/master/docs/runtime-contract.md

    -
    +

    Retry policy for HTTP requests.

    +

    NOTE: This differs from K8s Ingress which doesn’t allow retry settings.

    -

    RouteSpec +

    HTTPIngressRuleValue

    (Appears on: -Route, -ServiceSpec) +IngressRule)

    -

    RouteSpec holds the desired state of the Route (from the client).

    +

    HTTPIngressRuleValue is a list of http selectors pointing to backends. +In the example: http:///? -> backend where +where parts of the url correspond to RFC 3986, this resource will be used +to match against everything after the last ‘/’ and before the first ‘?’ +or ‘#’.

    @@ -1431,44 +1406,28 @@ environment: - - - -
    -generation
    - -int64 - -
    -(Optional) -

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 -when metadata.generation was not being incremented by the api server

    -

    This property will be dropped in future Knative releases and should -not be used - use metadata.generation

    -

    Tracking issue: https://github.com/knative/serving/issues/643

    -
    -traffic
    +paths
    - -[]TrafficTarget + +[]HTTPIngressPath
    -(Optional) -

    Traffic specifies how to distribute traffic over a collection of Knative Serving Revisions and Configurations.

    +

    A collection of paths that map requests to backends.

    +

    If they are multiple matching paths, the first match takes precendent.

    -

    RouteStatus +

    HTTPRetry

    (Appears on: -Route) +HTTPIngressPath)

    -

    RouteStatus communicates the observed state of the Route (from the controller).

    +

    HTTPRetry describes the retry policy to use when a HTTP request fails.

    @@ -1480,45 +1439,38 @@ not be used - use metadata.generation

    -Status
    +attempts
    -knative.dev/pkg/apis/duck/v1.Status +int
    -

    -(Members of Status are embedded into this type.) -

    +

    Number of retries for a given request.

    -RouteStatusFields
    +perTryTimeout
    - -RouteStatusFields + +Kubernetes meta/v1.Duration
    -

    -(Members of RouteStatusFields are embedded into this type.) -

    +

    Timeout per retry attempt for a given request. format: 1h/1m/1s/1ms. MUST BE >=1ms.

    -

    RouteStatusFields +

    IngressBackend

    (Appears on: -RouteStatus, -ServiceStatus) +IngressBackendSplit)

    -

    RouteStatusFields holds all of the non-duckv1.Status status fields of a Route. -These are defined outline so that we can also inline them into Service, and more easily -copy them.

    +

    IngressBackend describes all endpoints for a given service and port.

    @@ -1530,85 +1482,112 @@ copy them.

    + + +
    -url
    +serviceNamespace
    -knative.dev/pkg/apis.URL +string
    -(Optional) -

    URL holds the url that will distribute traffic over the provided traffic targets. -It generally has the form http[s]://{route-name}.{route-namespace}.{cluster-level-suffix}

    +

    Specifies the namespace of the referenced service.

    +

    NOTE: This differs from K8s Ingress to allow routing to different namespaces.

    -domain
    +serviceName
    string
    -(Optional) -

    DeprecatedDomain holds the top-level domain that will distribute traffic over the provided targets. -It generally has the form {route-name}.{route-namespace}.{cluster-level-suffix}

    +

    Specifies the name of the referenced service.

    -domainInternal
    +servicePort
    -string +k8s.io/apimachinery/pkg/util/intstr.IntOrString
    -(Optional) -

    DeprecatedDomainInternal holds the top-level domain that will distribute traffic over the provided -targets from inside the cluster. It generally has the form -{route-name}.{route-namespace}.svc.{cluster-domain-name} -DEPRECATED: Use Address instead.

    +

    Specifies the port of the referenced service.

    +
    +

    IngressBackendSplit +

    +

    +(Appears on: +HTTPIngressPath) +

    +

    +

    IngressBackendSplit describes all endpoints for a given service and port.

    +

    + + + + + + + + + + +
    FieldDescription
    +IngressBackend
    + + +IngressBackend + + +
    +

    +(Members of IngressBackend are embedded into this type.) +

    +

    Specifies the backend receiving the traffic split.

    -address
    +percent
    -knative.dev/pkg/apis/duck/v1alpha1.Addressable +int
    -(Optional) -

    Address holds the information needed for a Route to be the target of an event.

    +

    Specifies the split percentage, a number between 0 and 100. If +only one split is specified, we default to 100.

    +

    NOTE: This differs from K8s Ingress to allow percentage split.

    -traffic
    +appendHeaders
    - -[]TrafficTarget - +map[string]string
    (Optional) -

    Traffic holds the configured traffic distribution. -These entries will always contain RevisionName references. -When ConfigurationName appears in the spec, this will hold the -LatestReadyRevisionName that we last observed.

    +

    AppendHeaders allow specifying additional HTTP headers to add +before forwarding a request to the destination service.

    +

    NOTE: This differs from K8s Ingress which doesn’t allow header appending.

    -

    RunLatestType +

    IngressRule

    (Appears on: -ServiceSpec) +IngressSpec)

    -

    RunLatestType contains the options for always having a route to the latest configuration. See -ServiceSpec for more details.

    +

    IngressRule represents the rules mapping the paths under a specified host to +the related backend services. Incoming requests are first evaluated for a host +match, then routed to the backend associated with the matching IngressRuleValue.

    @@ -1620,31 +1599,72 @@ ServiceSpec for more details.

    + + + + + + + +
    -configuration
    +hosts
    - -ConfigurationSpec +[]string + +
    +(Optional) +

    Host is the fully qualified domain name of a network host, as defined +by RFC 3986. Note the following deviations from the “host” part of the +URI as defined in the RFC: +1. IPs are not allowed. Currently a rule value can only apply to the +IP in the Spec of the parent . +2. The : delimiter is not respected because ports are not allowed. +Currently the port of an Ingress is implicitly :80 for http and +:443 for https. +Both these may change in the future. +If the host is unspecified, the Ingress routes all traffic based on the +specified IngressRuleValue. +If multiple matching Hosts were provided, the first rule will take precedent.

    +
    +visibility
    + + +IngressVisibility
    (Optional) -

    The configuration for this service.

    +

    Visibility signifies whether this rule should ClusterLocal. If it’s not +specified then it defaults to ExternalIP.

    +
    +http
    + + +HTTPIngressRuleValue + + +
    +

    HTTP represents a rule to apply against incoming requests. If the +rule is satisfied, the request is routed to the specified backend.

    -

    ServiceSpec +

    IngressSpec

    (Appears on: -Service) +Ingress)

    -

    ServiceSpec represents the configuration for the Service object. Exactly one -of its members (other than Generation) must be specified. Services can either -track the latest ready revision of a configuration or be pinned to a specific -revision.

    +

    IngressSpec describes the Ingress the user wishes to exist.

    +

    In general this follows the same shape as K8s Ingress. +Some notable differences: +- Backends now can have namespace: +- Traffic can be split across multiple backends. +- Timeout & Retry can be configured. +- Headers can be appended.

    @@ -1672,110 +1692,134 @@ not be used - use metadata.generation

    + +
    -runLatest
    +tls
    - -RunLatestType + +[]IngressTLS
    (Optional) -

    DeprecatedRunLatest defines a simple Service. It will automatically -configure a route that keeps the latest ready revision -from the supplied configuration running.

    +

    TLS configuration. Currently Ingress only supports a single TLS +port: 443. If multiple members of this list specify different hosts, they +will be multiplexed on the same port according to the hostname specified +through the SNI TLS extension, if the ingress controller fulfilling the +ingress supports SNI.

    -pinned
    +rules
    - -PinnedType + +[]IngressRule
    (Optional) -

    DeprecatedPinned is DEPRECATED in favor of ReleaseType

    +

    A list of host rules used to configure the Ingress.

    -manual
    +visibility
    - -ManualType + +IngressVisibility
    -(Optional) -

    DeprecatedManual mode enables users to start managing the underlying Route and Configuration -resources directly. This advanced usage is intended as a path for users to graduate -from the limited capabilities of Service to the full power of Route.

    +

    Visibility setting.

    +

    IngressStatus +

    +

    +(Appears on: +Ingress) +

    +

    +

    IngressStatus describe the current state of the Ingress.

    +

    + + - - + + + + + + + + + + + +
    -release
    - - -ReleaseType - - -
    -(Optional) -

    Release enables gradual promotion of new revisions by allowing traffic -to be split between two revisions. This type replaces the deprecated Pinned type.

    -
    FieldDescription
    -ConfigurationSpec
    +Status
    - -ConfigurationSpec - +knative.dev/pkg/apis/duck/v1.Status

    -(Members of ConfigurationSpec are embedded into this type.) +(Members of Status are embedded into this type.)

    -

    We are moving to a shape where the Configuration and Route specifications -are inlined into the Service, which gives them compatible shapes. We are -staging this change here as a path to this in v1beta1, which drops the -“mode” based specifications above. Ultimately all non-v1beta1 fields will -be deprecated, and then dropped in v1beta1.

    -RouteSpec
    +loadBalancer
    - -RouteSpec + +LoadBalancerStatus
    -

    -(Members of RouteSpec are embedded into this type.) -

    +(Optional) +

    LoadBalancer contains the current status of the load-balancer. +This is to be superseded by the combination of PublicLoadBalancer and PrivateLoadBalancer

    +
    +publicLoadBalancer
    + + +LoadBalancerStatus + + +
    +(Optional) +

    PublicLoadBalancer contains the current status of the load-balancer.

    +
    +privateLoadBalancer
    + + +LoadBalancerStatus + + +
    +(Optional) +

    PrivateLoadBalancer contains the current status of the load-balancer.

    -

    ServiceStatus +

    IngressTLS

    (Appears on: -Service) +IngressSpec)

    -

    ServiceStatus represents the Status stanza of the Service resource.

    +

    IngressTLS describes the transport layer security associated with an Ingress.

    @@ -1787,121 +1831,89 @@ RouteSpec - -
    -Status
    +hosts
    -knative.dev/pkg/apis/duck/v1.Status +[]string
    -

    -(Members of Status are embedded into this type.) -

    +(Optional) +

    Hosts is a list of hosts included in the TLS certificate. The values in +this list must match the name/s used in the tlsSecret. Defaults to the +wildcard host setting for the loadbalancer controller fulfilling this +Ingress, if left unspecified.

    -RouteStatusFields
    +secretName
    - -RouteStatusFields - +string
    -

    -(Members of RouteStatusFields are embedded into this type.) -

    +

    SecretName is the name of the secret used to terminate SSL traffic.

    -ConfigurationStatusFields
    +secretNamespace
    - -ConfigurationStatusFields - +string
    -

    -(Members of ConfigurationStatusFields are embedded into this type.) -

    +

    SecretNamespace is the namespace of the secret used to terminate SSL traffic.

    -

    TrafficTarget -

    -

    -(Appears on: -RouteSpec, -RouteStatusFields) -

    -

    -

    TrafficTarget holds a single entry of the routing table for a Route.

    -

    - - - - - - - -
    FieldDescription
    -name
    +serverCertificate
    string
    (Optional) -

    Name is optionally used to expose a dedicated hostname for referencing this -target exclusively. It has the form: {name}.${route.status.domain}

    +

    ServerCertificate identifies the certificate filename in the secret. +Defaults to tls.crt.

    -TrafficTarget
    +privateKey
    - -TrafficTarget - +string
    -

    -(Members of TrafficTarget are embedded into this type.) -

    -

    We inherit most of our fields by inlining the v1 type. -Ultimately all non-v1 fields will be deprecated.

    +(Optional) +

    PrivateKey identifies the private key filename in the secret. +Defaults to tls.key.

    -
    -

    serving.knative.dev/v1beta1

    +

    IngressVisibility +(string alias)

    +(Appears on: +IngressRule, +IngressSpec)

    -Resource Types: - -

    Configuration +

    +

    IngressVisibility describes whether the Ingress should be exposed to +public gateways or not.

    +

    +

    LoadBalancerIngressStatus

    -

    Configuration represents the “floating HEAD” of a linear history of Revisions. -Users create new Revisions by updating the Configuration’s spec. -The “latest created” revision’s name is available under status, as is the -“latest ready” revision’s name. -See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration

    +(Appears on: +LoadBalancerStatus) +

    +

    +

    LoadBalancerIngressStatus represents the status of a load-balancer ingress point: +traffic intended for the service should be sent to an ingress point.

    @@ -1913,89 +1925,110 @@ See also: -Kubernetes meta/v1.ObjectMeta - +string +

    LoadBalancerStatus +

    +

    +(Appears on: +IngressStatus) +

    +

    +

    LoadBalancerStatus represents the status of a load-balancer.

    +

    +
    (Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    Domain is set for load-balancer ingress points that are DNS based +(typically AWS load-balancers)

    -spec
    +domainInternal
    - -ConfigurationSpec - +string
    (Optional) -
    -
    - +

    DomainInternal is set if there is a cluster-local DNS name to access the Ingress.

    +

    NOTE: This differs from K8s Ingress, since we also desire to have a cluster-local +DNS name to allow routing in case of not having a mesh.

    + + +
    -template
    +meshOnly
    - -RevisionTemplateSpec - +bool
    (Optional) -

    Template holds the latest specification for the Revision to be stamped out.

    +

    MeshOnly is set if the Ingress is only load-balanced through a Service mesh.

    -
    + + + + + +
    FieldDescription
    -status
    +ingress
    - -ConfigurationStatus + +[]LoadBalancerIngressStatus
    (Optional) +

    Ingress is a list containing ingress points for the load-balancer. +Traffic intended for the service should be sent to these ingress points.

    -

    Revision +

    ServerlessServiceOperationMode +(string alias)

    +

    +(Appears on: +ServerlessServiceSpec) +

    +

    +

    ServerlessServiceOperationMode is an enumeration of the modes of operation +for the ServerlessService.

    +

    +

    ServerlessServiceSpec

    -

    Revision is an immutable snapshot of code and configuration. A revision -references a container image. Revisions are created by updates to a -Configuration.

    -

    See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision

    +(Appears on: +ServerlessService) +

    +

    +

    ServerlessServiceSpec describes the ServerlessService.

    @@ -2007,11 +2040,248 @@ Configuration.

    +mode
    + + +ServerlessServiceOperationMode + + + + + + + + + + + + + + + + + +
    -apiVersion
    -string
    - -serving.knative.dev/v1beta1 +

    Mode describes the mode of operation of the ServerlessService.

    +
    +objectRef
    + + +Kubernetes core/v1.ObjectReference + + +
    +

    ObjectRef defines the resource that this ServerlessService +is responsible for making “serverless”.

    +
    +ProtocolType
    + +knative.dev/serving/pkg/apis/networking.ProtocolType + +
    +

    The application-layer protocol. Matches RevisionProtocolType set on the owning pa/revision. +serving imports networking, so just use string.

    +
    +numActivators
    + +int32 + +
    +

    NumActivators contains number of Activators that this revision should be +assigned. +O means — assign all.

    +
    +

    ServerlessServiceStatus +

    +

    +(Appears on: +ServerlessService) +

    +

    +

    ServerlessServiceStatus describes the current state of the ServerlessService.

    +

    + + + + + + + + + + + + + + + + + + + + + +
    FieldDescription
    +Status
    + +knative.dev/pkg/apis/duck/v1.Status + +
    +

    +(Members of Status are embedded into this type.) +

    +
    +serviceName
    + +string + +
    +(Optional) +

    ServiceName holds the name of a core K8s Service resource that +load balances over the pods backing this Revision (activator or revision).

    +
    +privateServiceName
    + +string + +
    +(Optional) +

    PrivateServiceName holds the name of a core K8s Service resource that +load balances over the user service pods backing this Revision.

    +
    +
    +

    serving.knative.dev/v1

    +

    +

    +Resource Types: + +

    Configuration +

    +

    +

    Configuration represents the “floating HEAD” of a linear history of Revisions. +Users create new Revisions by updating the Configuration’s spec. +The “latest created” revision’s name is available under status, as is the +“latest ready” revision’s name. +See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration

    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    FieldDescription
    +apiVersion
    +string
    + +serving.knative.dev/v1 + +
    +kind
    +string +
    Configuration
    +metadata
    + + +Kubernetes meta/v1.ObjectMeta + + +
    +(Optional) +Refer to the Kubernetes API documentation for the fields of the +metadata field. +
    +spec
    + + +ConfigurationSpec + + +
    +(Optional) +
    +
    + + + + + +
    +template
    + + +RevisionTemplateSpec + + +
    +(Optional) +

    Template holds the latest specification for the Revision to be stamped out.

    +
    +
    +status
    + + +ConfigurationStatus + + +
    +(Optional) +
    +

    Revision +

    +

    +

    Revision is an immutable snapshot of code and configuration. A revision +references a container image. Revisions are created by updates to a +Configuration.

    +

    See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision

    +

    + + + + + + + + + + + @@ -2113,7 +2383,7 @@ RevisionStatus
    FieldDescription
    +apiVersion
    +string
    + +serving.knative.dev/v1
    -

    Route +

    Route

    Route is responsible for configuring ingress over a collection of Revisions. @@ -2137,7 +2407,7 @@ See also: Service +

    Service

    Service acts as a top-level container that manages a Route and Configuration @@ -2240,7 +2510,7 @@ and Route, reflecting their statuses and conditions as its own.

    string -serving.knative.dev/v1beta1 +serving.knative.dev/v1 @@ -2333,21 +2603,16 @@ ServiceStatus -
    -

    autoscaling.internal.knative.dev/v1alpha1

    -

    -

    -Resource Types: -
    -

    PodAutoscaler +

    ConfigurationSpec

    -

    PodAutoscaler is a Knative abstraction that encapsulates the interface by which Knative -components instantiate autoscalers. This definition is an abstraction that may be backed -by multiple definitions. For more information, see the Knative Pluggability presentation: -https://docs.google.com/presentation/d/10KWynvAJYuOEWy69VBa6bHJVCqIsz1TNdEKosNvcpPY/edit

    +(Appears on: +Configuration, +Configuration, +ServiceSpec) +

    +

    +

    ConfigurationSpec holds the desired state of the Configuration (from the client).

    @@ -2359,144 +2624,191 @@ by multiple definitions. For more information, see the Knative Pluggability pre +template
    + + +RevisionTemplateSpec + + + + +
    -apiVersion
    -string
    - -autoscaling.internal.knative.dev/v1alpha1 - +(Optional) +

    Template holds the latest specification for the Revision to be stamped out.

    +

    ConfigurationStatus +

    +

    +(Appears on: +Configuration, +Configuration) +

    +

    +

    ConfigurationStatus communicates the observed state of the Configuration (from the controller).

    +

    + + - - + + + + + + +
    -kind
    -string -
    PodAutoscalerFieldDescription
    -metadata
    +Status
    - -Kubernetes meta/v1.ObjectMeta - +knative.dev/pkg/apis/duck/v1.Status
    -(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    +(Members of Status are embedded into this type.) +

    -spec
    +ConfigurationStatusFields
    - -PodAutoscalerSpec + +ConfigurationStatusFields
    -(Optional) -

    Spec holds the desired state of the PodAutoscaler (from the client).

    -
    -
    +

    +(Members of ConfigurationStatusFields are embedded into this type.) +

    +
    +

    ConfigurationStatusFields +

    +

    +(Appears on: +ConfigurationStatus, +ServiceStatus) +

    +

    +

    ConfigurationStatusFields holds the fields of Configuration’s status that +are not generally shared. This is defined separately and inlined so that +other types can readily consume these fields via duck typing.

    +

    + + + + + + + + +
    FieldDescription
    -generation
    +latestReadyRevisionName
    -int64 +string
    (Optional) -

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 -when metadata.generation was not being incremented by the api server

    -

    This property will be dropped in future Knative releases and should -not be used - use metadata.generation

    -

    Tracking issue: https://github.com/knative/serving/issues/643

    +

    LatestReadyRevisionName holds the name of the latest Revision stamped out +from this Configuration that has had its “Ready” condition become “True”.

    -containerConcurrency
    +latestCreatedRevisionName
    -int64 +string
    (Optional) -

    ContainerConcurrency specifies the maximum allowed -in-flight (concurrent) requests per container of the Revision. -Defaults to 0 which means unlimited concurrency.

    +

    LatestCreatedRevisionName is the last revision that was created from this +Configuration. It might not be ready yet, for that use LatestReadyRevisionName.

    +

    RevisionSpec +

    +

    +(Appears on: +Revision, +Revision, +RevisionSpec, +RevisionTemplateSpec) +

    +

    +

    RevisionSpec holds the desired state of the Revision (from the client).

    +

    + + - - + + + + - -
    -scaleTargetRef
    - - -Kubernetes core/v1.ObjectReference - - -
    -

    ScaleTargetRef defines the /scale-able resource that this PodAutoscaler -is responsible for quickly right-sizing.

    -
    FieldDescription
    -reachability
    +PodSpec
    - -ReachabilityType + +Kubernetes core/v1.PodSpec
    -(Optional) -

    Reachable specifies whether or not the ScaleTargetRef can be reached (ie. has a route). -Defaults to ReachabilityUnknown

    +

    +(Members of PodSpec are embedded into this type.) +

    -protocolType
    +containerConcurrency
    -knative.dev/serving/pkg/apis/networking.ProtocolType +int64
    -

    The application-layer protocol. Matches ProtocolType inferred from the revision spec.

    -
    +(Optional) +

    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) +requests per container of the Revision. Defaults to 0 which means +concurrency to the application is not limited, and the system decides the +target concurrency for the autoscaler.

    -status
    +timeoutSeconds
    - -PodAutoscalerStatus - +int64 (Optional) -

    Status communicates the observed state of the PodAutoscaler (from the controller).

    +

    TimeoutSeconds holds the max duration the instance is allowed for +responding to a request. If unspecified, a system default will +be provided.

    -

    Metric +

    RevisionStatus

    -

    Metric represents a resource to configure the metric collector with.

    +(Appears on: +Revision, +Revision) +

    +

    +

    RevisionStatus communicates the observed state of the Revision (from the controller).

    @@ -2508,94 +2820,70 @@ PodAutoscalerStatus
    -metadata
    +Status
    - -Kubernetes meta/v1.ObjectMeta - +knative.dev/pkg/apis/duck/v1.Status
    -(Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    +(Members of Status are embedded into this type.) +

    -spec
    +serviceName
    - -MetricSpec - +string
    (Optional) -

    Spec holds the desired state of the Metric (from the client).

    -
    -
    - - - - - - - - - -
    -stableWindow
    - -time.Duration - -
    -

    StableWindow is the aggregation window for metrics in a stable state.

    -
    -panicWindow
    - -time.Duration - -
    -

    PanicWindow is the aggregation window for metrics where quick reactions are needed.

    +

    ServiceName holds the name of a core Kubernetes Service resource that +load balances over the pods backing this Revision.

    -scrapeTarget
    +logUrl
    string
    -

    ScrapeTarget is the K8s service that publishes the metric endpoint.

    -
    +(Optional) +

    LogURL specifies the generated logging url for this particular revision +based on the revision url template specified in the controller’s config.

    -status
    +imageDigest
    - -MetricStatus - +string
    (Optional) -

    Status communicates the observed state of the Metric (from the controller).

    +

    ImageDigest holds the resolved digest for the image specified +within .Spec.Container.Image. The digest is resolved during the creation +of Revision. This field holds the digest value regardless of whether +a tag or digest was originally specified in the Container object. It +may be empty if the image comes from a registry listed to skip resolution.

    -

    MetricSpec +

    RevisionTemplateSpec

    (Appears on: -Metric) +ConfigurationSpec)

    -

    MetricSpec contains all values a metric collector needs to operate.

    +

    RevisionTemplateSpec describes the data a revision should have when created from a template. +Based on: https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190

    @@ -2607,47 +2895,92 @@ MetricStatus
    -stableWindow
    +metadata
    -time.Duration + +Kubernetes meta/v1.ObjectMeta +
    -

    StableWindow is the aggregation window for metrics in a stable state.

    +(Optional) +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -panicWindow
    +spec
    -time.Duration + +RevisionSpec +
    -

    PanicWindow is the aggregation window for metrics where quick reactions are needed.

    +(Optional) +
    +
    + + + + + + + + + +
    +PodSpec
    + + +Kubernetes core/v1.PodSpec + + +
    +

    +(Members of PodSpec are embedded into this type.) +

    -scrapeTarget
    +containerConcurrency
    -string +int64
    -

    ScrapeTarget is the K8s service that publishes the metric endpoint.

    +(Optional) +

    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) +requests per container of the Revision. Defaults to 0 which means +concurrency to the application is not limited, and the system decides the +target concurrency for the autoscaler.

    +
    +timeoutSeconds
    + +int64 + +
    +(Optional) +

    TimeoutSeconds holds the max duration the instance is allowed for +responding to a request. If unspecified, a system default will +be provided.

    +
    -

    MetricStatus +

    RouteSpec

    (Appears on: -Metric) +Route, +Route, +ServiceSpec)

    -

    MetricStatus reflects the status of metric collection for this specific entity.

    +

    RouteSpec holds the desired state of the Route (from the client).

    @@ -2659,27 +2992,30 @@ string
    -Status
    +traffic
    -knative.dev/pkg/apis/duck/v1.Status + +[]TrafficTarget +
    -

    -(Members of Status are embedded into this type.) -

    +(Optional) +

    Traffic specifies how to distribute traffic over a collection of +revisions and configurations.

    -

    PodAutoscalerSpec +

    RouteStatus

    (Appears on: -PodAutoscaler) +Route, +Route)

    -

    PodAutoscalerSpec holds the desired state of the PodAutoscaler (from the client).

    +

    RouteStatus communicates the observed state of the Route (from the controller).

    @@ -2691,84 +3027,113 @@ knative.dev/pkg/apis/duck/v1.Status + +
    -generation
    +Status
    -int64 +knative.dev/pkg/apis/duck/v1.Status
    -(Optional) -

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 -when metadata.generation was not being incremented by the api server

    -

    This property will be dropped in future Knative releases and should -not be used - use metadata.generation

    -

    Tracking issue: https://github.com/knative/serving/issues/643

    +

    +(Members of Status are embedded into this type.) +

    -containerConcurrency
    +RouteStatusFields
    -int64 + +RouteStatusFields +
    -(Optional) -

    ContainerConcurrency specifies the maximum allowed -in-flight (concurrent) requests per container of the Revision. -Defaults to 0 which means unlimited concurrency.

    +

    +(Members of RouteStatusFields are embedded into this type.) +

    +

    RouteStatusFields +

    +

    +(Appears on: +RouteStatus, +ServiceStatus) +

    +

    +

    RouteStatusFields holds the fields of Route’s status that +are not generally shared. This is defined separately and inlined so that +other types can readily consume these fields via duck typing.

    +

    + + + + + + + +
    FieldDescription
    -scaleTargetRef
    +url
    - -Kubernetes core/v1.ObjectReference - +knative.dev/pkg/apis.URL
    -

    ScaleTargetRef defines the /scale-able resource that this PodAutoscaler -is responsible for quickly right-sizing.

    +(Optional) +

    URL holds the url that will distribute traffic over the provided traffic targets. +It generally has the form http[s]://{route-name}.{route-namespace}.{cluster-level-suffix}

    -reachability
    +address
    - -ReachabilityType - +knative.dev/pkg/apis/duck/v1.Addressable
    (Optional) -

    Reachable specifies whether or not the ScaleTargetRef can be reached (ie. has a route). -Defaults to ReachabilityUnknown

    +

    Address holds the information needed for a Route to be the target of an event.

    -protocolType
    +traffic
    -knative.dev/serving/pkg/apis/networking.ProtocolType + +[]TrafficTarget +
    -

    The application-layer protocol. Matches ProtocolType inferred from the revision spec.

    +(Optional) +

    Traffic holds the configured traffic distribution. +These entries will always contain RevisionName references. +When ConfigurationName appears in the spec, this will hold the +LatestReadyRevisionName that we last observed.

    -

    PodAutoscalerStatus +

    ServiceSpec

    (Appears on: -PodAutoscaler) +Service, +Service)

    -

    PodAutoscalerStatus communicates the observed state of the PodAutoscaler (from the controller).

    +

    ServiceSpec represents the configuration for the Service object. +A Service’s specification is the union of the specifications for a Route +and Configuration. The Service restricts what can be expressed in these +fields, e.g. the Route must reference the provided Configuration; +however, these limitations also enable friendlier defaulting, +e.g. Route never needs a Configuration name, and may be defaulted to +the appropriate “run latest” spec.

    @@ -2780,73 +3145,118 @@ knative.dev/serving/pkg/apis/networking.ProtocolType + +
    -Status
    +ConfigurationSpec
    -knative.dev/pkg/apis/duck/v1.Status + +ConfigurationSpec +

    -(Members of Status are embedded into this type.) +(Members of ConfigurationSpec are embedded into this type.)

    +

    ServiceSpec inlines an unrestricted ConfigurationSpec.

    -serviceName
    +RouteSpec
    -string + +RouteSpec +
    -

    ServiceName is the K8s Service name that serves the revision, scaled by this PA. -The service is created and owned by the ServerlessService object owned by this PA.

    +

    +(Members of RouteSpec are embedded into this type.) +

    +

    ServiceSpec inlines RouteSpec and restricts/defaults its fields +via webhook. In particular, this spec can only reference this +Service’s configuration and revisions (which also influences +defaults).

    +

    ServiceStatus +

    +

    +(Appears on: +Service, +Service) +

    +

    +

    ServiceStatus represents the Status stanza of the Service resource.

    +

    + + + + + + + +
    FieldDescription
    -metricsServiceName
    +Status
    -string +knative.dev/pkg/apis/duck/v1.Status
    -

    MetricsServiceName is the K8s Service name that provides revision metrics. -The service is managed by the PA object.

    +

    +(Members of Status are embedded into this type.) +

    -desiredScale
    +ConfigurationStatusFields
    -int32 + +ConfigurationStatusFields +
    -

    DesiredScale shows the current desired number of replicas for the revision.

    +

    +(Members of ConfigurationStatusFields are embedded into this type.) +

    +

    In addition to inlining ConfigurationSpec, we also inline the fields +specific to ConfigurationStatus.

    -actualScale
    +RouteStatusFields
    -int32 + +RouteStatusFields +
    -

    ActualScale shows the actual number of replicas for the revision.

    +

    +(Members of RouteStatusFields are embedded into this type.) +

    +

    In addition to inlining RouteSpec, we also inline the fields +specific to RouteStatus.

    -

    PodScalable +

    TrafficTarget

    -

    PodScalable is a duck type that the resources referenced by the -PodAutoscaler’s ScaleTargetRef must implement. They must also -implement the /scale sub-resource for use with /scale based -implementations (e.g. HPA), but this further constrains the shape -the referenced resources may take.

    +(Appears on: +RouteSpec, +RouteStatusFields, +TrafficTarget) +

    +

    +

    TrafficTarget holds a single entry of the routing table for a Route.

    @@ -2858,194 +3268,120 @@ the referenced resources may take.

    - - - - - - -
    -metadata
    - - -Kubernetes meta/v1.ObjectMeta - - -
    -Refer to the Kubernetes API documentation for the fields of the -metadata field. -
    -spec
    - - -PodScalableSpec - - -
    -
    -
    - - - - - - - - - - - - -
    -replicas
    - -int32 - -
    -
    -selector
    - - -Kubernetes meta/v1.LabelSelector - - -
    -
    -template
    +tag
    - -Kubernetes core/v1.PodTemplateSpec - +string
    -
    +(Optional) +

    Tag is optionally used to expose a dedicated url for referencing +this target exclusively.

    -status
    +revisionName
    - -PodScalableStatus - +string
    +(Optional) +

    RevisionName of a specific revision to which to send this portion of +traffic. This is mutually exclusive with ConfigurationName.

    -

    PodScalableSpec -

    -

    -(Appears on: -PodScalable) -

    -

    -

    PodScalableSpec is the specification for the desired state of a -PodScalable (or at least our shared portion).

    -

    - - - - - - - - - -
    FieldDescription
    -replicas
    +configurationName
    -int32 +string
    +(Optional) +

    ConfigurationName of a configuration to whose latest revision we will send +this portion of traffic. When the “status.latestReadyRevisionName” of the +referenced configuration changes, we will automatically migrate traffic +from the prior “latest ready” revision to the new one. This field is never +set in Route’s status, only its spec. This is mutually exclusive with +RevisionName.

    -selector
    +latestRevision
    - -Kubernetes meta/v1.LabelSelector - +bool
    +(Optional) +

    LatestRevision may be optionally provided to indicate that the latest +ready Revision of the Configuration should be used for this traffic +target. When provided LatestRevision must be true if RevisionName is +empty; it must be false when RevisionName is non-empty.

    -template
    +percent
    - -Kubernetes core/v1.PodTemplateSpec - +int64
    +(Optional) +

    Percent indicates that percentage based routing should be used and +the value indicates the percent of traffic that is be routed to this +Revision or Configuration. 0 (zero) mean no traffic, 100 means all +traffic. +When percentage based routing is being used the follow rules apply: +- the sum of all percent values must equal 100 +- when not specified, the implied value for percent is zero for +that particular Revision or Configuration

    -

    PodScalableStatus -

    -

    -(Appears on: -PodScalable) -

    -

    -

    PodScalableStatus is the observed state of a PodScalable (or at -least our shared portion).

    -

    - - - - - - - -
    FieldDescription
    -replicas
    +url
    -int32 +knative.dev/pkg/apis.URL
    +(Optional) +

    URL displays the URL for accessing named traffic targets. URL is displayed in +status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and +a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)

    -

    ReachabilityType -(string alias)

    -

    -(Appears on: -PodAutoscalerSpec) -

    -

    -

    ReachabilityType is the enumeration type for the different states of reachability -to the ScaleTarget of a PodAutoscaler

    -


    -

    networking.internal.knative.dev/v1alpha1

    +

    serving.knative.dev/v1alpha1

    Resource Types: -

    Certificate +

    Configuration

    -

    Certificate is responsible for provisioning a SSL certificate for the -given hosts. It is a Knative abstraction for various SSL certificate -provisioning solutions (such as cert-manager or self-signed SSL certificate).

    +

    Configuration represents the “floating HEAD” of a linear history of Revisions, +and optionally how the containers those revisions reference are built. +Users create new Revisions by updating the Configuration’s spec. +The “latest created” revision’s name is available under status, as is the +“latest ready” revision’s name. +See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration

    @@ -3061,7 +3397,7 @@ provisioning solutions (such as cert-manager or self-signed SSL certificate).

    @@ -3070,7 +3406,7 @@ networking.internal.knative.dev/v1alpha1 kind
    string - + @@ -3093,69 +3427,106 @@ Refer to the Kubernetes API documentation for the fields of the - -
    -networking.internal.knative.dev/v1alpha1 +serving.knative.dev/v1alpha1
    CertificateConfiguration
    @@ -3083,8 +3419,6 @@ Kubernetes meta/v1.ObjectMeta (Optional) -

    Standard object’s metadata. -More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    - -CertificateSpec + +ConfigurationSpec
    (Optional) -

    Spec is the desired state of the Certificate. -More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    +

    Spec holds the desired state of the Configuration (from the client).



    - -
    -dnsNames
    +generation
    -[]string +int64
    -

    DNSNames is a list of DNS names the Certificate could support. -The wildcard format of DNSNames (e.g. *.default.example.com) is supported.

    +(Optional) +

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 +when metadata.generation was not being incremented by the api server

    +

    This property will be dropped in future Knative releases and should +not be used - use metadata.generation

    +

    Tracking issue: https://github.com/knative/serving/issues/643

    -secretName
    +build
    -string +k8s.io/apimachinery/pkg/runtime.RawExtension
    -

    SecretName is the name of the secret resource to store the SSL certificate in.

    -
    +(Optional) +

    Build optionally holds the specification for the build to +perform to produce the Revision’s container image.

    -status
    +revisionTemplate
    - -CertificateStatus + +RevisionTemplateSpec
    (Optional) -

    Status is the current state of the Certificate. -More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

    +

    DeprecatedRevisionTemplate holds the latest specification for the Revision to +be stamped out. If a Build specification is provided, then the +DeprecatedRevisionTemplate’s BuildName field will be populated with the name of +the Build object created to produce the container for the Revision. +DEPRECATED Use Template instead.

    -

    Ingress -

    -

    -

    Ingress is a collection of rules that allow inbound connections to reach the endpoints defined -by a backend. An Ingress can be configured to give services externally-reachable URLs, load -balance traffic, offer name based virtual hosting, etc.

    -

    This is heavily based on K8s Ingress https://godoc.org/k8s.io/api/networking/v1beta1#Ingress -which some highlighted modifications.

    + + +template
    + + +RevisionTemplateSpec + + + + +(Optional) +

    Template holds the latest specification for the Revision to +be stamped out.

    + + + + + + + +status
    + + +ConfigurationStatus + + + + +(Optional) +

    Status communicates the observed state of the Configuration (from the controller).

    + + + + +

    Revision +

    +

    +

    Revision is an immutable snapshot of code and configuration. A revision +references a container image, and optionally a build that is responsible for +materializing that container image from source. Revisions are created by +updates to a Configuration.

    +

    See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision

    @@ -3171,7 +3542,7 @@ which some highlighted modifications.

    string @@ -3180,7 +3551,7 @@ networking.internal.knative.dev/v1alpha1 kind
    string - + @@ -3203,20 +3572,34 @@ Refer to the Kubernetes API documentation for the fields of the
    -networking.internal.knative.dev/v1alpha1 +serving.knative.dev/v1alpha1
    IngressRevision
    @@ -3193,8 +3564,6 @@ Kubernetes meta/v1.ObjectMeta (Optional) -

    Standard object’s metadata. -More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    - -IngressSpec + +RevisionSpec
    (Optional) -

    Spec is the desired state of the Ingress. -More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

    +

    Spec holds the desired state of the Revision (from the client).



    + + + + + + + + + + + +
    +RevisionSpec
    + + +RevisionSpec + + +
    +

    +(Members of RevisionSpec are embedded into this type.) +

    +
    generation
    int64 @@ -3233,47 +3616,84 @@ not be used - use metadata.generation

    -tls
    +servingState
    - -[]IngressTLS + +DeprecatedRevisionServingStateType
    (Optional) -

    TLS configuration. Currently Ingress only supports a single TLS -port: 443. If multiple members of this list specify different hosts, they -will be multiplexed on the same port according to the hostname specified -through the SNI TLS extension, if the ingress controller fulfilling the -ingress supports SNI.

    +

    DeprecatedServingState holds a value describing the desired state the Kubernetes +resources should be in for this Revision. +Users must not specify this when creating a revision. These values are no longer +updated by the system.

    -rules
    +concurrencyModel
    - -[]IngressRule + +DeprecatedRevisionRequestConcurrencyModelType
    (Optional) -

    A list of host rules used to configure the Ingress.

    +

    DeprecatedConcurrencyModel specifies the desired concurrency model +(Single or Multi) for the +Revision. Defaults to Multi. +Deprecated in favor of ContainerConcurrency.

    -visibility
    +buildName
    - -IngressVisibility +string + +
    +(Optional) +

    DeprecatedBuildName optionally holds the name of the Build responsible for +producing the container image for its Revision. +DEPRECATED: Use DeprecatedBuildRef instead.

    +
    +buildRef
    + + +Kubernetes core/v1.ObjectReference
    -

    Visibility setting.

    +(Optional) +

    DeprecatedBuildRef holds the reference to the build (if there is one) responsible +for producing the container image for this Revision. Otherwise, nil

    +
    +container
    + + +Kubernetes core/v1.Container + + +
    +(Optional) +

    Container defines the unit of execution for this Revision. +In the context of a Revision, we disallow a number of the fields of +this Container, including: name and lifecycle. +See also the runtime contract for more information about the execution +environment: +https://github.com/knative/serving/blob/master/docs/runtime-contract.md

    @@ -3283,26 +3703,27 @@ IngressVisibility
    status
    - -IngressStatus + +RevisionStatus
    (Optional) -

    Status is the current state of the Ingress. -More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

    +

    Status communicates the observed state of the Revision (from the controller).

    -

    ServerlessService +

    Route

    -

    ServerlessService is a proxy for the K8s service objects containing the -endpoints for the revision, whether those are endpoints of the activator or -revision pods. -See: https://knative.page.link/naxz for details.

    +

    Route is responsible for configuring ingress over a collection of Revisions. +Some of the Revisions a Route distributes traffic over may be specified by +referencing the Configuration responsible for creating them; in these cases +the Route is additionally responsible for monitoring the Configuration for +“latest ready” revision changes, and smoothly rolling out latest revisions. +See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#route

    @@ -3318,7 +3739,7 @@ See: https://knative.page.link/naxz string @@ -3327,7 +3748,7 @@ networking.internal.knative.dev/v1alpha1 kind
    string - + @@ -3350,55 +3769,45 @@ Refer to the Kubernetes API documentation for the fields of the
    -networking.internal.knative.dev/v1alpha1 +serving.knative.dev/v1alpha1
    ServerlessServiceRoute
    @@ -3340,8 +3761,6 @@ Kubernetes meta/v1.ObjectMeta (Optional) -

    Standard object’s metadata. -More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    - -ServerlessServiceSpec + +RouteSpec
    (Optional) -

    Spec is the desired state of the ServerlessService. -More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

    +

    Spec holds the desired state of the Route (from the client).



    - - - -
    -mode
    +generation
    - -ServerlessServiceOperationMode - +int64
    -

    Mode describes the mode of operation of the ServerlessService.

    +(Optional) +

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 +when metadata.generation was not being incremented by the api server

    +

    This property will be dropped in future Knative releases and should +not be used - use metadata.generation

    +

    Tracking issue: https://github.com/knative/serving/issues/643

    -objectRef
    +traffic
    - -Kubernetes core/v1.ObjectReference + +[]TrafficTarget
    -

    ObjectRef defines the resource that this ServerlessService -is responsible for making “serverless”.

    -
    -ProtocolType
    - -knative.dev/serving/pkg/apis/networking.ProtocolType - -
    -

    The application-layer protocol. Matches RevisionProtocolType set on the owning pa/revision. -serving imports networking, so just use string.

    +(Optional) +

    Traffic specifies how to distribute traffic over a collection of Knative Serving Revisions and Configurations.

    @@ -3408,27 +3817,31 @@ serving imports networking, so just use string.

    status
    - -ServerlessServiceStatus + +RouteStatus
    (Optional) -

    Status is the current state of the ServerlessService. -More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

    +

    Status communicates the observed state of the Route (from the controller).

    -

    CertificateSpec +

    Service

    -(Appears on: -Certificate) -

    -

    -

    CertificateSpec defines the desired state of a Certificate.

    +

    Service acts as a top-level container that manages a set of Routes and +Configurations which implement a network service. Service exists to provide a +singular abstraction which can be access controlled, reasoned about, and +which encapsulates software lifecycle decisions such as rollout policy and +team resource ownership. Service acts only as an orchestrator of the +underlying Routes and Configurations (much as a kubernetes Deployment +orchestrates ReplicaSets), and its usage is optional but recommended.

    +

    The Service’s controller will track the statuses of its owned Configuration +and Route, reflecting their statuses and conditions as its own.

    +

    See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#service

    @@ -3440,459 +3853,184 @@ More info: +Kubernetes meta/v1.ObjectMeta + - -
    -

    SecretName is the name of the secret resource to store the SSL certificate in.

    +(Optional) +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -

    CertificateStatus -

    -

    -(Appears on: -Certificate) -

    -

    -

    CertificateStatus defines the observed state of a Certificate.

    -

    - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -Status
    - -knative.dev/pkg/apis/duck/v1.Status - -
    -

    -(Members of Status are embedded into this type.) -

    -

    When Certificate status is ready, it means: -- The target secret exists -- The target secret contains a certificate that has not expired -- The target secret contains a private key valid for the certificate

    -
    -notAfter
    +spec
    - -Kubernetes meta/v1.Time + +ServiceSpec
    (Optional) -

    The expiration time of the TLS certificate stored in the secret named -by this resource in spec.secretName.

    -
    -http01Challenges
    - - -[]HTTP01Challenge - - -
    -

    HTTP01Challenges is a list of HTTP01 challenges that need to be fulfilled -in order to get the TLS certificate..

    -
    -

    HTTP01Challenge -

    -

    -(Appears on: -CertificateStatus) -

    -

    -

    HTTP01Challenge defines the status of a HTTP01 challenge that a certificate needs -to fulfill.

    -

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -url
    - -knative.dev/pkg/apis.URL - -
    -

    URL is the URL that the HTTP01 challenge is expected to serve on.

    -
    -serviceName
    - -string - -
    -

    ServiceName is the name of the service to serve HTTP01 challenge requests.

    -
    -serviceNamespace
    - -string - -
    -

    ServiceNamespace is the namespace of the service to serve HTTP01 challenge requests.

    -
    -servicePort
    - -k8s.io/apimachinery/pkg/util/intstr.IntOrString - -
    -

    ServicePort is the port of the service to serve HTTP01 challenge requests.

    -
    -

    HTTPIngressPath -

    -

    -(Appears on: -HTTPIngressRuleValue) -

    -

    -

    HTTPIngressPath associates a path regex with a backend. Incoming URLs matching -the path are forwarded to the backend.

    -

    +
    +
    - - - - - - - - - - - - -
    FieldDescription
    -path
    +generation
    -string +int64
    (Optional) -

    Path is an extended POSIX regex as defined by IEEE Std 1003.1, -(i.e this follows the egrep/unix syntax, not the perl syntax) -matched against the path of an incoming request. Currently it can -contain characters disallowed from the conventional “path” -part of a URL as defined by RFC 3986. Paths must begin with -a ‘/’. If unspecified, the path defaults to a catch all sending -traffic to the backend.

    +

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 +when metadata.generation was not being incremented by the api server

    +

    This property will be dropped in future Knative releases and should +not be used - use metadata.generation

    +

    Tracking issue: https://github.com/knative/serving/issues/643

    -splits
    +runLatest
    - -[]IngressBackendSplit + +RunLatestType
    -

    Splits defines the referenced service endpoints to which the traffic -will be forwarded to.

    -
    -appendHeaders
    - -map[string]string - -
    (Optional) -

    AppendHeaders allow specifying additional HTTP headers to add -before forwarding a request to the destination service.

    -

    NOTE: This differs from K8s Ingress which doesn’t allow header appending.

    +

    DeprecatedRunLatest defines a simple Service. It will automatically +configure a route that keeps the latest ready revision +from the supplied configuration running.

    -timeout
    +pinned
    - -Kubernetes meta/v1.Duration + +PinnedType
    (Optional) -

    Timeout for HTTP requests.

    -

    NOTE: This differs from K8s Ingress which doesn’t allow setting timeouts.

    +

    DeprecatedPinned is DEPRECATED in favor of ReleaseType

    -retries
    +manual
    - -HTTPRetry + +ManualType
    (Optional) -

    Retry policy for HTTP requests.

    -

    NOTE: This differs from K8s Ingress which doesn’t allow retry settings.

    +

    DeprecatedManual mode enables users to start managing the underlying Route and Configuration +resources directly. This advanced usage is intended as a path for users to graduate +from the limited capabilities of Service to the full power of Route.

    -

    HTTPIngressRuleValue -

    -

    -(Appears on: -IngressRule) -

    -

    -

    HTTPIngressRuleValue is a list of http selectors pointing to backends. -In the example: http:///? -> backend where -where parts of the url correspond to RFC 3986, this resource will be used -to match against everything after the last ‘/’ and before the first ‘?’ -or ‘#’.

    -

    - - - - - - - - - - -
    FieldDescription
    -paths
    +release
    - -[]HTTPIngressPath + +ReleaseType
    -

    A collection of paths that map requests to backends.

    -

    If they are multiple matching paths, the first match takes precendent.

    -
    -

    HTTPRetry -

    -

    -(Appears on: -HTTPIngressPath) -

    -

    -

    HTTPRetry describes the retry policy to use when a HTTP request fails.

    -

    - - - - - - - - - - - - - -
    FieldDescription
    -attempts
    - -int - -
    -

    Number of retries for a given request.

    +(Optional) +

    Release enables gradual promotion of new revisions by allowing traffic +to be split between two revisions. This type replaces the deprecated Pinned type.

    -perTryTimeout
    +ConfigurationSpec
    - -Kubernetes meta/v1.Duration + +ConfigurationSpec
    -

    Timeout per retry attempt for a given request. format: 1h/1m/1s/1ms. MUST BE >=1ms.

    -
    -

    IngressBackend -

    -(Appears on: -IngressBackendSplit) -

    -

    -

    IngressBackend describes all endpoints for a given service and port.

    +(Members of ConfigurationSpec are embedded into this type.)

    - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -serviceNamespace
    - -string - -
    -

    Specifies the namespace of the referenced service.

    -

    NOTE: This differs from K8s Ingress to allow routing to different namespaces.

    -
    -serviceName
    - -string - -
    -

    Specifies the name of the referenced service.

    -
    -servicePort
    - -k8s.io/apimachinery/pkg/util/intstr.IntOrString - -
    -

    Specifies the port of the referenced service.

    +

    We are moving to a shape where the Configuration and Route specifications +are inlined into the Service, which gives them compatible shapes. We are +staging this change here as a path to this in v1beta1, which drops the +“mode” based specifications above. Ultimately all non-v1beta1 fields will +be deprecated, and then dropped in v1beta1.

    -

    IngressBackendSplit -

    -

    -(Appears on: -HTTPIngressPath) -

    -

    -

    IngressBackendSplit describes all endpoints for a given service and port.

    -

    - - - - - - - - - - -
    FieldDescription
    -IngressBackend
    +RouteSpec
    - -IngressBackend + +RouteSpec

    -(Members of IngressBackend are embedded into this type.) +(Members of RouteSpec are embedded into this type.)

    -

    Specifies the backend receiving the traffic split.

    -percent
    - -int - -
    -

    Specifies the split percentage, a number between 0 and 100. If -only one split is specified, we default to 100.

    -

    NOTE: This differs from K8s Ingress to allow percentage split.

    +
    -appendHeaders
    +status
    -map[string]string + +ServiceStatus + (Optional) -

    AppendHeaders allow specifying additional HTTP headers to add -before forwarding a request to the destination service.

    -

    NOTE: This differs from K8s Ingress which doesn’t allow header appending.

    -

    IngressRule +

    CannotConvertError

    -(Appears on: -IngressSpec) -

    -

    -

    IngressRule represents the rules mapping the paths under a specified host to -the related backend services. Incoming requests are first evaluated for a host -match, then routed to the backend associated with the matching IngressRuleValue.

    +

    CannotConvertError is returned when a field cannot be converted.

    @@ -3904,72 +4042,38 @@ match, then routed to the backend associated with the matching IngressRuleValue. - - - -
    -hosts
    - -[]string - -
    -(Optional) -

    Host is the fully qualified domain name of a network host, as defined -by RFC 3986. Note the following deviations from the “host” part of the -URI as defined in the RFC: -1. IPs are not allowed. Currently a rule value can only apply to the -IP in the Spec of the parent . -2. The : delimiter is not respected because ports are not allowed. -Currently the port of an Ingress is implicitly :80 for http and -:443 for https. -Both these may change in the future. -If the host is unspecified, the Ingress routes all traffic based on the -specified IngressRuleValue. -If multiple matching Hosts were provided, the first rule will take precedent.

    -
    -visibility
    +Message
    - -IngressVisibility - +string
    -(Optional) -

    Visibility signifies whether this rule should ClusterLocal. If it’s not -specified then it defaults to ExternalIP.

    -http
    +Field
    - -HTTPIngressRuleValue - +string
    -

    HTTP represents a rule to apply against incoming requests. If the -rule is satisfied, the request is routed to the specified backend.

    -

    IngressSpec +

    ConfigurationSpec

    (Appears on: -Ingress) +Configuration, +PinnedType, +ReleaseType, +RunLatestType, +ServiceSpec)

    -

    IngressSpec describes the Ingress the user wishes to exist.

    -

    In general this follows the same shape as K8s Ingress. -Some notable differences: -- Backends now can have namespace: -- Traffic can be split across multiple backends. -- Timeout & Retry can be configured. -- Headers can be appended.

    +

    ConfigurationSpec holds the desired state of the Configuration (from the client).

    @@ -3997,59 +4101,60 @@ not be used - use metadata.generation

    -tls
    +build
    - -[]IngressTLS - +k8s.io/apimachinery/pkg/runtime.RawExtension
    (Optional) -

    TLS configuration. Currently Ingress only supports a single TLS -port: 443. If multiple members of this list specify different hosts, they -will be multiplexed on the same port according to the hostname specified -through the SNI TLS extension, if the ingress controller fulfilling the -ingress supports SNI.

    +

    Build optionally holds the specification for the build to +perform to produce the Revision’s container image.

    -rules
    +revisionTemplate
    - -[]IngressRule + +RevisionTemplateSpec
    (Optional) -

    A list of host rules used to configure the Ingress.

    +

    DeprecatedRevisionTemplate holds the latest specification for the Revision to +be stamped out. If a Build specification is provided, then the +DeprecatedRevisionTemplate’s BuildName field will be populated with the name of +the Build object created to produce the container for the Revision. +DEPRECATED Use Template instead.

    -visibility
    +template
    - -IngressVisibility + +RevisionTemplateSpec
    -

    Visibility setting.

    +(Optional) +

    Template holds the latest specification for the Revision to +be stamped out.

    -

    IngressStatus +

    ConfigurationStatus

    (Appears on: -Ingress) +Configuration)

    -

    IngressStatus describe the current state of the Ingress.

    +

    ConfigurationStatus communicates the observed state of the Configuration (from the controller).

    @@ -4074,57 +4179,32 @@ knative.dev/pkg/apis/duck/v1.Status - - - - - - - -
    -loadBalancer
    - - -LoadBalancerStatus - - -
    -(Optional) -

    LoadBalancer contains the current status of the load-balancer. -This is to be superseded by the combination of PublicLoadBalancer and PrivateLoadBalancer

    -
    -publicLoadBalancer
    - - -LoadBalancerStatus - - -
    -(Optional) -

    PublicLoadBalancer contains the current status of the load-balancer.

    -
    -privateLoadBalancer
    +ConfigurationStatusFields
    - -LoadBalancerStatus + +ConfigurationStatusFields
    -(Optional) -

    PrivateLoadBalancer contains the current status of the load-balancer.

    +

    +(Members of ConfigurationStatusFields are embedded into this type.) +

    -

    IngressTLS +

    ConfigurationStatusFields

    (Appears on: -IngressSpec) +ConfigurationStatus, +ServiceStatus)

    -

    IngressTLS describes the transport layer security associated with an Ingress.

    +

    ConfigurationStatusFields holds all of the non-duckv1.Status status fields of a Route. +These are defined outline so that we can also inline them into Service, and more easily +copy them.

    @@ -4136,160 +4216,73 @@ LoadBalancerStatus - - - - - - - - - - - -
    -hosts
    - -[]string - -
    -(Optional) -

    Hosts is a list of hosts included in the TLS certificate. The values in -this list must match the name/s used in the tlsSecret. Defaults to the -wildcard host setting for the loadbalancer controller fulfilling this -Ingress, if left unspecified.

    -
    -secretName
    - -string - -
    -

    SecretName is the name of the secret used to terminate SSL traffic.

    -
    -secretNamespace
    - -string - -
    -

    SecretNamespace is the namespace of the secret used to terminate SSL traffic.

    -
    -serverCertificate
    +latestReadyRevisionName
    string
    (Optional) -

    ServerCertificate identifies the certificate filename in the secret. -Defaults to tls.crt.

    +

    LatestReadyRevisionName holds the name of the latest Revision stamped out +from this Configuration that has had its “Ready” condition become “True”.

    -privateKey
    +latestCreatedRevisionName
    string
    (Optional) -

    PrivateKey identifies the private key filename in the secret. -Defaults to tls.key.

    +

    LatestCreatedRevisionName is the last revision that was created from this +Configuration. It might not be ready yet, for that use LatestReadyRevisionName.

    -

    IngressVisibility +

    DeprecatedRevisionRequestConcurrencyModelType (string alias)

    (Appears on: -IngressRule, -IngressSpec) +RevisionSpec)

    -

    IngressVisibility describes whether the Ingress should be exposed to -public gateways or not.

    +

    DeprecatedRevisionRequestConcurrencyModelType is an enumeration of the +concurrency models supported by a Revision. +DEPRECATED in favor of an integer based ContainerConcurrency setting. +TODO(vagababov): retire completely in 0.9.

    -

    LoadBalancerIngressStatus +

    DeprecatedRevisionServingStateType +(string alias)

    +

    +(Appears on: +RevisionSpec) +

    +

    +

    DeprecatedRevisionServingStateType is an enumeration of the levels of serving readiness of the Revision. +See also: https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting

    +

    +

    ManualType

    (Appears on: -LoadBalancerStatus) +ServiceSpec)

    -

    LoadBalancerIngressStatus represents the status of a load-balancer ingress point: -traffic intended for the service should be sent to an ingress point.

    +

    ManualType contains the options for configuring a manual service. See ServiceSpec for +more details.

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    FieldDescription
    -ip
    - -string - -
    -(Optional) -

    IP is set for load-balancer ingress points that are IP based -(typically GCE or OpenStack load-balancers)

    -
    -domain
    - -string - -
    -(Optional) -

    Domain is set for load-balancer ingress points that are DNS based -(typically AWS load-balancers)

    -
    -domainInternal
    - -string - -
    -(Optional) -

    DomainInternal is set if there is a cluster-local DNS name to access the Ingress.

    -

    NOTE: This differs from K8s Ingress, since we also desire to have a cluster-local -DNS name to allow routing in case of not having a mesh.

    -
    -meshOnly
    - -bool - -
    -(Optional) -

    MeshOnly is set if the Ingress is only load-balanced through a Service mesh.

    -
    -

    LoadBalancerStatus +

    PinnedType

    (Appears on: -IngressStatus) +ServiceSpec)

    -

    LoadBalancerStatus represents the status of a load-balancer.

    +

    PinnedType is DEPRECATED. ReleaseType should be used instead. To get the behavior of PinnedType set +ReleaseType.Revisions to []string{PinnedType.RevisionName} and ReleaseType.RolloutPercent to 0.

    @@ -4301,39 +4294,42 @@ bool + + + +
    -ingress
    +revisionName
    - -[]LoadBalancerIngressStatus +string + +
    +(Optional) +

    The revision name to pin this service to until changed +to a different service type.

    +
    +configuration
    + + +ConfigurationSpec
    (Optional) -

    Ingress is a list containing ingress points for the load-balancer. -Traffic intended for the service should be sent to these ingress points.

    +

    The configuration for this service.

    -

    ServerlessServiceOperationMode -(string alias)

    -

    -(Appears on: -ServerlessServiceSpec) -

    -

    -

    ServerlessServiceOperationMode is an enumeration of the modes of operation -for the ServerlessService.

    -

    -

    ServerlessServiceSpec +

    ReleaseType

    (Appears on: -ServerlessService) +ServiceSpec)

    -

    ServerlessServiceSpec describes the ServerlessService.

    +

    ReleaseType contains the options for slowly releasing revisions. See ServiceSpec for +more details.

    @@ -4345,53 +4341,57 @@ for the ServerlessService.

    -mode
    +revisions
    - -ServerlessServiceOperationMode - +[]string
    -

    Mode describes the mode of operation of the ServerlessService.

    +(Optional) +

    Revisions is an ordered list of 1 or 2 revisions. The first will +have a TrafficTarget with a name of “current” and the second will have +a name of “candidate”.

    -objectRef
    +rolloutPercent
    - -Kubernetes core/v1.ObjectReference - +int
    -

    ObjectRef defines the resource that this ServerlessService -is responsible for making “serverless”.

    +(Optional) +

    RolloutPercent is the percent of traffic that should be sent to the “candidate” +revision. Valid values are between 0 and 99 inclusive.

    -ProtocolType
    +configuration
    -knative.dev/serving/pkg/apis/networking.ProtocolType + +ConfigurationSpec +
    -

    The application-layer protocol. Matches RevisionProtocolType set on the owning pa/revision. -serving imports networking, so just use string.

    +(Optional) +

    The configuration for this service. All revisions from this service must +come from a single configuration.

    -

    ServerlessServiceStatus +

    RevisionSpec

    (Appears on: -ServerlessService) +Revision, +RevisionTemplateSpec)

    -

    ServerlessServiceStatus describes the current state of the ServerlessService.

    +

    RevisionSpec holds the desired state of the Revision (from the client).

    @@ -4403,161 +4403,202 @@ serving imports networking, so just use string.

    - -
    -Status
    +RevisionSpec
    -knative.dev/pkg/apis/duck/v1.Status + +RevisionSpec +

    -(Members of Status are embedded into this type.) +(Members of RevisionSpec are embedded into this type.)

    -serviceName
    +generation
    -string +int64
    (Optional) -

    ServiceName holds the name of a core K8s Service resource that -load balances over the pods backing this Revision (activator or revision).

    +

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 +when metadata.generation was not being incremented by the api server

    +

    This property will be dropped in future Knative releases and should +not be used - use metadata.generation

    +

    Tracking issue: https://github.com/knative/serving/issues/643

    -privateServiceName
    +servingState
    -string + +DeprecatedRevisionServingStateType +
    (Optional) -

    PrivateServiceName holds the name of a core K8s Service resource that -load balances over the user service pods backing this Revision.

    +

    DeprecatedServingState holds a value describing the desired state the Kubernetes +resources should be in for this Revision. +Users must not specify this when creating a revision. These values are no longer +updated by the system.

    -
    -

    serving.knative.dev/v1

    -

    -

    -Resource Types: - -

    Configuration -

    -

    -

    Configuration represents the “floating HEAD” of a linear history of Revisions. -Users create new Revisions by updating the Configuration’s spec. -The “latest created” revision’s name is available under status, as is the -“latest ready” revision’s name. -See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration

    -

    - - - - - - - - +concurrencyModel
    + + +DeprecatedRevisionRequestConcurrencyModelType + + + + - + + +
    FieldDescription
    -apiVersion
    -string
    - -serving.knative.dev/v1 - +(Optional) +

    DeprecatedConcurrencyModel specifies the desired concurrency model +(Single or Multi) for the +Revision. Defaults to Multi. +Deprecated in favor of ContainerConcurrency.

    -kind
    +buildName
    + string + +
    +(Optional) +

    DeprecatedBuildName optionally holds the name of the Build responsible for +producing the container image for its Revision. +DEPRECATED: Use DeprecatedBuildRef instead.

    Configuration
    -metadata
    +buildRef
    - -Kubernetes meta/v1.ObjectMeta + +Kubernetes core/v1.ObjectReference
    (Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    DeprecatedBuildRef holds the reference to the build (if there is one) responsible +for producing the container image for this Revision. Otherwise, nil

    -spec
    +container
    - -ConfigurationSpec + +Kubernetes core/v1.Container
    (Optional) -
    -
    +

    Container defines the unit of execution for this Revision. +In the context of a Revision, we disallow a number of the fields of +this Container, including: name and lifecycle. +See also the runtime contract for more information about the execution +environment: +https://github.com/knative/serving/blob/master/docs/runtime-contract.md

    +
    +

    RevisionStatus +

    +

    +(Appears on: +Revision) +

    +

    +

    RevisionStatus communicates the observed state of the Revision (from the controller).

    +

    + + + + + + + + + + + -
    FieldDescription
    -template
    +Status
    - -RevisionTemplateSpec - +knative.dev/pkg/apis/duck/v1.Status + +
    +

    +(Members of Status are embedded into this type.) +

    +
    +serviceName
    + +string
    (Optional) -

    Template holds the latest specification for the Revision to be stamped out.

    +

    ServiceName holds the name of a core Kubernetes Service resource that +load balances over the pods backing this Revision.

    + + +logUrl
    + +string + + + +(Optional) +

    LogURL specifies the generated logging url for this particular revision +based on the revision url template specified in the controller’s config.

    -status
    +imageDigest
    - -ConfigurationStatus - +string (Optional) +

    ImageDigest holds the resolved digest for the image specified +within .Spec.Container.Image. The digest is resolved during the creation +of Revision. This field holds the digest value regardless of whether +a tag or digest was originally specified in the Container object. It +may be empty if the image comes from a registry listed to skip resolution.

    -

    Revision +

    RevisionTemplateSpec

    -

    Revision is an immutable snapshot of code and configuration. A revision -references a container image. Revisions are created by updates to a -Configuration.

    -

    See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision

    +(Appears on: +ConfigurationSpec) +

    +

    +

    RevisionTemplateSpec describes the data a revision should have when created from a template. +Based on: https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190

    @@ -4569,23 +4610,6 @@ Configuration.

    - - - - - - - - - -
    -apiVersion
    -string
    - -serving.knative.dev/v1 - -
    -kind
    -string -
    Revision
    metadata
    @@ -4603,7 +4627,7 @@ Refer to the Kubernetes API documentation for the fields of the
    spec
    - + RevisionSpec @@ -4615,178 +4639,180 @@ RevisionSpec - -
    -PodSpec
    +RevisionSpec
    - -Kubernetes core/v1.PodSpec + +RevisionSpec

    -(Members of PodSpec are embedded into this type.) +(Members of RevisionSpec are embedded into this type.)

    -containerConcurrency
    +generation
    int64
    (Optional) -

    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) -requests per container of the Revision. Defaults to 0 which means -concurrency to the application is not limited, and the system decides the -target concurrency for the autoscaler.

    +

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 +when metadata.generation was not being incremented by the api server

    +

    This property will be dropped in future Knative releases and should +not be used - use metadata.generation

    +

    Tracking issue: https://github.com/knative/serving/issues/643

    -timeoutSeconds
    +servingState
    -int64 + +DeprecatedRevisionServingStateType +
    (Optional) -

    TimeoutSeconds holds the max duration the instance is allowed for -responding to a request. If unspecified, a system default will -be provided.

    -
    +

    DeprecatedServingState holds a value describing the desired state the Kubernetes +resources should be in for this Revision. +Users must not specify this when creating a revision. These values are no longer +updated by the system.

    -status
    +concurrencyModel
    - -RevisionStatus + +DeprecatedRevisionRequestConcurrencyModelType
    (Optional) +

    DeprecatedConcurrencyModel specifies the desired concurrency model +(Single or Multi) for the +Revision. Defaults to Multi. +Deprecated in favor of ContainerConcurrency.

    -

    Route -

    -

    -

    Route is responsible for configuring ingress over a collection of Revisions. -Some of the Revisions a Route distributes traffic over may be specified by -referencing the Configuration responsible for creating them; in these cases -the Route is additionally responsible for monitoring the Configuration for -“latest ready revision” changes, and smoothly rolling out latest revisions. -See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#route

    -

    - - - - - - - - - - - - + +
    FieldDescription
    -apiVersion
    -string
    - -serving.knative.dev/v1 - +buildName
    + +string +
    -kind
    -string +(Optional) +

    DeprecatedBuildName optionally holds the name of the Build responsible for +producing the container image for its Revision. +DEPRECATED: Use DeprecatedBuildRef instead.

    Route
    -metadata
    +buildRef
    - -Kubernetes meta/v1.ObjectMeta + +Kubernetes core/v1.ObjectReference
    (Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    DeprecatedBuildRef holds the reference to the build (if there is one) responsible +for producing the container image for this Revision. Otherwise, nil

    -spec
    +container
    - -RouteSpec + +Kubernetes core/v1.Container
    (Optional) -

    Spec holds the desired state of the Route (from the client).

    -
    -
    +

    Container defines the unit of execution for this Revision. +In the context of a Revision, we disallow a number of the fields of +this Container, including: name and lifecycle. +See also the runtime contract for more information about the execution +environment: +https://github.com/knative/serving/blob/master/docs/runtime-contract.md

    +
    + + + + +

    RouteSpec +

    +

    +(Appears on: +Route, +ServiceSpec) +

    +

    +

    RouteSpec holds the desired state of the Route (from the client).

    +

    + + + + + + + - -
    FieldDescription
    -traffic
    +generation
    - -[]TrafficTarget - +int64
    (Optional) -

    Traffic specifies how to distribute traffic over a collection of -revisions and configurations.

    -
    +

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 +when metadata.generation was not being incremented by the api server

    +

    This property will be dropped in future Knative releases and should +not be used - use metadata.generation

    +

    Tracking issue: https://github.com/knative/serving/issues/643

    -status
    +traffic
    - -RouteStatus + +[]TrafficTarget (Optional) -

    Status communicates the observed state of the Route (from the controller).

    +

    Traffic specifies how to distribute traffic over a collection of Knative Serving Revisions and Configurations.

    -

    Service +

    RouteStatus

    -

    Service acts as a top-level container that manages a Route and Configuration -which implement a network service. Service exists to provide a singular -abstraction which can be access controlled, reasoned about, and which -encapsulates software lifecycle decisions such as rollout policy and -team resource ownership. Service acts only as an orchestrator of the -underlying Routes and Configurations (much as a kubernetes Deployment -orchestrates ReplicaSets), and its usage is optional but recommended.

    -

    The Service’s controller will track the statuses of its owned Configuration -and Route, reflecting their statuses and conditions as its own.

    -

    See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#service

    +(Appears on: +Route) +

    +

    +

    RouteStatus communicates the observed state of the Route (from the controller).

    @@ -4798,113 +4824,135 @@ and Route, reflecting their statuses and conditions as its own.

    +Status
    + +knative.dev/pkg/apis/duck/v1.Status + + - + + + +
    -apiVersion
    -string
    - -serving.knative.dev/v1 - +

    +(Members of Status are embedded into this type.) +

    -kind
    -string +RouteStatusFields
    + + +RouteStatusFields + +
    Service +

    +(Members of RouteStatusFields are embedded into this type.) +

    +
    +

    RouteStatusFields +

    +

    +(Appears on: +RouteStatus, +ServiceStatus) +

    +

    +

    RouteStatusFields holds all of the non-duckv1.Status status fields of a Route. +These are defined outline so that we can also inline them into Service, and more easily +copy them.

    +

    + + + + + + +
    FieldDescription
    -metadata
    +url
    - -Kubernetes meta/v1.ObjectMeta - +knative.dev/pkg/apis.URL
    (Optional) -Refer to the Kubernetes API documentation for the fields of the -metadata field. +

    URL holds the url that will distribute traffic over the provided traffic targets. +It generally has the form http[s]://{route-name}.{route-namespace}.{cluster-level-suffix}

    -spec
    +domain
    - -ServiceSpec - +string
    (Optional) -
    -
    - +

    DeprecatedDomain holds the top-level domain that will distribute traffic over the provided targets. +It generally has the form {route-name}.{route-namespace}.{cluster-level-suffix}

    + + - -
    -ConfigurationSpec
    +domainInternal
    - -ConfigurationSpec - +string
    -

    -(Members of ConfigurationSpec are embedded into this type.) -

    -

    ServiceSpec inlines an unrestricted ConfigurationSpec.

    +(Optional) +

    DeprecatedDomainInternal holds the top-level domain that will distribute traffic over the provided +targets from inside the cluster. It generally has the form +{route-name}.{route-namespace}.svc.{cluster-domain-name} +DEPRECATED: Use Address instead.

    -RouteSpec
    +address
    - -RouteSpec - +knative.dev/pkg/apis/duck/v1alpha1.Addressable
    -

    -(Members of RouteSpec are embedded into this type.) -

    -

    ServiceSpec inlines RouteSpec and restricts/defaults its fields -via webhook. In particular, this spec can only reference this -Service’s configuration and revisions (which also influences -defaults).

    -
    +(Optional) +

    Address holds the information needed for a Route to be the target of an event.

    -status
    +traffic
    - -ServiceStatus + +[]TrafficTarget
    (Optional) +

    Traffic holds the configured traffic distribution. +These entries will always contain RevisionName references. +When ConfigurationName appears in the spec, this will hold the +LatestReadyRevisionName that we last observed.

    -

    ConfigurationSpec +

    RunLatestType

    (Appears on: -Configuration, -Configuration, -ServiceSpec) +ServiceSpec)

    -

    ConfigurationSpec holds the desired state of the Configuration (from the client).

    +

    RunLatestType contains the options for always having a route to the latest configuration. See +ServiceSpec for more details.

    @@ -4916,29 +4964,31 @@ ServiceStatus
    -template
    +configuration
    - -RevisionTemplateSpec + +ConfigurationSpec
    (Optional) -

    Template holds the latest specification for the Revision to be stamped out.

    +

    The configuration for this service.

    -

    ConfigurationStatus +

    ServiceSpec

    (Appears on: -Configuration, -Configuration) +Service)

    -

    ConfigurationStatus communicates the observed state of the Configuration (from the controller).

    +

    ServiceSpec represents the configuration for the Service object. Exactly one +of its members (other than Generation) must be specified. Services can either +track the latest ready revision of a configuration or be pinned to a specific +revision.

    @@ -4950,93 +5000,126 @@ RevisionTemplateSpec - -
    -Status
    +generation
    -knative.dev/pkg/apis/duck/v1.Status +int64
    -

    -(Members of Status are embedded into this type.) -

    +(Optional) +

    DeprecatedGeneration was used prior in Kubernetes versions <1.11 +when metadata.generation was not being incremented by the api server

    +

    This property will be dropped in future Knative releases and should +not be used - use metadata.generation

    +

    Tracking issue: https://github.com/knative/serving/issues/643

    -ConfigurationStatusFields
    +runLatest
    - -ConfigurationStatusFields + +RunLatestType
    -

    -(Members of ConfigurationStatusFields are embedded into this type.) -

    +(Optional) +

    DeprecatedRunLatest defines a simple Service. It will automatically +configure a route that keeps the latest ready revision +from the supplied configuration running.

    -

    ConfigurationStatusFields -

    -

    -(Appears on: -ConfigurationStatus, -ServiceStatus) -

    -

    -

    ConfigurationStatusFields holds the fields of Configuration’s status that -are not generally shared. This is defined separately and inlined so that -other types can readily consume these fields via duck typing.

    -

    - - - - + + - - + + + + + + + +
    FieldDescription +pinned
    + + +PinnedType + + +
    +(Optional) +

    DeprecatedPinned is DEPRECATED in favor of ReleaseType

    +
    -latestReadyRevisionName
    +manual
    -string + +ManualType +
    (Optional) -

    LatestReadyRevisionName holds the name of the latest Revision stamped out -from this Configuration that has had its “Ready” condition become “True”.

    +

    DeprecatedManual mode enables users to start managing the underlying Route and Configuration +resources directly. This advanced usage is intended as a path for users to graduate +from the limited capabilities of Service to the full power of Route.

    -latestCreatedRevisionName
    +release
    -string + +ReleaseType +
    (Optional) -

    LatestCreatedRevisionName is the last revision that was created from this -Configuration. It might not be ready yet, for that use LatestReadyRevisionName.

    +

    Release enables gradual promotion of new revisions by allowing traffic +to be split between two revisions. This type replaces the deprecated Pinned type.

    +
    +ConfigurationSpec
    + + +ConfigurationSpec + + +
    +

    +(Members of ConfigurationSpec are embedded into this type.) +

    +

    We are moving to a shape where the Configuration and Route specifications +are inlined into the Service, which gives them compatible shapes. We are +staging this change here as a path to this in v1beta1, which drops the +“mode” based specifications above. Ultimately all non-v1beta1 fields will +be deprecated, and then dropped in v1beta1.

    +
    +RouteSpec
    + + +RouteSpec + + +
    +

    +(Members of RouteSpec are embedded into this type.) +

    -

    RevisionSpec +

    ServiceStatus

    (Appears on: -Revision, -Revision, -RevisionSpec, -RevisionTemplateSpec) +Service)

    -

    RevisionSpec holds the desired state of the Revision (from the client).

    +

    ServiceStatus represents the Status stanza of the Service resource.

    @@ -5048,59 +5131,58 @@ Configuration. It might not be ready yet, for that use LatestReadyRevisionName.< -
    -PodSpec
    +Status
    - -Kubernetes core/v1.PodSpec - +knative.dev/pkg/apis/duck/v1.Status

    -(Members of PodSpec are embedded into this type.) +(Members of Status are embedded into this type.)

    -containerConcurrency
    +RouteStatusFields
    -int64 + +RouteStatusFields +
    -(Optional) -

    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) -requests per container of the Revision. Defaults to 0 which means -concurrency to the application is not limited, and the system decides the -target concurrency for the autoscaler.

    +

    +(Members of RouteStatusFields are embedded into this type.) +

    -timeoutSeconds
    +ConfigurationStatusFields
    -int64 + +ConfigurationStatusFields +
    -(Optional) -

    TimeoutSeconds holds the max duration the instance is allowed for -responding to a request. If unspecified, a system default will -be provided.

    +
    +

    +(Members of ConfigurationStatusFields are embedded into this type.) +

    -

    RevisionStatus +

    TrafficTarget

    (Appears on: -Revision, -Revision) +RouteSpec, +RouteStatusFields)

    -

    RevisionStatus communicates the observed state of the Revision (from the controller).

    +

    TrafficTarget holds a single entry of the routing table for a Route.

    @@ -5112,70 +5194,58 @@ be provided.

    - - - - - - - -
    -Status
    - -knative.dev/pkg/apis/duck/v1.Status - -
    -

    -(Members of Status are embedded into this type.) -

    -
    -serviceName
    - -string - -
    -(Optional) -

    ServiceName holds the name of a core Kubernetes Service resource that -load balances over the pods backing this Revision.

    -
    -logUrl
    +name
    string
    (Optional) -

    LogURL specifies the generated logging url for this particular revision -based on the revision url template specified in the controller’s config.

    +

    Name is optionally used to expose a dedicated hostname for referencing this +target exclusively. It has the form: {name}.${route.status.domain}

    -imageDigest
    +TrafficTarget
    -string + +TrafficTarget +
    -(Optional) -

    ImageDigest holds the resolved digest for the image specified -within .Spec.Container.Image. The digest is resolved during the creation -of Revision. This field holds the digest value regardless of whether -a tag or digest was originally specified in the Container object. It -may be empty if the image comes from a registry listed to skip resolution.

    +

    +(Members of TrafficTarget are embedded into this type.) +

    +

    We inherit most of our fields by inlining the v1 type. +Ultimately all non-v1 fields will be deprecated.

    -

    RevisionTemplateSpec -

    +
    +

    serving.knative.dev/v1beta1

    -(Appears on: -ConfigurationSpec)

    +Resource Types: + +

    Configuration +

    -

    RevisionTemplateSpec describes the data a revision should have when created from a template. -Based on: https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190

    +

    Configuration represents the “floating HEAD” of a linear history of Revisions. +Users create new Revisions by updating the Configuration’s spec. +The “latest created” revision’s name is available under status, as is the +“latest ready” revision’s name. +See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#configuration

    @@ -5187,6 +5257,23 @@ Based on: @@ -5204,8 +5291,8 @@ Refer to the Kubernetes API documentation for the fields of the @@ -5216,63 +5303,43 @@ RevisionSpec
    spec
    - -RevisionSpec + +ConfigurationSpec
    - - -
    -PodSpec
    +template
    - -Kubernetes core/v1.PodSpec + +RevisionTemplateSpec
    -

    -(Members of PodSpec are embedded into this type.) -

    +(Optional) +

    Template holds the latest specification for the Revision to be stamped out.

    -containerConcurrency
    - -int64 - -
    -(Optional) -

    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) -requests per container of the Revision. Defaults to 0 which means -concurrency to the application is not limited, and the system decides the -target concurrency for the autoscaler.

    +
    -timeoutSeconds
    +status
    -int64 +
    +ConfigurationStatus + (Optional) -

    TimeoutSeconds holds the max duration the instance is allowed for -responding to a request. If unspecified, a system default will -be provided.

    - - - -

    RouteSpec +

    Revision

    -(Appears on: -Route, -Route, -ServiceSpec) -

    -

    -

    RouteSpec holds the desired state of the Route (from the client).

    +

    Revision is an immutable snapshot of code and configuration. A revision +references a container image. Revisions are created by updates to a +Configuration.

    +

    See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#revision

    @@ -5284,148 +5351,121 @@ be provided.

    + + + + + + + + - -
    -traffic
    +apiVersion
    +string
    + +serving.knative.dev/v1beta1 + +
    +kind
    +string +
    Revision
    +metadata
    - -[]TrafficTarget + +Kubernetes meta/v1.ObjectMeta
    (Optional) -

    Traffic specifies how to distribute traffic over a collection of -revisions and configurations.

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -

    RouteStatus -

    -

    -(Appears on: -Route, -Route) -

    -

    -

    RouteStatus communicates the observed state of the Route (from the controller).

    -

    - - - - - - - - - +(Optional) +
    +
    +
    FieldDescription
    -Status
    +spec
    -knative.dev/pkg/apis/duck/v1.Status + +RevisionSpec +
    -

    -(Members of Status are embedded into this type.) -

    -
    - -
    -RouteStatusFields
    +PodSpec
    - -RouteStatusFields + +Kubernetes core/v1.PodSpec

    -(Members of RouteStatusFields are embedded into this type.) +(Members of PodSpec are embedded into this type.)

    -

    RouteStatusFields -

    -

    -(Appears on: -RouteStatus, -ServiceStatus) -

    -

    -

    RouteStatusFields holds the fields of Route’s status that -are not generally shared. This is defined separately and inlined so that -other types can readily consume these fields via duck typing.

    -

    - - - - - - - - + +
    FieldDescription
    -url
    +containerConcurrency
    -knative.dev/pkg/apis.URL +int64
    (Optional) -

    URL holds the url that will distribute traffic over the provided traffic targets. -It generally has the form http[s]://{route-name}.{route-namespace}.{cluster-level-suffix}

    +

    ContainerConcurrency specifies the maximum allowed in-flight (concurrent) +requests per container of the Revision. Defaults to 0 which means +concurrency to the application is not limited, and the system decides the +target concurrency for the autoscaler.

    -address
    +timeoutSeconds
    -knative.dev/pkg/apis/duck/v1.Addressable +int64
    (Optional) -

    Address holds the information needed for a Route to be the target of an event.

    +

    TimeoutSeconds holds the max duration the instance is allowed for +responding to a request. If unspecified, a system default will +be provided.

    +
    -traffic
    +status
    - -[]TrafficTarget + +RevisionStatus (Optional) -

    Traffic holds the configured traffic distribution. -These entries will always contain RevisionName references. -When ConfigurationName appears in the spec, this will hold the -LatestReadyRevisionName that we last observed.

    -

    ServiceSpec +

    Route

    -(Appears on: -Service, -Service) -

    -

    -

    ServiceSpec represents the configuration for the Service object. -A Service’s specification is the union of the specifications for a Route -and Configuration. The Service restricts what can be expressed in these -fields, e.g. the Route must reference the provided Configuration; -however, these limitations also enable friendlier defaulting, -e.g. Route never needs a Configuration name, and may be defaulted to -the appropriate “run latest” spec.

    +

    Route is responsible for configuring ingress over a collection of Revisions. +Some of the Revisions a Route distributes traffic over may be specified by +referencing the Configuration responsible for creating them; in these cases +the Route is additionally responsible for monitoring the Configuration for +“latest ready revision” changes, and smoothly rolling out latest revisions. +See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#route

    @@ -5437,118 +5477,98 @@ the appropriate “run latest” spec.

    + + + + - -
    -ConfigurationSpec
    - - -ConfigurationSpec - - +apiVersion
    +string
    + +serving.knative.dev/v1beta1 +
    -

    -(Members of ConfigurationSpec are embedded into this type.) -

    -

    ServiceSpec inlines an unrestricted ConfigurationSpec.

    +kind
    +string
    Route
    -RouteSpec
    +metadata
    - -RouteSpec + +Kubernetes meta/v1.ObjectMeta
    -

    -(Members of RouteSpec are embedded into this type.) -

    -

    ServiceSpec inlines RouteSpec and restricts/defaults its fields -via webhook. In particular, this spec can only reference this -Service’s configuration and revisions (which also influences -defaults).

    +(Optional) +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -

    ServiceStatus -

    -

    -(Appears on: -Service, -Service) -

    -

    -

    ServiceStatus represents the Status stanza of the Service resource.

    -

    - - - - - - - - - +(Optional) +

    Spec holds the desired state of the Route (from the client).

    +
    +
    +
    FieldDescription
    -Status
    +spec
    -knative.dev/pkg/apis/duck/v1.Status + +RouteSpec +
    -

    -(Members of Status are embedded into this type.) -

    -
    + +
    -ConfigurationStatusFields
    +traffic
    - -ConfigurationStatusFields + +[]TrafficTarget
    -

    -(Members of ConfigurationStatusFields are embedded into this type.) -

    -

    In addition to inlining ConfigurationSpec, we also inline the fields -specific to ConfigurationStatus.

    +(Optional) +

    Traffic specifies how to distribute traffic over a collection of +revisions and configurations.

    +
    -RouteStatusFields
    +status
    - -RouteStatusFields + +RouteStatus -

    -(Members of RouteStatusFields are embedded into this type.) -

    -

    In addition to inlining RouteSpec, we also inline the fields -specific to RouteStatus.

    +(Optional) +

    Status communicates the observed state of the Route (from the controller).

    -

    TrafficTarget +

    Service

    -(Appears on: -RouteSpec, -RouteStatusFields, -TrafficTarget) -

    -

    -

    TrafficTarget holds a single entry of the routing table for a Route.

    +

    Service acts as a top-level container that manages a Route and Configuration +which implement a network service. Service exists to provide a singular +abstraction which can be access controlled, reasoned about, and which +encapsulates software lifecycle decisions such as rollout policy and +team resource ownership. Service acts only as an orchestrator of the +underlying Routes and Configurations (much as a kubernetes Deployment +orchestrates ReplicaSets), and its usage is optional but recommended.

    +

    The Service’s controller will track the statuses of its owned Configuration +and Route, reflecting their statuses and conditions as its own.

    +

    See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#service

    @@ -5560,93 +5580,99 @@ specific to RouteStatus.

    + + + + - +
    +
    +
    -tag
    - -string - +apiVersion
    +string
    + +serving.knative.dev/v1beta1 +
    -(Optional) -

    Tag is optionally used to expose a dedicated url for referencing -this target exclusively.

    +kind
    +string
    Service
    -revisionName
    +metadata
    -string + +Kubernetes meta/v1.ObjectMeta +
    (Optional) -

    RevisionName of a specific revision to which to send this portion of -traffic. This is mutually exclusive with ConfigurationName.

    +Refer to the Kubernetes API documentation for the fields of the +metadata field.
    -configurationName
    +spec
    -string + +ServiceSpec +
    (Optional) -

    ConfigurationName of a configuration to whose latest revision we will send -this portion of traffic. When the “status.latestReadyRevisionName” of the -referenced configuration changes, we will automatically migrate traffic -from the prior “latest ready” revision to the new one. This field is never -set in Route’s status, only its spec. This is mutually exclusive with -RevisionName.

    -
    + +
    -latestRevision
    +ConfigurationSpec
    -bool + +ConfigurationSpec +
    -(Optional) -

    LatestRevision may be optionally provided to indicate that the latest -ready Revision of the Configuration should be used for this traffic -target. When provided LatestRevision must be true if RevisionName is -empty; it must be false when RevisionName is non-empty.

    +

    +(Members of ConfigurationSpec are embedded into this type.) +

    +

    ServiceSpec inlines an unrestricted ConfigurationSpec.

    -percent
    +RouteSpec
    -int64 + +RouteSpec +
    -(Optional) -

    Percent indicates that percentage based routing should be used and -the value indicates the percent of traffic that is be routed to this -Revision or Configuration. 0 (zero) mean no traffic, 100 means all -traffic. -When percentage based routing is being used the follow rules apply: -- the sum of all percent values must equal 100 -- when not specified, the implied value for percent is zero for -that particular Revision or Configuration

    +

    +(Members of RouteSpec are embedded into this type.) +

    +

    ServiceSpec inlines RouteSpec and restricts/defaults its fields +via webhook. In particular, this spec can only reference this +Service’s configuration and revisions (which also influences +defaults).

    +
    -url
    +status
    -knative.dev/pkg/apis.URL + +ServiceStatus + (Optional) -

    URL displays the URL for accessing named traffic targets. URL is displayed in -status, and is disallowed on spec. URL must contain a scheme (e.g. http://) and -a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)

    @@ -5654,5 +5680,5 @@ a hostname, but may not contain anything else (e.g. basic auth, url path, etc.)<

    Generated with gen-crd-api-reference-docs -on git commit 804b3bb85. +on git commit f87352b72.