|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.18.0 |
| 7 | + name: sandboxes.agents.kruise.io |
| 8 | +spec: |
| 9 | + group: agents.kruise.io |
| 10 | + names: |
| 11 | + kind: Sandbox |
| 12 | + listKind: SandboxList |
| 13 | + plural: sandboxes |
| 14 | + shortNames: |
| 15 | + - sbx |
| 16 | + singular: sandbox |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - jsonPath: .status.phase |
| 21 | + name: Status |
| 22 | + type: string |
| 23 | + - jsonPath: .metadata.creationTimestamp |
| 24 | + name: Age |
| 25 | + type: date |
| 26 | + - jsonPath: .spec.shutdownTime |
| 27 | + name: shutdown_time |
| 28 | + type: string |
| 29 | + - jsonPath: .spec.pauseTime |
| 30 | + name: pause_time |
| 31 | + type: string |
| 32 | + - jsonPath: .status.message |
| 33 | + name: Message |
| 34 | + type: string |
| 35 | + name: v1alpha1 |
| 36 | + schema: |
| 37 | + openAPIV3Schema: |
| 38 | + description: Sandbox is the Schema for the sandboxes API |
| 39 | + properties: |
| 40 | + apiVersion: |
| 41 | + description: |- |
| 42 | + APIVersion defines the versioned schema of this representation of an object. |
| 43 | + Servers should convert recognized schemas to the latest internal value, and |
| 44 | + may reject unrecognized values. |
| 45 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 46 | + type: string |
| 47 | + kind: |
| 48 | + description: |- |
| 49 | + Kind is a string value representing the REST resource this object represents. |
| 50 | + Servers may infer this from the endpoint the client submits requests to. |
| 51 | + Cannot be updated. |
| 52 | + In CamelCase. |
| 53 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 54 | + type: string |
| 55 | + metadata: |
| 56 | + type: object |
| 57 | + spec: |
| 58 | + description: spec defines the desired state of Sandbox |
| 59 | + properties: |
| 60 | + pauseTime: |
| 61 | + description: PauseTime - Absolute time when the sandbox will be paused |
| 62 | + automatically. |
| 63 | + format: date-time |
| 64 | + type: string |
| 65 | + paused: |
| 66 | + description: Paused indicates whether pause the sandbox pod. |
| 67 | + type: boolean |
| 68 | + persistentContents: |
| 69 | + description: 'PersistentContents indicates resume pod with persistent |
| 70 | + content, Enum: ip, memory, filesystem' |
| 71 | + items: |
| 72 | + type: string |
| 73 | + type: array |
| 74 | + shutdownTime: |
| 75 | + description: |- |
| 76 | + ShutdownTime - Absolute time when the sandbox is deleted. |
| 77 | + If a time in the past is provided, the sandbox will be deleted immediately. |
| 78 | + format: date-time |
| 79 | + type: string |
| 80 | + template: |
| 81 | + description: |- |
| 82 | + Template describes the pods that will be created. |
| 83 | + Template is mutual exclusive with TemplateRef |
| 84 | + x-kubernetes-preserve-unknown-fields: true |
| 85 | + templateRef: |
| 86 | + description: TemplateRef references a SandboxTemplate, which will |
| 87 | + be used to create the sandbox. |
| 88 | + properties: |
| 89 | + apiVersion: |
| 90 | + description: |- |
| 91 | + name of the SandboxTemplate apiVersion |
| 92 | + Default to v1 |
| 93 | + type: string |
| 94 | + kind: |
| 95 | + description: |- |
| 96 | + name of the SandboxTemplate kind |
| 97 | + Default to PodTemplate |
| 98 | + type: string |
| 99 | + name: |
| 100 | + description: name of the SandboxTemplate |
| 101 | + type: string |
| 102 | + required: |
| 103 | + - name |
| 104 | + type: object |
| 105 | + volumeClaimTemplates: |
| 106 | + description: VolumeClaimTemplates is a list of PVC templates to create |
| 107 | + for this Sandbox. |
| 108 | + x-kubernetes-preserve-unknown-fields: true |
| 109 | + type: object |
| 110 | + status: |
| 111 | + description: status defines the observed state of Sandbox |
| 112 | + properties: |
| 113 | + conditions: |
| 114 | + description: |- |
| 115 | + conditions represent the current state of the Sandbox resource. |
| 116 | + Each condition has a unique type and reflects the status of a specific aspect of the resource. |
| 117 | + The status of each condition is one of True, False, or Unknown. |
| 118 | + items: |
| 119 | + description: Condition contains details for one aspect of the current |
| 120 | + state of this API Resource. |
| 121 | + properties: |
| 122 | + lastTransitionTime: |
| 123 | + description: |- |
| 124 | + lastTransitionTime is the last time the condition transitioned from one status to another. |
| 125 | + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 126 | + format: date-time |
| 127 | + type: string |
| 128 | + message: |
| 129 | + description: |- |
| 130 | + message is a human readable message indicating details about the transition. |
| 131 | + This may be an empty string. |
| 132 | + maxLength: 32768 |
| 133 | + type: string |
| 134 | + observedGeneration: |
| 135 | + description: |- |
| 136 | + observedGeneration represents the .metadata.generation that the condition was set based upon. |
| 137 | + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
| 138 | + with respect to the current state of the instance. |
| 139 | + format: int64 |
| 140 | + minimum: 0 |
| 141 | + type: integer |
| 142 | + reason: |
| 143 | + description: |- |
| 144 | + reason contains a programmatic identifier indicating the reason for the condition's last transition. |
| 145 | + Producers of specific condition types may define expected values and meanings for this field, |
| 146 | + and whether the values are considered a guaranteed API. |
| 147 | + The value should be a CamelCase string. |
| 148 | + This field may not be empty. |
| 149 | + maxLength: 1024 |
| 150 | + minLength: 1 |
| 151 | + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ |
| 152 | + type: string |
| 153 | + status: |
| 154 | + description: status of the condition, one of True, False, Unknown. |
| 155 | + enum: |
| 156 | + - "True" |
| 157 | + - "False" |
| 158 | + - Unknown |
| 159 | + type: string |
| 160 | + type: |
| 161 | + description: type of condition in CamelCase or in foo.example.com/CamelCase. |
| 162 | + maxLength: 316 |
| 163 | + 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])$ |
| 164 | + type: string |
| 165 | + required: |
| 166 | + - lastTransitionTime |
| 167 | + - message |
| 168 | + - reason |
| 169 | + - status |
| 170 | + - type |
| 171 | + type: object |
| 172 | + type: array |
| 173 | + x-kubernetes-list-map-keys: |
| 174 | + - type |
| 175 | + x-kubernetes-list-type: map |
| 176 | + message: |
| 177 | + description: message |
| 178 | + type: string |
| 179 | + nodeName: |
| 180 | + description: NodeName indicates in which node this sandbox is scheduled. |
| 181 | + type: string |
| 182 | + observedGeneration: |
| 183 | + description: |- |
| 184 | + observedGeneration is the most recent generation observed for this Sandbox. It corresponds to the |
| 185 | + Sandbox's generation, which is updated on mutation by the API Server. |
| 186 | + format: int64 |
| 187 | + type: integer |
| 188 | + phase: |
| 189 | + description: Sandbox Phase |
| 190 | + type: string |
| 191 | + podInfo: |
| 192 | + description: Pod Info |
| 193 | + properties: |
| 194 | + annotations: |
| 195 | + additionalProperties: |
| 196 | + type: string |
| 197 | + description: Annotations contains pod important annotations |
| 198 | + type: object |
| 199 | + labels: |
| 200 | + additionalProperties: |
| 201 | + type: string |
| 202 | + description: Labels contains pod important labels |
| 203 | + type: object |
| 204 | + nodeName: |
| 205 | + description: NodeName indicates in which node this pod is scheduled. |
| 206 | + type: string |
| 207 | + podIP: |
| 208 | + description: PodIP address allocated to the pod. |
| 209 | + type: string |
| 210 | + podUID: |
| 211 | + description: PodUID is pod uid. |
| 212 | + type: string |
| 213 | + type: object |
| 214 | + sandboxIp: |
| 215 | + description: SandboxIp is the ip address allocated to the sandbox. |
| 216 | + type: string |
| 217 | + updateRevision: |
| 218 | + description: UpdateRevision is the template-hash calculated from `spec.template`. |
| 219 | + type: string |
| 220 | + type: object |
| 221 | + required: |
| 222 | + - spec |
| 223 | + type: object |
| 224 | + served: true |
| 225 | + storage: true |
| 226 | + subresources: |
| 227 | + status: {} |
0 commit comments