airshipctl/manifests/function/hwcc/manager/manager_toleration_patch.yaml
Sreejith Punnapuzha 02da44720c Add toleration for taint
This commit adds toleration for taint master NoSchedule to different
components. This will help us in managing components that gets deployed
in kubernetes master nodes

Relates-To: #406

Change-Id: I9f3a30be9c4eed65dcdd1c41514abbfd9c384541
Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
2020-12-14 14:56:51 -06:00

12 lines
212 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: controller-manager
namespace: system
spec:
template:
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule