To override the default node selectors (that are set for the entire environment in #1 above), the administrator can set the above value as an empty string (“”) for a project namespace. In such projects the defaults won’t apply.
3. Adding NodeSelectors to a DeploymentConfig
A developer or a deployer can make specific components to deploy on specific nodes by adding node selectors to a deployment configuration.
#oc edit dc <deploymentConfigName> -o json
find the section “spec” under “template” and add node selector section
#oc get template <templatename> -n openshift > filename.json
Edit the json file and add the nodeselectors like how you did for the deployment configuration in #3 above. Also change the template name and namespace values in the metadata section at the beginning of the template.Save the json file.
We've been publishing a ton of great video content on our YouTube Channel, and streaming daily on Twitch.tv. The schedule for shows can be found on the OpenShift.tv page, and you're always welcome to ...
Just before the Holidays sweep everyone away, we thought it best to present you with some of our favorite bits from our streaming video channel. While the channel is live according to this schedule, ...