Skip to content

Instantly share code, notes, and snippets.

@yifan-gu
Created October 9, 2017 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yifan-gu/3ffa39e318c55b3ab952545d5085a47b to your computer and use it in GitHub Desktop.
Save yifan-gu/3ffa39e318c55b3ab952545d5085a47b to your computer and use it in GitHub Desktop.
Command for rescheduling tco pods into master nodes:

To reschedule the tco pods to master nodes, run:

kubectl -n tectonic-system patch deployment tectonic-channel-operator -p '{"spec":{"template":{"spec":{"nodeSelector":{"node-role.kubernetes.io/master":""},"tolerations":[{"key":"node-role.kubernetes.io/master","operator":"Exists","effect":"NoSchedule"}]}}}}'

This works around the issue that tco can't run on rhel node because it expects a ssl cert dir that's not in rhel distros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment