File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -928,6 +928,7 @@ write_files:
928
928
{{- end}}
929
929
{{- end}}
930
930
931
+ # TODO: Remove this once all nodes are running an AMI compatible with /etc/cni/net.d/10-flannel.conflist
931
932
- owner : root:root
932
933
path : /etc/kubernetes/cni/net.d/10-flannel.conflist
933
934
content : |
@@ -944,3 +945,20 @@ write_files:
944
945
}
945
946
]
946
947
}
948
+
949
+ - owner : root:root
950
+ path : /etc/cni/net.d/10-flannel.conflist
951
+ content : |
952
+ {
953
+ "name": "podnet",
954
+ "cniVersion": "0.3.1",
955
+ "plugins": [
956
+ {
957
+ "type": "flannel",
958
+ "delegate": {
959
+ "isDefaultGateway": true,
960
+ "hairpinMode": true
961
+ }
962
+ }
963
+ ]
964
+ }
Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ write_files:
136
136
{{- end}}
137
137
{{- end}}
138
138
139
+ # TODO: Remove this once all nodes are running an AMI compatible with /etc/cni/net.d/10-flannel.conflist
139
140
- owner : root:root
140
141
path : /etc/kubernetes/cni/net.d/10-flannel.conflist
141
142
content : |
@@ -152,3 +153,20 @@ write_files:
152
153
}
153
154
]
154
155
}
156
+
157
+ - owner : root:root
158
+ path : /etc/cni/net.d/10-flannel.conflist
159
+ content : |
160
+ {
161
+ "name": "podnet",
162
+ "cniVersion": "0.3.1",
163
+ "plugins": [
164
+ {
165
+ "type": "flannel",
166
+ "delegate": {
167
+ "isDefaultGateway": true,
168
+ "hairpinMode": true
169
+ }
170
+ }
171
+ ]
172
+ }
You can’t perform that action at this time.
0 commit comments