Skip to content

doc3721: expose LH resource reservation to harvester-configuration#301

Merged
guangbochen merged 2 commits intoharvester:mainfrom
w13915984028:doc3721
Aug 1, 2023
Merged

doc3721: expose LH resource reservation to harvester-configuration#301
guangbochen merged 2 commits intoharvester:mainfrom
w13915984028:doc3721

Conversation

@w13915984028
Copy link
Member

@w13915984028 w13915984028 commented Apr 12, 2023

expose LH resource reservation to harvester-configuration
expose default storage class replica count to harvester-configuration

issue:
harvester/harvester#3721

source code PR:
Original PR ( harvester/harvester-installer#466 ) is merged into harvester/harvester-installer#402

epic:
harvester/harvester#3262

@netlify
Copy link

netlify bot commented Apr 12, 2023

Deploy Preview for harvester-preview ready!

Name Link
🔨 Latest commit 787fefe
🔍 Latest deploy log https://app.netlify.com/sites/harvester-preview/deploys/64c87a125108060008fadf1c
😎 Deploy Preview https://deploy-preview-301--harvester-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@vickyhella vickyhella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some small suggestions

@LucasSaintarbor LucasSaintarbor added this to the v1.2.0 milestone Jun 6, 2023
Copy link
Contributor

@guangbochen guangbochen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

data_disk: /dev/sdb
```

### `install.harvester.storageClass.replicaCount`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use snake_case instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the consideration for us to stick to snake_case , is it mainly for python scripts to work correctly? thanks.

From below post, seems in k8s world, the camelCase is more preferred.

https://stackoverflow.com/questions/22771226/what-is-the-canonical-yaml-naming-style

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is an inherited design from k3os(harvester's original baseOS), and making it consistent with the existing doc format.

w13915984028 and others added 2 commits August 1, 2023 11:14
expose default storage class replica count to harvester-configuration

Signed-off-by: Jian Wang <w13915984028@gmail.com>
@guangbochen
Copy link
Contributor

verified new cluster install with the following config, and it works as expected with those new config:

scheme_version: 1
install:
  data_disk: /dev/disk/by-id/scsi-0HP_LOGICAL_VOLUME_01000000
  harvester:
    storage_class:
      replica_count: 1
    longhorn:
      default_settings:
        guaranteedReplicaManagerCPU: 6
        guaranteedEngineManagerCPU: 6
image image

Copy link
Contributor

@bk201 bk201 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@guangbochen
Copy link
Contributor

@w13915984028 we will merge this PR and feel free to leave a comment if u see any problems, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants