controller_manager_config.yaml 921 B

123456789101112131415161718192021
  1. apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
  2. kind: ControllerManagerConfig
  3. health:
  4. healthProbeBindAddress: :8081
  5. metrics:
  6. bindAddress: 127.0.0.1:8080
  7. webhook:
  8. port: 9443
  9. leaderElection:
  10. leaderElect: true
  11. resourceName: d627c837.demo.kakao.com
  12. # leaderElectionReleaseOnCancel defines if the leader should step down volume
  13. # when the Manager ends. This requires the binary to immediately end when the
  14. # Manager is stopped, otherwise, this setting is unsafe. Setting this significantly
  15. # speeds up voluntary leader transitions as the new leader don't have to wait
  16. # LeaseDuration time first.
  17. # In the default scaffold provided, the program ends immediately after
  18. # the manager stops, so would be fine to enable this option. However,
  19. # if you are doing or is intended to do any operation such as perform cleanups
  20. # after the manager stops then its usage might be unsafe.
  21. # leaderElectionReleaseOnCancel: true