github.com/kotalco/kotal@v0.3.0/config/crd/bases/aptos.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.aptos.kotal.io 9 spec: 10 group: aptos.kotal.io 11 names: 12 kind: Node 13 listKind: NodeList 14 plural: nodes 15 singular: node 16 scope: Namespaced 17 versions: 18 - name: v1alpha1 19 schema: 20 openAPIV3Schema: 21 description: Node is the Schema for the nodes API 22 properties: 23 apiVersion: 24 description: 'APIVersion defines the versioned schema of this representation 25 of an object. Servers should convert recognized schemas to the latest 26 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 27 type: string 28 kind: 29 description: 'Kind is a string value representing the REST resource this 30 object represents. Servers may infer this from the endpoint the client 31 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 32 type: string 33 metadata: 34 type: object 35 spec: 36 description: NodeSpec defines the desired state of Node 37 properties: 38 api: 39 description: API enables REST API server 40 type: boolean 41 apiPort: 42 description: APIPort is api server port 43 type: integer 44 extraArgs: 45 additionalProperties: 46 type: string 47 description: ExtraArgs is extra arguments to pass down to the cli 48 type: object 49 genesisConfigmapName: 50 description: GenesisConfigmapName is Kubernetes configmap name holding 51 genesis blob 52 type: string 53 image: 54 description: Image is Aptos node client image 55 type: string 56 metricsPort: 57 description: MetricsPort is metrics server port 58 type: integer 59 network: 60 description: Network is Aptos network to join and sync 61 enum: 62 - devnet 63 - testnet 64 - mainnet 65 type: string 66 nodePrivateKeySecretName: 67 description: NodePrivateKeySecretName is the secret name holding node 68 private key 69 type: string 70 p2pPort: 71 description: P2PPort is p2p communications port 72 type: integer 73 peerId: 74 description: PeerId is the node identity 75 type: string 76 replicas: 77 description: Replicas is number of replicas 78 enum: 79 - 0 80 - 1 81 type: integer 82 resources: 83 description: Resources is node compute and storage resources 84 properties: 85 cpu: 86 description: CPU is cpu cores the node requires 87 pattern: ^[1-9][0-9]*m?$ 88 type: string 89 cpuLimit: 90 description: CPULimit is cpu cores the node is limited to 91 pattern: ^[1-9][0-9]*m?$ 92 type: string 93 memory: 94 description: Memory is memmory requirements 95 pattern: ^[1-9][0-9]*[KMGTPE]i$ 96 type: string 97 memoryLimit: 98 description: MemoryLimit is cpu cores the node is limited to 99 pattern: ^[1-9][0-9]*[KMGTPE]i$ 100 type: string 101 storage: 102 description: Storage is disk space storage requirements 103 pattern: ^[1-9][0-9]*[KMGTPE]i$ 104 type: string 105 storageClass: 106 description: StorageClass is the volume storage class 107 type: string 108 type: object 109 seedPeers: 110 description: SeedPeers is seed peers 111 items: 112 description: Peer is Aptos network peer 113 properties: 114 addresses: 115 description: Addresses is array of peer multiaddress 116 items: 117 type: string 118 minItems: 1 119 type: array 120 x-kubernetes-list-type: set 121 id: 122 description: ID is peer identifier 123 type: string 124 required: 125 - addresses 126 - id 127 type: object 128 type: array 129 validator: 130 description: Validator enables validator mode 131 type: boolean 132 waypoint: 133 description: Waypoint provides an off-chain mechanism to verify the 134 sync process after restart or epoch change 135 type: string 136 required: 137 - network 138 type: object 139 status: 140 description: NodeStatus defines the observed state of Node 141 type: object 142 type: object 143 served: true 144 storage: true 145 status: 146 acceptedNames: 147 kind: "" 148 plural: "" 149 conditions: [] 150 storedVersions: []