mirror of
https://github.com/rancher/rke.git
synced 2025-09-07 01:40:11 +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:
@@ -176,6 +176,15 @@ spec:
|
||||
prometheus.io/port: '10254'
|
||||
prometheus.io/scrape: 'true'
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: beta.kubernetes.io/os
|
||||
operator: NotIn
|
||||
values:
|
||||
- windows
|
||||
hostNetwork: true
|
||||
nodeSelector:
|
||||
{{ range $k, $v := .NodeSelector }}
|
||||
|
Reference in New Issue
Block a user