|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.12.1 |
| 7 | + name: rosamachinepools.infrastructure.cluster.x-k8s.io |
| 8 | +spec: |
| 9 | + group: infrastructure.cluster.x-k8s.io |
| 10 | + names: |
| 11 | + categories: |
| 12 | + - cluster-api |
| 13 | + kind: ROSAMachinePool |
| 14 | + listKind: ROSAMachinePoolList |
| 15 | + plural: rosamachinepools |
| 16 | + shortNames: |
| 17 | + - rosamp |
| 18 | + singular: rosamachinepool |
| 19 | + scope: Namespaced |
| 20 | + versions: |
| 21 | + - additionalPrinterColumns: |
| 22 | + - description: MachinePool ready status |
| 23 | + jsonPath: .status.ready |
| 24 | + name: Ready |
| 25 | + type: string |
| 26 | + - description: Number of replicas |
| 27 | + jsonPath: .status.replicas |
| 28 | + name: Replicas |
| 29 | + type: integer |
| 30 | + name: v1beta2 |
| 31 | + schema: |
| 32 | + openAPIV3Schema: |
| 33 | + description: ROSAMachinePool is the Schema for the rosamachinepools API. |
| 34 | + properties: |
| 35 | + apiVersion: |
| 36 | + description: 'APIVersion defines the versioned schema of this representation |
| 37 | + of an object. Servers should convert recognized schemas to the latest |
| 38 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 39 | + type: string |
| 40 | + kind: |
| 41 | + description: 'Kind is a string value representing the REST resource this |
| 42 | + object represents. Servers may infer this from the endpoint the client |
| 43 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 44 | + type: string |
| 45 | + metadata: |
| 46 | + type: object |
| 47 | + spec: |
| 48 | + description: RosaMachinePoolSpec defines the desired state of RosaMachinePool. |
| 49 | + properties: |
| 50 | + autoRepair: |
| 51 | + default: false |
| 52 | + description: AutoRepair specifies whether health checks should be |
| 53 | + enabled for machines in the NodePool. The default is false. |
| 54 | + type: boolean |
| 55 | + autoscaling: |
| 56 | + description: Autoscaling specifies auto scaling behaviour for this |
| 57 | + MachinePool. required if Replicas is not configured |
| 58 | + properties: |
| 59 | + maxReplicas: |
| 60 | + minimum: 1 |
| 61 | + type: integer |
| 62 | + minReplicas: |
| 63 | + minimum: 1 |
| 64 | + type: integer |
| 65 | + type: object |
| 66 | + availabilityZone: |
| 67 | + description: AvailabilityZone is an optinal field specifying the availability |
| 68 | + zone where instances of this machine pool should run For Multi-AZ |
| 69 | + clusters, you can create a machine pool in a Single-AZ of your choice. |
| 70 | + type: string |
| 71 | + instanceType: |
| 72 | + description: InstanceType specifies the AWS instance type |
| 73 | + type: string |
| 74 | + labels: |
| 75 | + additionalProperties: |
| 76 | + type: string |
| 77 | + description: Labels specifies labels for the Kubernetes node objects |
| 78 | + type: object |
| 79 | + nodePoolName: |
| 80 | + description: NodePoolName specifies the name of the nodepool in Rosa |
| 81 | + must be a valid DNS-1035 label, so it must consist of lower case |
| 82 | + alphanumeric and have a max length of 15 characters. |
| 83 | + maxLength: 15 |
| 84 | + pattern: ^[a-z]([-a-z0-9]*[a-z0-9])?$ |
| 85 | + type: string |
| 86 | + x-kubernetes-validations: |
| 87 | + - message: nodepoolName is immutable |
| 88 | + rule: self == oldSelf |
| 89 | + providerIDList: |
| 90 | + description: ProviderIDList contain a ProviderID for each machine |
| 91 | + instance that's currently managed by this machine pool. |
| 92 | + items: |
| 93 | + type: string |
| 94 | + type: array |
| 95 | + subnet: |
| 96 | + type: string |
| 97 | + required: |
| 98 | + - nodePoolName |
| 99 | + type: object |
| 100 | + status: |
| 101 | + description: RosaMachinePoolStatus defines the observed state of RosaMachinePool. |
| 102 | + properties: |
| 103 | + conditions: |
| 104 | + description: Conditions defines current service state of the managed |
| 105 | + machine pool |
| 106 | + items: |
| 107 | + description: Condition defines an observation of a Cluster API resource |
| 108 | + operational state. |
| 109 | + properties: |
| 110 | + lastTransitionTime: |
| 111 | + description: Last time the condition transitioned from one status |
| 112 | + to another. This should be when the underlying condition changed. |
| 113 | + If that is not known, then using the time when the API field |
| 114 | + changed is acceptable. |
| 115 | + format: date-time |
| 116 | + type: string |
| 117 | + message: |
| 118 | + description: A human readable message indicating details about |
| 119 | + the transition. This field may be empty. |
| 120 | + type: string |
| 121 | + reason: |
| 122 | + description: The reason for the condition's last transition |
| 123 | + in CamelCase. The specific API may choose whether or not this |
| 124 | + field is considered a guaranteed API. This field may not be |
| 125 | + empty. |
| 126 | + type: string |
| 127 | + severity: |
| 128 | + description: Severity provides an explicit classification of |
| 129 | + Reason code, so the users or machines can immediately understand |
| 130 | + the current situation and act accordingly. The Severity field |
| 131 | + MUST be set only when Status=False. |
| 132 | + type: string |
| 133 | + status: |
| 134 | + description: Status of the condition, one of True, False, Unknown. |
| 135 | + type: string |
| 136 | + type: |
| 137 | + description: Type of condition in CamelCase or in foo.example.com/CamelCase. |
| 138 | + Many .condition.type values are consistent across resources |
| 139 | + like Available, but because arbitrary conditions can be useful |
| 140 | + (see .node.status.conditions), the ability to deconflict is |
| 141 | + important. |
| 142 | + type: string |
| 143 | + required: |
| 144 | + - lastTransitionTime |
| 145 | + - status |
| 146 | + - type |
| 147 | + type: object |
| 148 | + type: array |
| 149 | + id: |
| 150 | + description: ID is the ID given by ROSA. |
| 151 | + type: string |
| 152 | + ready: |
| 153 | + default: false |
| 154 | + description: Ready denotes that the RosaMachinePool nodepool has joined |
| 155 | + the cluster |
| 156 | + type: boolean |
| 157 | + replicas: |
| 158 | + description: Replicas is the most recently observed number of replicas. |
| 159 | + format: int32 |
| 160 | + type: integer |
| 161 | + required: |
| 162 | + - ready |
| 163 | + type: object |
| 164 | + type: object |
| 165 | + served: true |
| 166 | + storage: true |
| 167 | + subresources: |
| 168 | + status: {} |
0 commit comments