github.com/kotalco/kotal@v0.3.0/config/crd/bases/polkadot.kotal.io_nodes.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.8.0
     7    creationTimestamp: null
     8    name: nodes.polkadot.kotal.io
     9  spec:
    10    group: polkadot.kotal.io
    11    names:
    12      kind: Node
    13      listKind: NodeList
    14      plural: nodes
    15      singular: node
    16    scope: Namespaced
    17    versions:
    18    - additionalPrinterColumns:
    19      - jsonPath: .spec.network
    20        name: Network
    21        type: string
    22      - jsonPath: .spec.validator
    23        name: Validator
    24        type: boolean
    25      name: v1alpha1
    26      schema:
    27        openAPIV3Schema:
    28          description: Node is the Schema for the nodes API
    29          properties:
    30            apiVersion:
    31              description: 'APIVersion defines the versioned schema of this representation
    32                of an object. Servers should convert recognized schemas to the latest
    33                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    34              type: string
    35            kind:
    36              description: 'Kind is a string value representing the REST resource this
    37                object represents. Servers may infer this from the endpoint the client
    38                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    39              type: string
    40            metadata:
    41              type: object
    42            spec:
    43              description: NodeSpec defines the desired state of Node
    44              properties:
    45                corsDomains:
    46                  description: CORSDomains is browser origins allowed to access the
    47                    JSON-RPC HTTP and WS servers
    48                  items:
    49                    type: string
    50                  type: array
    51                  x-kubernetes-list-type: set
    52                database:
    53                  description: Database is database backend
    54                  enum:
    55                  - auto
    56                  - paritydb
    57                  - rocksdb
    58                  type: string
    59                extraArgs:
    60                  additionalProperties:
    61                    type: string
    62                  description: ExtraArgs is extra arguments to pass down to the cli
    63                  type: object
    64                image:
    65                  description: Image is Polkadot node client image
    66                  type: string
    67                logging:
    68                  description: Logging is logging verboisty level
    69                  enum:
    70                  - error
    71                  - warn
    72                  - info
    73                  - debug
    74                  - trace
    75                  type: string
    76                network:
    77                  description: Network is the polkadot network/chain to join
    78                  enum:
    79                  - polkadot
    80                  - kusama
    81                  - rococo
    82                  - westend
    83                  type: string
    84                nodePrivateKeySecretName:
    85                  description: NodePrivateKeySecretName is the secret name holding node
    86                    Ed25519 private key
    87                  type: string
    88                p2pPort:
    89                  description: P2PPort is p2p protocol tcp port
    90                  type: integer
    91                prometheus:
    92                  description: Prometheus exposes a prometheus exporter endpoint.
    93                  type: boolean
    94                prometheusPort:
    95                  description: PrometheusPort is prometheus exporter port
    96                  type: integer
    97                pruning:
    98                  description: Pruning keeps recent or all blocks
    99                  type: boolean
   100                replicas:
   101                  description: Replicas is number of replicas
   102                  enum:
   103                  - 0
   104                  - 1
   105                  type: integer
   106                resources:
   107                  description: Resources is node compute and storage resources
   108                  properties:
   109                    cpu:
   110                      description: CPU is cpu cores the node requires
   111                      pattern: ^[1-9][0-9]*m?$
   112                      type: string
   113                    cpuLimit:
   114                      description: CPULimit is cpu cores the node is limited to
   115                      pattern: ^[1-9][0-9]*m?$
   116                      type: string
   117                    memory:
   118                      description: Memory is memmory requirements
   119                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   120                      type: string
   121                    memoryLimit:
   122                      description: MemoryLimit is cpu cores the node is limited to
   123                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   124                      type: string
   125                    storage:
   126                      description: Storage is disk space storage requirements
   127                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   128                      type: string
   129                    storageClass:
   130                      description: StorageClass is the volume storage class
   131                      type: string
   132                  type: object
   133                retainedBlocks:
   134                  description: RetainedBlocks is the number of blocks to keep state
   135                    for
   136                  type: integer
   137                rpc:
   138                  description: RPC enables JSON-RPC server
   139                  type: boolean
   140                rpcPort:
   141                  description: RPCPort is JSON-RPC server port
   142                  type: integer
   143                syncMode:
   144                  description: SyncMode is the blockchain synchronization mode
   145                  enum:
   146                  - fast
   147                  - full
   148                  type: string
   149                telemetry:
   150                  description: Telemetry enables connecting to telemetry server
   151                  type: boolean
   152                telemetryURL:
   153                  description: TelemetryURL is telemetry service URL
   154                  type: string
   155                validator:
   156                  description: Validator enables validator mode
   157                  type: boolean
   158                ws:
   159                  description: WS enables Websocket server
   160                  type: boolean
   161                wsPort:
   162                  description: WSPort is Websocket server port
   163                  type: integer
   164              required:
   165              - network
   166              type: object
   167            status:
   168              description: NodeStatus defines the observed state of Node
   169              type: object
   170          type: object
   171      served: true
   172      storage: true
   173      subresources:
   174        status: {}
   175  status:
   176    acceptedNames:
   177      kind: ""
   178      plural: ""
   179    conditions: []
   180    storedVersions: []