Last active
September 28, 2021 04:33
-
-
Save kudaliar032/8f1e2fc6b07c22b948e836c2f2db166d to your computer and use it in GitHub Desktop.
final k0sctl.yaml for cluster
This file contains 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
apiVersion: k0sctl.k0sproject.io/v1beta1 | |
kind: Cluster | |
metadata: | |
name: k0s-cluster | |
spec: | |
hosts: | |
- ssh: | |
address: 11.11.11.11 | |
user: ubuntu | |
port: 22 | |
keyPath: /Users/kudaliar/.ssh/id_rsa | |
role: controller | |
- ssh: | |
address: 22.22.22.22 | |
user: ubuntu | |
port: 22 | |
keyPath: /Users/kudaliar/.ssh/id_rsa | |
role: controller | |
- ssh: | |
address: 33.33.33.33 | |
user: ubuntu | |
port: 22 | |
keyPath: /Users/kudaliar/.ssh/id_rsa | |
role: controller | |
- ssh: | |
address: 44.44.44.44 | |
user: ubuntu | |
port: 22 | |
keyPath: /Users/kudaliar/.ssh/id_rsa | |
role: worker | |
- ssh: | |
address: 55.55.55.55 | |
user: ubuntu | |
port: 22 | |
keyPath: /Users/kudaliar/.ssh/id_rsa | |
role: worker | |
- ssh: | |
address: 66.66.66.66 | |
user: ubuntu | |
port: 22 | |
keyPath: /Users/kudaliar/.ssh/id_rsa | |
role: worker | |
k0s: | |
version: 1.22.2+k0s.0 | |
config: | |
spec: | |
api: | |
externalAddress: 77.77.77.77 | |
sans: | |
- 77.77.77.77 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment