Skip to content

Commit

Permalink
remove serial limit for servers and increase agents
Browse files Browse the repository at this point in the history
  • Loading branch information
mddamato committed May 22, 2024
1 parent 29809a3 commit fb6d985
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Second, edit `inventory/my-cluster/hosts.yaml` to match the system information g

```yaml
rke2_cluster:
vars:
install_rke2_version: v1.27.10+rke2r1
children:
rke2_servers:
hosts:
Expand All @@ -83,9 +85,6 @@ rke2_cluster:
agent2.example.com:
node_labels:
- agent2Label=true"
all:
vars:
install_rke2_version: v1.27.10+rke2r1
```

If needed, you can also edit `inventory/my-cluster/group_vars/rke2_agents.yml` and `inventory/my-cluster/group_vars/rke2_servers.yml` to match your environment.
Expand Down
4 changes: 2 additions & 2 deletions site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
become: true
roles:
- role: rke2_server
serial: 1
serial: "4"

- name: Agent play
hosts: rke2_agents
any_errors_fatal: true
become: true
roles:
- role: rke2_agent
serial: 3
serial: "10"

- name: Cluster manifest play
hosts: rke2_servers
Expand Down

0 comments on commit fb6d985

Please sign in to comment.