-
Notifications
You must be signed in to change notification settings - Fork 49
Add scale out functionality for SNO Cluster #689
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
Merged
openshift-merge-bot
merged 27 commits into
redhat-performance:main
from
sraviteja-maker:scale_out_sno_cluster
Oct 7, 2025
Merged
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
2414794
Add scale out functionality for SNO Cluster
sraviteja-maker 8d81ad6
Merge branch 'redhat-performance:main' into scale_out_sno_cluster
sraviteja-maker 417b4dd
Add documentation for SNO Cluster scale out deployment
sraviteja-maker 4eb5f6e
Add documentation for SNO Cluster scale out deployment in Quickstart …
sraviteja-maker 598a333
Address documentation typo errors
sraviteja-maker 6a49a41
Refactor Scale out Ansible playbooks to dynamically fetch KUBECONFIG …
sraviteja-maker da15772
Merge branch 'redhat-performance:main' into scale_out_sno_cluster
sraviteja-maker db785ae
Support for Dynamic inventory generation for Worker nodes in SNO Scal…
sraviteja-maker 19968df
Merge branch 'scale_out_sno_cluster' of github.com:sraviteja-maker/je…
sraviteja-maker 1c44ee6
Updated the documentation how to use worker nodes inventory in SNO Sc…
sraviteja-maker f8018e8
Merge branch 'redhat-performance:main' into scale_out_sno_cluster
sraviteja-maker 93009cb
Update docs/scale-out-sno.md documentation
sraviteja-maker 0bf04f9
Update docs/scale-out-sno.md documentation
sraviteja-maker 0a3fec6
Merge branch 'redhat-performance:main' into scale_out_sno_cluster
sraviteja-maker ce7713e
Update docs/scale-out-sno.md
sraviteja-maker 5e87e73
Update docs/scale-out-sno.md
sraviteja-maker 279ef5b
Update relevant docs for SNO Cluster worker expansion feature
sraviteja-maker 346ea15
Replace with_items approach with loop for a couple of tasks to keep i…
sraviteja-maker afa7d7b
Update docs/scale-out-sno.md for Multi SNO Environment
sraviteja-maker 96fe60c
Add SNO scale-out support with lab DHCP - sno_use_lab_dhcp: true
sraviteja-maker 6190f08
Merge branch 'main' into scale_out_sno_cluster
sraviteja-maker 5baf7dc
Addressing the comments given for documentation
sraviteja-maker 45cc1d7
Merge branch 'scale_out_sno_cluster' of github.com:sraviteja-maker/je…
sraviteja-maker 9590db4
Unify scale-out playbooks to support MNO and SNO clusters
sraviteja-maker 8447ef2
Merge branch 'redhat-performance:main' into scale_out_sno_cluster
sraviteja-maker c47932a
Merge branch 'redhat-performance:main' into scale_out_sno_cluster
sraviteja-maker 20ee270
Re-using the existing lab_interface variable
sraviteja-maker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
sraviteja-maker marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
sraviteja-maker marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| --- | ||
| - name: Delete ocp-scale-out directory | ||
| ansible.builtin.file: | ||
| state: absent | ||
| path: /root/ocp-scale-out | ||
|
|
||
| - name: Create ocp-scale-out directory | ||
| ansible.builtin.file: | ||
| state: directory | ||
| path: /root/ocp-scale-out | ||
|
|
||
| - name: Template Scaleout Nodes Config | ||
| template: | ||
| src: nodes-config.yml.j2 | ||
| dest: /root/ocp-scale-out/nodes-config.yaml | ||
| vars: | ||
| workers: "{{ groups['worker'][current_worker_count:current_worker_count+scale_out_count] }}" | ||
|
|
||
| - name: Set KUBECONFIG path based on cluster type | ||
| set_fact: | ||
| cluster_kubeconfig: "{{ bastion_cluster_config_dir }}/{{ 'kubeconfig' if cluster_type != 'sno' else groups['sno'][0] + '/kubeconfig' }}" | ||
|
|
||
| - name: Add Nodes to cluster and generate boot iso (Takes a min or two) | ||
| command: oc adm node-image create --kubeconfig {{ cluster_kubeconfig }} | ||
| args: | ||
| chdir: /root/ocp-scale-out/ | ||
|
|
||
| - name: Copy scale out discovery iso to http server | ||
| ansible.builtin.copy: | ||
| src: /root/ocp-scale-out/node.x86_64.iso | ||
| dest: /opt/http_store/data/ocp-scale-out.x86_64.iso | ||
| remote_src: true | ||
|
|
||
| - name: Delete ocp-scale-out directory | ||
| ansible.builtin.file: | ||
| state: absent | ||
| path: /root/ocp-scale-out | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.