Cpu request setted to flannel.
Critical pods flag added.
Minor version bump.
Change-Id: Ia0e971ad235e10b9d8c85b251f00c12fbf293775
Signed-off-by: Szekeres, Balazs (Nokia - HU/Budapest) <balazs.szekeres@nokia.com>
%define COMPONENT flannel
%define RPM_NAME caas-%{COMPONENT}
%define RPM_MAJOR_VERSION 0.11.0
-%define RPM_MINOR_VERSION 3
+%define RPM_MINOR_VERSION 4
%define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
Name: %{RPM_NAME}
tier: node
{{ caas.kubernetes_component_label }}: flannel
spec:
+ priorityClassName: "system-node-critical"
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
# TODO: figure out why flannel needs to run with root to modify network settings on the host
valueFrom:
fieldRef:
fieldPath: metadata.namespace
+ resources:
+ requests:
+ cpu: "10m"
volumeMounts:
- name: time-mount
mountPath: /etc/localtime