-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSDOCS-16109# Add docs for tech preview of azure dedicated disk for etcd #99801
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
base: main
Are you sure you want to change the base?
Conversation
🤖 Fri Sep 26 20:43:16 - Prow CI generated the docs preview: |
@sslocket: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
@jcpowermac PTAL |
/lgtm |
@jinyunma PTAL |
platform: | ||
azure: | ||
type: Standard_D4s_v5 | ||
dataDisks: |
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.
In install-config.yaml parameters, dataDisks objects are described under controlPlane machinepool.
Suggest to keep consistent here, something as below:
controlPlane:
architecture: amd64
hyperthreading: Enabled
name: master
platform:
azure:
dataDisks:
- cachingType: ReadWrite
diskSizeGB: 256
lun: 1
nameSuffix: etcddisk
diskSetup:
- type: etcd
etcd:
platformDiskID: etcddisk
And parameter cachingType is also missed under dataDisks.
$ ./openshift-install explain installconfig.controlPlane.platform.azure.dataDisks
KIND: InstallConfig
VERSION: v1
RESOURCE: <[]object>
DataDisk specifies the parameters that are used to add one or more data disks to the machine.
FIELDS:
cachingType <string>
Valid Values: "None","ReadOnly","ReadWrite"
CachingType specifies the caching requirements.
diskSizeGB <integer> -required-
Format: int32
DiskSizeGB is the size in GB to assign to the data disk.
lun <integer>
Format: int32
Lun Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
The value must be between 0 and 63.
managedDisk <object>
ManagedDisk specifies the Managed Disk parameters for the data disk.
nameSuffix <string> -required-
NameSuffix is the suffix to be appended to the machine name to generate the disk name.
Each disk name will be in format <machineName>_<nameSuffix>.
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.
my concern with indicating readwrite for cachetype is data loss, maybe a link to azure documentation explaining the risks? for etcd though I would think None is more appropriate
also in researching this I see we have an issue that should be resolved:
https://learn.microsoft.com/en-us/azure/virtual-machines/premium-storage-performance#optimize-performance-on-linux-vms
I will put in a bug to fix this.
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.
@jinyunma @jcpowermac If cachingType: None is the safe option and there isn't a specific use case that necessitates the other two options (which also entail significant risks/unclear benefits), I would prefer to make cachingType: None the requirement for this 4.20 version of the documentation due to time constraints, and revisit later.
---- | ||
|
||
<1> Specify `etcd`. | ||
<2> Specify a name to identify the disk. |
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 platformDiskID has limitation, it could not be longer than 12 characters.
<1> Specify `etcd`. | ||
<2> Specify a name to identify the disk. | ||
<3> Specify the same value given for `platformDiskID`. | ||
<4> Specify a disk size in GB. This can be any integer from `8` through `32`. |
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.
hmm, why does disk size have limitation? It works when I set to more than 32. Or anything that I missed? cc @jcpowermac
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.
I thought it was anything greater than 0, let me double check
Version(s):
4.20+
Issue:
https://issues.redhat.com/browse/OSDOCS-16109
Link to docs preview:
QE review:
Additional information: