This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
Add / Remove Nodes with layout.yaml
#5167
Labels
layout.yaml
#5167
Target
allow users to add / remove nodes with
layout.yaml
instead ofhosts.yml
.Design
add nodes :
Step 1: add nodes info to
layout.yaml
pull layout to local
add the corresponding nodes in to the
machine-list
field inlayout.yaml
push layout back to k8s
Step 2: add nodes to k8s
in this step, we will:
hosts.yaml
,openpai.yml
withlayout.yaml
,config.yaml
ansible-playbook
to add the nodes to k8sStep 3: restart related services
Modify HiveD config in
services-configuration.yaml
manually, restart services:cluster-configuration
hivedscheduler
rest-server
remove nodes:
Step 1: remove nodes from k8s
in this step, we will:
hosts.yaml
,openpai.yml
withlayout.yaml
,config.yaml
ansible-playbook
to remove the nodes from k8slayout.yaml
in the k8sStep 2: restart related services
Modify HiveD config in
services-configuration.yaml
, restart services:cluster-configuration
hivedscheduler
rest-server
Problems:
config.yaml
is local butlayout.yaml
is saved in k8sThe text was updated successfully, but these errors were encountered: