node-config.yaml.j2 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. {% if openshift_node_use_persistentlocalvolumes | bool %}
  54. feature-gates:
  55. - PersistentLocalVolumes=true
  56. {% endif %}
  57. masterClientConnectionOverrides:
  58. acceptContentTypes: application/vnd.kubernetes.protobuf,application/json
  59. burst: 40
  60. contentType: application/vnd.kubernetes.protobuf
  61. qps: 20
  62. masterKubeConfig: node.kubeconfig
  63. networkConfig:
  64. mtu: {{ openshift.node.sdn_mtu }}
  65. networkPluginName: {{ openshift_node_group_network_plugin }}
  66. servingInfo:
  67. bindAddress: 0.0.0.0:10250
  68. bindNetwork: tcp4
  69. clientCA: client-ca.crt
  70. volumeConfig:
  71. localQuota:
  72. perFSGroup: null
  73. volumeDirectory: {{ openshift_node_group_node_data_dir }}/openshift.local.volumes