# Step

> Step is a tenant's saved, configured step: the namespaced twin of the cluster-scoped ClusterStep, as ModelClass is of ClusterModelClass.

Source: https://docs.go-lumen.ai/es/reference/resources/step

## At a glance

| Propiedad | Valor |
| --- | --- |
| **apiVersion** | `lumen.ai/v1alpha1` |
| **kind** | `Step` |
| **Resource name** | `steps` |
| **Scope** | Namespaced (lives in a workspace's namespace) |

## Spec

Fields under `spec:`. Nested fields are indented under their parent.

| Campo | Tipo | Valor por defecto | Descripción |
| --- | --- | --- | --- |
| `description` | string |  | (maxLength 1000) |
| `displayName` (obligatorio) | string |  | DisplayName is the title the UI shows. (minLength 1; maxLength 200) |
| `from` (obligatorio) | object |  | From is the ClusterStep this configures. It cannot change: a saved step keeps its type, and a different one is a new Step. **Regla:** a saved step cannot change its step type; create a new one |
| `from.clusterStep` (obligatorio) | string |  | ClusterStep is the name of a ClusterStep. A tenant's Step never brings an executor of its own: it configures one the platform ships. (minLength 1) |
| `open` | list of string |  | Open names the config fields a flow node may set; the only ones. Each must be a property of the ClusterStep's configSchema and must not be set in with. (maxItems 64) |
| `with` | object (free-form) |  | With is the ClusterStep's config for this Step, validated against its configSchema. These settings are locked: a flow node cannot change them. |

## Status

Written by Lumen; do not set it. Only the phase and the conditions are described here.

| Campo | Tipo | Valor por defecto | Descripción |
| --- | --- | --- | --- |
| `conditions` | list of object |  |  |
| `conditions[].lastTransitionTime` (obligatorio) | string |  | lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| `conditions[].message` (obligatorio) | string |  | message is a human readable message indicating details about the transition. This may be an empty string. (maxLength 32768) |
| `conditions[].observedGeneration` | integer |  | observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions\[x\].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. (minimum 0) |
| `conditions[].reason` (obligatorio) | string |  | reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. (minLength 1; maxLength 1024; pattern \`^\[A-Za-z\](\[A-Za-z0-9\_,:\]\*\[A-Za-z0-9\_\])?$\`) |
| `conditions[].status` (obligatorio) | string |  | status of the condition, one of True, False, Unknown. (one of True, False, Unknown) |
| `conditions[].type` (obligatorio) | string |  | type of condition in CamelCase or in foo.example.com/CamelCase. (maxLength 316; pattern \`^(\[a-z0-9\](\[-a-z0-9\]\*\[a-z0-9\])?(\\.\[a-z0-9\](\[-a-z0-9\]\*\[a-z0-9\])?)\*/)?((\[A-Za-z0-9\]\[-A-Za-z0-9\_.\]\*)?\[A-Za-z0-9\])$\`) |

## kubectl columns

| Column | Type | JSONPath |
| --- | --- | --- |
| From | string | `.spec.from.clusterStep` |
| Revision | integer | `.status.revision` |
| Ready | string | `.status.conditions[?(@.type=="Ready")].status` |
| Age | date | `.metadata.creationTimestamp` |
