Node-config.yml: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * OpenShift Configuration =Location= Found only all nodes (including the masters). <pre> /etc/origin/node/node-c...")
 
 
(4 intermediate revisions by the same user not shown)
Line 10: Line 10:
/etc/origin/node/node-config.yaml
/etc/origin/node/node-config.yaml
</pre>
</pre>
=Configuration Elements=
==dnsIP==
{{Internal|OpenShift_Concepts#Container_.2Fetc.2Fresolv.conf|Container /etc/resolv.conf}}
==Local Volume Configuration==
The local disk space allocated to emptyDirs on this node is configured with [[#volumeDirectory|volumeDirectory]] and [[#volumeConfig|volumeConfig]]:
<span id='volumeDirectory'></span>'''volumeDirectory''': /var/lib/origin/openshift.local.volumes
<span id='volumeConfig'></span>'''volumeConfig''':
  localQuota:
    perFSGroup:
This configuration is relevant when we need to impose quotas on the space allocated for emptyDirs, as described here:
{{Internal|OpenShift_Setting_and_Enforcing_emptyDir_Quotas#Configure_Nodes_to_Allocate_Local_Volume_Space_on_an_XFS_File_System|Setting and Enforcing emptyDir Quotas}}

Latest revision as of 21:02, 19 February 2018

Internal

Location

Found only all nodes (including the masters).

/etc/origin/node/node-config.yaml

Configuration Elements

dnsIP

Container /etc/resolv.conf

Local Volume Configuration

The local disk space allocated to emptyDirs on this node is configured with volumeDirectory and volumeConfig:

volumeDirectory: /var/lib/origin/openshift.local.volumes
volumeConfig:
  localQuota:
    perFSGroup:

This configuration is relevant when we need to impose quotas on the space allocated for emptyDirs, as described here:

Setting and Enforcing emptyDir Quotas