1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- allowDisabledDocker: false
- apiVersion: v1
- dnsDomain: {{ openshift.common.dns_domain }}
- {% if 'dns_ip' in openshift.node %}
- dnsIP: {{ openshift.node.dns_ip }}
- {% endif %}
- dockerConfig:
- execHandlerName: ""
- iptablesSyncPeriod: "{{ openshift.node.iptables_sync_period }}"
- imageConfig:
- format: {{ openshift.node.registry_url }}
- latest: false
- kind: NodeConfig
- kubeletArguments: {{ openshift.node.kubelet_args | default(None) | to_padded_yaml(level=1) }}
- {% if openshift.common.version_gte_3_3_or_1_3 | bool %}
- masterClientConnectionOverrides:
- acceptContentTypes: application/vnd.kubernetes.protobuf,application/json
- contentType: application/vnd.kubernetes.protobuf
- burst: 40
- ops: 20
- {% endif %}
- masterKubeConfig: system:node:{{ openshift.common.hostname }}.kubeconfig
- {% if openshift.common.use_openshift_sdn %}
- networkPluginName: {{ openshift.common.sdn_network_plugin_name }}
- {% endif %}
- # networkConfig struct introduced in origin 1.0.6 and OSE 3.0.2 which
- # deprecates networkPluginName above. The two should match.
- networkConfig:
- mtu: {{ openshift.node.sdn_mtu }}
- {% if openshift.common.use_openshift_sdn or openshift.common.use_nuage %}
- networkPluginName: {{ openshift.common.sdn_network_plugin_name }}
- {% endif %}
- {% if openshift.node.set_node_ip | bool %}
- nodeIP: {{ openshift.common.ip }}
- {% endif %}
- nodeName: {{ openshift.common.hostname | lower }}
- podManifestConfig:
- servingInfo:
- bindAddress: 0.0.0.0:10250
- certFile: server.crt
- clientCA: ca.crt
- keyFile: server.key
- volumeDirectory: {{ openshift.common.data_dir }}/openshift.local.volumes
- {% include 'partials/kubeletArguments.j2' %}
- proxyArguments:
- proxy-mode:
- - {{ openshift.node.proxy_mode }}
- volumeConfig:
- localQuota:
- perFSGroup: {{ openshift.node.local_quota_per_fsgroup }}
|