johnandersen777.bsky.social/socialweb-computer-console
console.socialweb.computer: kcp, kubectl and ssh compiled to wasm in a browser tab with a terminal; a kcp fork
0
0
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.3
name: logicalclusterdumps.migration.kcp.io
spec:
group: migration.kcp.io
names:
kind: LogicalClusterDump
listKind: LogicalClusterDumpList
plural: logicalclusterdumps
singular: logicalclusterdump
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: |-
LogicalClusterDump is an ephemeral request/response type used by the
destination shard during a logical cluster migration to fetch the raw
etcd contents of the migration logical cluster from the origin shard.
The server populates Status.Entries on Create. The object is not
persisted.
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: |-
LogicalClusterDumpSpec is the desired state for a dump request.
The logical cluster to dump is taken from the request's cluster context
(i.e. the URL the request arrived on).
properties:
continue:
description: |-
continue is the token returned by a previous LogicalClusterDump's
status.continue. If set, the scan resumes right after the last key
returned by that page. If empty, the scan starts from the
beginning of the logical cluster's etcd keyspace.
type: string
limit:
description: |-
limit caps the number of entries returned in a single page. If
zero, the server picks a default page size.
format: int64
type: integer
maxBytes:
description: |-
maxBytes caps the total size, in bytes, of entry values returned in
a single page. The scan stops and returns a continue token as soon
as this budget is exceeded, even if limit hasn't been reached yet.
If zero, the server picks a default byte budget.
format: int64
type: integer
type: object
status:
description: LogicalClusterDumpStatus carries the dump payload populated
by the server.
properties:
continue:
description: |-
continue is set when there are more entries to fetch. Pass it as
spec.continue on the next LogicalClusterDump request to get the
next page. Empty means this was the last page.
type: string
entries:
description: |-
entries is the page of etcd key/value pairs belonging to the
logical cluster, in the origin shard's etcd encoding (proto for
built-ins, JSON for CRs).
items:
description: EtcdEntry is a single etcd key/value pair from the
origin shard.
properties:
key:
description: |-
key is the etcd key with the origin shard's storage prefix stripped.
The destination shard prepends its own storage prefix before writing.
type: string
value:
description: value is the raw etcd value bytes. JSON-encoded
as base64 on the wire.
format: byte
type: string
required:
- key
- value
type: object
type: array
type: object
type: object
served: true
storage: true