Created
February 28, 2025 15:11
-
-
Save azwan082/2dca590ecb4e9345fde8dcd39406ca89 to your computer and use it in GitHub Desktop.
Deploy k0sctl with ingress controller, load balancer & storage provider
This file contains hidden or 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 | |
user: admin | |
spec: | |
k0s: | |
config: | |
spec: | |
extensions: | |
helm: | |
repositories: | |
- name: traefik | |
url: https://traefik.github.io/charts | |
- name: metallb | |
url: https://metallb.github.io/metallb | |
- name: openebs-internal | |
url: https://openebs.github.io/charts | |
charts: | |
- name: traefik | |
chartname: traefik/traefik | |
namespace: kube-system | |
- name: metallb | |
chartname: metallb/metallb | |
namespace: kube-system | |
- name: openebs | |
chartname: openebs-internal/openebs | |
namespace: openebs | |
values: | | |
localprovisioner: | |
hostpathClass: | |
enabled: true | |
isDefaultClass: true | |
hosts: | |
- ssh: | |
address: 192.168.122.141 | |
user: root | |
port: 22 | |
keyPath: ~/.ssh/id_rsa | |
role: controller+worker | |
installFlags: | |
- --no-taints | |
- ssh: | |
address: 192.168.122.144 | |
user: root | |
port: 22 | |
keyPath: ~/.ssh/id_rsa | |
role: worker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment