Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
docs: added base for the documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
  • Loading branch information
shanduur committed Jun 3, 2024
1 parent 2e11ed3 commit 33aea21
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 3 deletions.
2 changes: 0 additions & 2 deletions docs/.crd-ref-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ processor:
# RE2 regular expressions describing types that should be excluded from the generated documentation.
ignoreTypes:
- "(LKEClusterConfig)List$"
- "(LKEClusterConfig)Status$"
# RE2 regular expressions describing type fields that should be excluded from the generated documentation.
ignoreFields:
- "status$"
- "TypeMeta$"

render:
Expand Down
1 change: 1 addition & 0 deletions docs/deployment/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Installation Guide
1 change: 1 addition & 0 deletions docs/deployment/upgrade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Upgrade
49 changes: 48 additions & 1 deletion docs/reference/out.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ LKEClusterConfig is the Schema for the lkeclusterconfigs API.
| --- | --- | --- | --- |
| `apiVersion` _string_ | `lke.anza-labs.dev/v1alpha1` | | |
| `kind` _string_ | `LKEClusterConfig` | | |
| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/vv1.30/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | |
| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | |
| `spec` _[LKEClusterConfigSpec](#lkeclusterconfigspec)_ | | | |
| `status` _[LKEClusterConfigStatus](#lkeclusterconfigstatus)_ | | | |


#### LKEClusterConfigSpec
Expand All @@ -51,6 +52,25 @@ _Appears in:_
| `kubernetesVersion` _string_ | KubernetesVersion indicates the Kubernetes version of the LKE cluster. | latest | Optional: {} <br /> |


#### LKEClusterConfigStatus



LKEClusterConfigStatus defines the observed state of an LKEClusterConfig resource.



_Appears in:_
- [LKEClusterConfig](#lkeclusterconfig)

| Field | Description | Default | Validation |
| --- | --- | --- | --- |
| `phase` _[Phase](#phase)_ | Phase represents the current phase of the LKE cluster. | Unknown | Enum: [Active Deleting Error Provisioning Unknown Updating] <br />Optional: {} <br /> |
| `clusterID` _integer_ | ClusterID contains the ID of the provisioned LKE cluster. | | Optional: {} <br /> |
| `nodePoolStatuses` _object (keys:string, values:[NodePoolStatus](#nodepoolstatus))_ | NodePoolStatuses contains the Status of the provisioned node pools within the LKE cluster. | | Optional: {} <br /> |
| `failureMessage` _string_ | FailureMessage contains an optional failure message for the LKE cluster. | | Optional: {} <br /> |


#### LKENodePool


Expand Down Expand Up @@ -87,7 +107,34 @@ _Appears in:_
| `max` _integer_ | Max specifies the maximum number of nodes in the pool. | | Maximum: 100 <br />Minimum: 3 <br />Required: {} <br /> |


#### NodePoolStatus



NodePoolStatus



_Appears in:_
- [LKEClusterConfigStatus](#lkeclusterconfigstatus)

| Field | Description | Default | Validation |
| --- | --- | --- | --- |
| `id` _integer_ | ID | | Optional: {} <br /> |
| `details` _[LKENodePool](#lkenodepool)_ | NodePoolDetails | | Required: {} <br /> |


#### Phase

_Underlying type:_ _string_



_Validation:_
- Enum: [Active Deleting Error Provisioning Unknown Updating]

_Appears in:_
- [LKEClusterConfigStatus](#lkeclusterconfigstatus)



Expand Down
1 change: 1 addition & 0 deletions docs/user-guide/quickstart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Quickstart

0 comments on commit 33aea21

Please sign in to comment.