github.com/kotalco/kotal@v0.3.0/config/crd/bases/near.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.near.kotal.io
     9  spec:
    10    group: near.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: .status.client
    23        name: Client
    24        type: string
    25      - jsonPath: .spec.validator
    26        name: Validator
    27        priority: 10
    28        type: boolean
    29      name: v1alpha1
    30      schema:
    31        openAPIV3Schema:
    32          description: Node is the Schema for the nodes API
    33          properties:
    34            apiVersion:
    35              description: 'APIVersion defines the versioned schema of this representation
    36                of an object. Servers should convert recognized schemas to the latest
    37                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    38              type: string
    39            kind:
    40              description: 'Kind is a string value representing the REST resource this
    41                object represents. Servers may infer this from the endpoint the client
    42                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    43              type: string
    44            metadata:
    45              type: object
    46            spec:
    47              description: NodeSpec defines the desired state of Node
    48              properties:
    49                archive:
    50                  description: Archive keeps old blocks in the storage
    51                  type: boolean
    52                bootnodes:
    53                  description: Bootnodes is array of boot nodes to bootstrap network
    54                    from
    55                  items:
    56                    type: string
    57                  type: array
    58                  x-kubernetes-list-type: set
    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 NEAR node client image
    66                  type: string
    67                minPeers:
    68                  description: MinPeers is minimum number of peers to start syncing/producing
    69                    blocks
    70                  type: integer
    71                network:
    72                  description: Network is NEAR network to join and sync
    73                  enum:
    74                  - mainnet
    75                  - testnet
    76                  - betanet
    77                  type: string
    78                nodePrivateKeySecretName:
    79                  description: NodePrivateKeySecretName is the secret name holding node
    80                    Ed25519 private key
    81                  type: string
    82                p2pPort:
    83                  description: P2PPort is p2p port
    84                  type: integer
    85                prometheusPort:
    86                  description: PrometheusPort is prometheus exporter port
    87                  type: integer
    88                replicas:
    89                  description: Replicas is number of replicas
    90                  enum:
    91                  - 0
    92                  - 1
    93                  type: integer
    94                resources:
    95                  description: Resources is node compute and storage resources
    96                  properties:
    97                    cpu:
    98                      description: CPU is cpu cores the node requires
    99                      pattern: ^[1-9][0-9]*m?$
   100                      type: string
   101                    cpuLimit:
   102                      description: CPULimit is cpu cores the node is limited to
   103                      pattern: ^[1-9][0-9]*m?$
   104                      type: string
   105                    memory:
   106                      description: Memory is memmory requirements
   107                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   108                      type: string
   109                    memoryLimit:
   110                      description: MemoryLimit is cpu cores the node is limited to
   111                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   112                      type: string
   113                    storage:
   114                      description: Storage is disk space storage requirements
   115                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   116                      type: string
   117                    storageClass:
   118                      description: StorageClass is the volume storage class
   119                      type: string
   120                  type: object
   121                rpc:
   122                  description: RPC enables JSON-RPC server
   123                  type: boolean
   124                rpcPort:
   125                  description: RPCPort is JSON-RPC server listening port
   126                  type: integer
   127                telemetryURL:
   128                  description: TelemetryURL is telemetry service URL
   129                  type: string
   130                validatorSecretName:
   131                  description: ValidatorSecretName is the secret name holding node Ed25519
   132                    validator key
   133                  type: string
   134              required:
   135              - network
   136              type: object
   137            status:
   138              description: NodeStatus defines the observed state of Node
   139              properties:
   140                client:
   141                  type: string
   142              type: object
   143          type: object
   144      served: true
   145      storage: true
   146      subresources:
   147        status: {}
   148  status:
   149    acceptedNames:
   150      kind: ""
   151      plural: ""
   152    conditions: []
   153    storedVersions: []