node-config.yaml.j2 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. pod-manifest-path:
  24. - /etc/origin/node/pods
  25. bootstrap-kubeconfig:
  26. - /etc/origin/node/bootstrap.kubeconfig
  27. feature-gates:
  28. - RotateKubeletClientCertificate=true,RotateKubeletServerCertificate=true
  29. rotate-certificates:
  30. - "true"
  31. cert-dir:
  32. - /etc/origin/node/certificates
  33. cloud-config:
  34. - /etc/origin/cloudprovider/{{ openshift_node_group_cloud_provider }}.conf
  35. cloud-provider:
  36. - {{ openshift_node_group_cloud_provider }}
  37. node-labels:
  38. - "{{ openshift_node_group_labels | join(',') }}"
  39. enable-controller-attach-detach:
  40. - 'true'
  41. masterClientConnectionOverrides:
  42. acceptContentTypes: application/vnd.kubernetes.protobuf,application/json
  43. burst: 40
  44. contentType: application/vnd.kubernetes.protobuf
  45. qps: 20
  46. masterKubeConfig: node.kubeconfig
  47. networkConfig:
  48. mtu: {{ openshift_node_group_network_mtu }}
  49. networkPluginName: {{ openshift_node_group_network_plugin }}
  50. networkPluginName: {{ openshift_node_group_network_plugin }}
  51. servingInfo:
  52. bindAddress: 0.0.0.0:10250
  53. bindNetwork: tcp4
  54. clientCA: client-ca.crt
  55. volumeConfig:
  56. localQuota:
  57. perFSGroup: null
  58. volumeDirectory: {{ openshift_node_group_node_data_dir }}/openshift.local.volumes