-
Notifications
You must be signed in to change notification settings - Fork 5
docs: audit and correct API documentation #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -21,7 +21,8 @@ Defines the architecture type for Valkey instances: | |||||
|
|
||||||
| | Field | Type | Description | | ||||||
| |-------|------|-------------| | ||||||
| | `storageClassName` | string | Storage class name for persistent volumes | | ||||||
| | `annotations` | map[string]string | Annotations for the storage service | | ||||||
| | `storageClassName` | *string | Storage class name for persistent volumes | | ||||||
| | `capacity` | *resource.Quantity | Storage capacity (defaults to 2x memory limit if not set) | | ||||||
| | `accessMode` | corev1.PersistentVolumeAccessMode | Access mode (default: ReadWriteOnce) | | ||||||
| | `retainAfterDeleted` | bool | Whether to retain storage after deletion | | ||||||
|
|
@@ -33,11 +34,12 @@ Defines the architecture type for Valkey instances: | |||||
| | Field | Type | Description | | ||||||
| |-------|------|-------------| | ||||||
| | `serviceType` | corev1.ServiceType | Kubernetes service type (ClusterIP, NodePort, LoadBalancer) | | ||||||
| | `ipFamilyPrefer` | IPFamilyPrefer | IP family preference (IPv4, IPv6, or dual-stack) | | ||||||
| | `loadBalancerIP` | string | Static IP for LoadBalancer services | | ||||||
| | `loadBalancerSourceRanges` | []string | Source IP ranges for LoadBalancer | | ||||||
| | `annotations` | map[string]string | Service annotations | | ||||||
| | `nodePortSequence` | string | NodePort sequence assignment | | ||||||
| | `ipFamilyPrefer` | corev1.IPFamily | IP family preference (IPv4, IPv6) | | ||||||
| | `ports` | string | NodePort sequence assignment (e.g., "30000:30000,30001:30001") | | ||||||
| | `enableTLS` | bool | Enable TLS for external access | | ||||||
| | `certIssuer` | string | Certificate issuer for TLS | | ||||||
| | `certIssuerType` | string | Certificate issuer type (ClusterIssuer or Issuer) | | ||||||
|
|
||||||
| ## Monitoring Configuration | ||||||
|
|
||||||
|
|
@@ -56,12 +58,16 @@ Defines the architecture type for Valkey instances: | |||||
|
|
||||||
| | Field | Type | Description | | ||||||
| |-------|------|-------------| | ||||||
| | `id` | string | Valkey cluster node ID | | ||||||
| | `shardId` | string | Cluster shard ID of the node | | ||||||
| | `role` | NodeRole | Node role (master, replica, sentinel) | | ||||||
| | `ip` | string | Node IP address | | ||||||
| | `port` | int32 | Node port | | ||||||
| | `role` | NodeRole | Node role (master, slave, sentinel) | | ||||||
| | `port` | string | Node port | | ||||||
|
Comment on lines
+63
to
+65
|
||||||
| | `port` | string | Node port | | |
| | `port` | int32 | Node port | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description mentions only IPv4 and IPv6, but the original documentation mentioned dual-stack support. If dual-stack is supported, the description should include it, or if it's no longer supported, this change is correct.