mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
Support CoreOS in RKE
This commit is contained in:
parent
428bdf8d52
commit
28c0596849
@ -46,6 +46,23 @@ resource "rke_cluster" "cluster" {
|
||||
ingress {
|
||||
provider = "none"
|
||||
}
|
||||
|
||||
# For CoreOS
|
||||
network {
|
||||
plugin = "canal"
|
||||
options = {
|
||||
canal_flex_volume_plugin_dir = "/opt/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds"
|
||||
flannel_backend_type = "vxlan"
|
||||
}
|
||||
}
|
||||
|
||||
services {
|
||||
kube_controller {
|
||||
extra_args = {
|
||||
flex-volume-plugin-dir = "/opt/kubernetes/kubelet-plugins/volume/exec/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
resource "local_file" "kube_config_yaml" {
|
||||
|
Loading…
Reference in New Issue
Block a user