mirror of
https://github.com/rancher/rke.git
synced 2025-09-17 07:30:01 +00:00
Extend rke to tolerate the Windows host
1. Support to configure Flannel as "host-gw" backend 2. Define the network component yaml and ingress controller yaml only schedule to non-Windows node 3. Support to configure Docker container's port publishing
This commit is contained in:
@@ -198,7 +198,7 @@ data:
|
||||
{
|
||||
"Network": "{{.ClusterCIDR}}",
|
||||
"Backend": {
|
||||
"Type": "vxlan"
|
||||
"Type": "{{.FlannelBackend.Type}}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -229,6 +229,15 @@ spec:
|
||||
annotations:
|
||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: beta.kubernetes.io/os
|
||||
operator: NotIn
|
||||
values:
|
||||
- windows
|
||||
hostNetwork: true
|
||||
serviceAccountName: canal
|
||||
tolerations:
|
||||
|
Reference in New Issue
Block a user