github.com/kotalco/kotal@v0.3.0/config/crd/bases/ethereum2.kotal.io_beaconnodes.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: beaconnodes.ethereum2.kotal.io
     9  spec:
    10    group: ethereum2.kotal.io
    11    names:
    12      kind: BeaconNode
    13      listKind: BeaconNodeList
    14      plural: beaconnodes
    15      singular: beaconnode
    16    scope: Namespaced
    17    versions:
    18    - additionalPrinterColumns:
    19      - jsonPath: .spec.client
    20        name: Client
    21        type: string
    22      - jsonPath: .spec.network
    23        name: Network
    24        type: string
    25      name: v1alpha1
    26      schema:
    27        openAPIV3Schema:
    28          description: BeaconNode is the Schema for the beaconnodes 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: BeaconNodeSpec defines the desired state of BeaconNode
    44              properties:
    45                certSecretName:
    46                  description: CertSecretName is k8s secret name that holds tls.key
    47                    and tls.cert
    48                  type: string
    49                checkpointSyncUrl:
    50                  description: CheckpointSyncURL is trusted beacon node rest api endpoint
    51                  type: string
    52                client:
    53                  description: Client is the Ethereum 2.0 client to use
    54                  enum:
    55                  - teku
    56                  - prysm
    57                  - lighthouse
    58                  - nimbus
    59                  type: string
    60                corsDomains:
    61                  description: CORSDomains is the domains from which to accept cross
    62                    origin requests
    63                  items:
    64                    type: string
    65                  type: array
    66                  x-kubernetes-list-type: set
    67                executionEngineEndpoint:
    68                  description: ExecutionEngineEndpoint is Ethereum Execution engine
    69                    node endpoint
    70                  type: string
    71                extraArgs:
    72                  additionalProperties:
    73                    type: string
    74                  description: ExtraArgs is extra arguments to pass down to the cli
    75                  type: object
    76                feeRecipient:
    77                  description: FeeRecipient is ethereum address collecting transaction
    78                    fees
    79                  pattern: ^0[xX][0-9a-fA-F]{40}$
    80                  type: string
    81                grpc:
    82                  description: GRPC enables GRPC gateway server
    83                  type: boolean
    84                grpcPort:
    85                  description: GRPCPort is GRPC gateway server port
    86                  type: integer
    87                hosts:
    88                  description: Hosts is a list of hostnames to to whitelist for API
    89                    access
    90                  items:
    91                    type: string
    92                  type: array
    93                  x-kubernetes-list-type: set
    94                image:
    95                  description: Image is Ethereum 2.0 Beacon node client image
    96                  type: string
    97                jwtSecretName:
    98                  description: JWTSecretName is kubernetes secret name holding JWT secret
    99                  type: string
   100                logging:
   101                  description: Logging is logging verboisty level
   102                  enum:
   103                  - "off"
   104                  - fatal
   105                  - error
   106                  - warn
   107                  - info
   108                  - debug
   109                  - trace
   110                  - all
   111                  - notice
   112                  - crit
   113                  - panic
   114                  - none
   115                  type: string
   116                network:
   117                  description: Network is the network to join
   118                  type: string
   119                p2pPort:
   120                  description: P2PPort is p2p and discovery port
   121                  type: integer
   122                replicas:
   123                  description: Replicas is number of replicas
   124                  enum:
   125                  - 0
   126                  - 1
   127                  type: integer
   128                resources:
   129                  description: Resources is node compute and storage resources
   130                  properties:
   131                    cpu:
   132                      description: CPU is cpu cores the node requires
   133                      pattern: ^[1-9][0-9]*m?$
   134                      type: string
   135                    cpuLimit:
   136                      description: CPULimit is cpu cores the node is limited to
   137                      pattern: ^[1-9][0-9]*m?$
   138                      type: string
   139                    memory:
   140                      description: Memory is memmory requirements
   141                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   142                      type: string
   143                    memoryLimit:
   144                      description: MemoryLimit is cpu cores the node is limited to
   145                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   146                      type: string
   147                    storage:
   148                      description: Storage is disk space storage requirements
   149                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   150                      type: string
   151                    storageClass:
   152                      description: StorageClass is the volume storage class
   153                      type: string
   154                  type: object
   155                rest:
   156                  description: REST enables Beacon REST API
   157                  type: boolean
   158                restPort:
   159                  description: RESTPort is Beacon REST API server port
   160                  type: integer
   161                rpc:
   162                  description: RPC enables RPC server
   163                  type: boolean
   164                rpcPort:
   165                  description: RPCPort is RPC server port
   166                  type: integer
   167              required:
   168              - client
   169              - executionEngineEndpoint
   170              - jwtSecretName
   171              - network
   172              type: object
   173            status:
   174              description: BeaconNodeStatus defines the observed state of BeaconNode
   175              type: object
   176          type: object
   177      served: true
   178      storage: true
   179      subresources: {}
   180  status:
   181    acceptedNames:
   182      kind: ""
   183      plural: ""
   184    conditions: []
   185    storedVersions: []