github.com/kotalco/kotal@v0.3.0/config/crd/bases/filecoin.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.filecoin.kotal.io
     9  spec:
    10    group: filecoin.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      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                api:
    46                  description: API enables API server
    47                  type: boolean
    48                apiPort:
    49                  description: APIPort is API server listening port
    50                  type: integer
    51                apiRequestTimeout:
    52                  description: APIRequestTimeout is API request timeout in seconds
    53                  type: integer
    54                disableMetadataLog:
    55                  description: DisableMetadataLog disables metadata log
    56                  type: boolean
    57                extraArgs:
    58                  additionalProperties:
    59                    type: string
    60                  description: ExtraArgs is extra arguments to pass down to the cli
    61                  type: object
    62                image:
    63                  description: Image is Filecoin node client image
    64                  type: string
    65                ipfsForRetrieval:
    66                  description: IPFSForRetrieval uses ipfs for retrieval
    67                  type: boolean
    68                ipfsOnlineMode:
    69                  description: IPFSOnlineMode sets ipfs online mode
    70                  type: boolean
    71                ipfsPeerEndpoint:
    72                  description: IPFSPeerEndpoint is ipfs peer endpoint
    73                  type: string
    74                logging:
    75                  description: Logging is logging verboisty level
    76                  enum:
    77                  - error
    78                  - warn
    79                  - info
    80                  - debug
    81                  type: string
    82                network:
    83                  description: Network is the Filecoin network the node will join and
    84                    sync
    85                  enum:
    86                  - mainnet
    87                  - calibration
    88                  type: string
    89                p2pPort:
    90                  description: P2PPort is p2p port
    91                  type: integer
    92                replicas:
    93                  description: Replicas is number of replicas
    94                  enum:
    95                  - 0
    96                  - 1
    97                  type: integer
    98                resources:
    99                  description: Resources is node compute and storage resources
   100                  properties:
   101                    cpu:
   102                      description: CPU is cpu cores the node requires
   103                      pattern: ^[1-9][0-9]*m?$
   104                      type: string
   105                    cpuLimit:
   106                      description: CPULimit is cpu cores the node is limited to
   107                      pattern: ^[1-9][0-9]*m?$
   108                      type: string
   109                    memory:
   110                      description: Memory is memmory requirements
   111                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   112                      type: string
   113                    memoryLimit:
   114                      description: MemoryLimit is cpu cores the node is limited to
   115                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   116                      type: string
   117                    storage:
   118                      description: Storage is disk space storage requirements
   119                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   120                      type: string
   121                    storageClass:
   122                      description: StorageClass is the volume storage class
   123                      type: string
   124                  type: object
   125              required:
   126              - network
   127              type: object
   128            status:
   129              description: NodeStatus defines the observed state of Node
   130              properties:
   131                client:
   132                  type: string
   133              required:
   134              - client
   135              type: object
   136          type: object
   137      served: true
   138      storage: true
   139      subresources:
   140        status: {}
   141  status:
   142    acceptedNames:
   143      kind: ""
   144      plural: ""
   145    conditions: []
   146    storedVersions: []