add roles support for worker nodes

This commit is contained in:
2025-08-09 21:46:23 +03:00
parent 55fdd58f92
commit c2f41356cb
4 changed files with 24 additions and 43 deletions

View File

@@ -4,17 +4,17 @@ credentials:
private_key_file: /Users/georgest/.ssh/id_rsa
hosts:
- hostname: k8s-master-1
ip: "172.16.1.136"
roles: [control_plane, etcd]
master:
- hostname: k8s-master-1
ip: "172.16.1.136"
worker:
- hostname: k8s-worker-1
ip: "172.16.1.135"
# roles: [infra]
- hostname: k8s-worker-1
ip: "172.16.1.135"
roles: [node]
- hostname: k8s-worker-2
ip: "172.16.1.137"
roles: [node]
- hostname: k8s-worker-2
ip: "172.16.1.137"
# roles: [ingress]
orchestrator:
version: "1.32.4"