node.yaml.v1.j2 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. allowDisabledDocker: false
  2. apiVersion: v1
  3. dnsDomain: {{ osn_cluster_dns_domain }}
  4. dnsIP: {{ osn_cluster_dns_ip }}
  5. dockerConfig:
  6. execHandlerName: ""
  7. iptablesSyncPeriod: "{{ openshift.node.iptables_sync_period }}"
  8. imageConfig:
  9. format: {{ openshift.node.registry_url }}
  10. latest: false
  11. kind: NodeConfig
  12. {% if openshift.node.kubelet_args is defined and openshift.node.kubelet_args %}
  13. kubeletArguments: {{ openshift.node.kubelet_args | to_json }}
  14. {% endif %}
  15. masterKubeConfig: system:node:{{ openshift.common.hostname }}.kubeconfig
  16. {% if openshift.common.use_openshift_sdn %}
  17. networkPluginName: {{ openshift.common.sdn_network_plugin_name }}
  18. {% endif %}
  19. # networkConfig struct introduced in origin 1.0.6 and OSE 3.0.2 which
  20. # deprecates networkPluginName above. The two should match.
  21. networkConfig:
  22. mtu: {{ openshift.node.sdn_mtu }}
  23. {% if openshift.common.use_openshift_sdn %}
  24. networkPluginName: {{ openshift.common.sdn_network_plugin_name }}
  25. {% endif %}
  26. nodeIP: {{ openshift.common.ip }}
  27. nodeName: {{ openshift.common.hostname | lower }}
  28. podManifestConfig:
  29. servingInfo:
  30. bindAddress: 0.0.0.0:10250
  31. certFile: server.crt
  32. clientCA: ca.crt
  33. keyFile: server.key
  34. volumeDirectory: {{ openshift.common.data_dir }}/openshift.local.volumes
  35. {% include 'partials/kubeletArguments.j2' %}