Skip to content
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

example hosts file for single host #187

Open
kmashwin opened this issue Jan 17, 2024 · 1 comment
Open

example hosts file for single host #187

kmashwin opened this issue Jan 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kmashwin
Copy link

Summary

I am trying to install rke2 for a single node which acts as server and agent. There is no example how to write the hosts file for a single node cluster.
i took the example for playbook, but can't figure the hosts file for the same.

Issue Type

Feature Idea

@kmashwin kmashwin added the enhancement New feature or request label Jan 17, 2024
@jLemmings
Copy link
Contributor

Could look something like this hosts.yml:

---
k8s_cluster:
  children:
    masters:
      hosts:
        192.168.1.[61:63]
      vars:
        rke2_type: server
    workers:
      hosts:
        192.168.1.[71:72]
      vars:
        rke2_type: agent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants