Resource: Configuration
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.
JSON representation |
---|
{ "apiVersion": string, "kind": string, "metadata": { object ( |
Fields | |
---|---|
apiVersion |
The API version for this call such as "serving.knative.dev/v1". |
kind |
The kind of resource, in this case always "Configuration". |
metadata |
Metadata associated with this Configuration, including name, namespace, labels, and annotations. |
spec |
Spec holds the desired state of the Configuration (from the client). |
status |
Status communicates the observed state of the Configuration (from the controller). |
ConfigurationSpec
ConfigurationSpec holds the desired state of the Configuration (from the client).
JSON representation |
---|
{
"template": {
object ( |
Fields | |
---|---|
template |
Template holds the latest specification for the Revision to be stamped out. |
ConfigurationStatus
ConfigurationStatus communicates the observed state of the Configuration (from the controller).
JSON representation |
---|
{
"observedGeneration": integer,
"latestCreatedRevisionName": string,
"latestReadyRevisionName": string,
"conditions": [
{
object ( |
Fields | |
---|---|
observedGeneration |
ObservedGeneration is the 'Generation' of the Configuration that was last processed by the controller. The observed generation is updated even if the controller failed to process the spec and create the Revision. Clients polling for completed reconciliation should poll until observedGeneration = metadata.generation, and the Ready condition's status is True or False. |
latestCreatedRevisionName |
LatestCreatedRevisionName is the last revision that was created from this Configuration. It might not be ready yet, so for the latest ready revision, use LatestReadyRevisionName. |
latestReadyRevisionName |
LatestReadyRevisionName holds the name of the latest Revision stamped out from this Configuration that has had its "Ready" condition become "True". |
conditions[] |
Conditions communicate information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world. |
Methods |
|
---|---|
|
Get information about a configuration. |
|
List configurations. |