node-config.yaml.j2 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. kind: NodeConfig
  2. apiVersion: v1
  3. authConfig:
  4. authenticationCacheSize: 1000
  5. authenticationCacheTTL: 5m
  6. authorizationCacheSize: 1000
  7. authorizationCacheTTL: 5m
  8. dnsBindAddress: "127.0.0.1:53"
  9. dnsDomain: cluster.local
  10. dnsIP: 0.0.0.0
  11. dnsNameservers: null
  12. dnsRecursiveResolvConf: /etc/origin/node/resolv.conf
  13. dockerConfig:
  14. dockerShimRootDirectory: /var/lib/dockershim
  15. dockerShimSocket: /var/run/dockershim.sock
  16. execHandlerName: native
  17. enableUnidling: true
  18. imageConfig:
  19. format: "{{ openshift_imageconfig_format }}"
  20. latest: false
  21. iptablesSyncPeriod: 30s
  22. kubeletArguments:
  23. {% if openshift_use_crio | bool %}
  24. container-runtime:
  25. - remote
  26. container-runtime-endpoint:
  27. - {{ l_crio_var_sock }}
  28. image-service-endpoint:
  29. - {{ l_crio_var_sock }}
  30. runtime-request-timeout:
  31. - 10m
  32. {% endif %}
  33. pod-manifest-path:
  34. - /etc/origin/node/pods
  35. bootstrap-kubeconfig:
  36. - /etc/origin/node/bootstrap.kubeconfig
  37. feature-gates:
  38. - RotateKubeletClientCertificate=true,RotateKubeletServerCertificate=true
  39. rotate-certificates:
  40. - "true"
  41. cert-dir:
  42. - /etc/origin/node/certificates
  43. {% if openshift_node_group_cloud_provider is defined %}
  44. cloud-config:
  45. - /etc/origin/cloudprovider/{{ openshift_node_group_cloud_provider }}.conf
  46. cloud-provider:
  47. - {{ openshift_node_group_cloud_provider }}
  48. {% endif %}
  49. node-labels:
  50. - "{{ openshift_node_group_labels | join(',') }}"
  51. enable-controller-attach-detach:
  52. - 'true'
  53. masterClientConnectionOverrides:
  54. acceptContentTypes: application/vnd.kubernetes.protobuf,application/json
  55. burst: 40
  56. contentType: application/vnd.kubernetes.protobuf
  57. qps: 20
  58. masterKubeConfig: node.kubeconfig
  59. networkConfig:
  60. mtu: {{ openshift_node_group_network_mtu }}
  61. networkPluginName: {{ openshift_node_group_network_plugin }}
  62. networkPluginName: {{ openshift_node_group_network_plugin }}
  63. servingInfo:
  64. bindAddress: 0.0.0.0:10250
  65. bindNetwork: tcp4
  66. clientCA: client-ca.crt
  67. volumeConfig:
  68. localQuota:
  69. perFSGroup: null
  70. volumeDirectory: {{ openshift_node_group_node_data_dir }}/openshift.local.volumes