flink-conf.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ################################################################################
  2. # Licensed to the Apache Software Foundation (ASF) under one
  3. # or more contributor license agreements. See the NOTICE file
  4. # distributed with this work for additional information
  5. # regarding copyright ownership. The ASF licenses this file
  6. # to you under the Apache License, Version 2.0 (the
  7. # "License"); you may not use this file except in compliance
  8. # with the License. You may obtain a copy of the License at
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing, software
  13. # distributed under the License is distributed on an "AS IS" BASIS,
  14. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. # See the License for the specific language governing permissions and
  16. # limitations under the License.
  17. ################################################################################
  18. # Flink job/cluster related configs
  19. taskmanager.numberOfTaskSlots: 1
  20. parallelism.default: 1
  21. # Flink operator related configs
  22. # kubernetes.operator.reconcile.interval: 60 s
  23. # kubernetes.operator.reconcile.parallelism: 5
  24. # kubernetes.operator.flink.client.cancel.timeout: 1 min
  25. # kubernetes.operator.resource.cleanup.timeout: 60 s
  26. # kubernetes.operator.observer.rest-ready.delay: 10 s
  27. # kubernetes.operator.observer.progress-check.interval: 10 s
  28. # kubernetes.operator.observer.savepoint.trigger.grace-period: 10 s
  29. # kubernetes.operator.flink.client.timeout: 10 s
  30. # kubernetes.operator.deployment.rollback.enabled: false
  31. # kubernetes.operator.deployment.readiness.timeout: 5min
  32. # kubernetes.operator.user.artifacts.base.dir: /opt/flink/artifacts
  33. # kubernetes.operator.job.upgrade.ignore-pending-savepoint: false
  34. # kubernetes.operator.watched.namespaces: ns1,ns2
  35. # kubernetes.operator.label.selector: flink=enabled
  36. # kubernetes.operator.dynamic.namespaces.enabled: false
  37. # kubernetes.operator.retry.initial.interval: 5 s
  38. # kubernetes.operator.retry.interval.multiplier: 2
  39. # kubernetes.operator.retry.max.attempts: 10
  40. # kubernetes.operator.exception.stacktrace.enabled: false
  41. # kubernetes.operator.exception.stacktrace.max.length: 2048
  42. # kubernetes.operator.exception.field.max.length: 2048
  43. # kubernetes.operator.exception.throwable.list.max.count: 2
  44. # kubernetes.operator.exception.label.mapper: Job has already been submitted:duplicatedJobFound,Server returned HTTP response code:httpResponseCodeFound
  45. # kubernetes.operator.leader-election.enabled: false
  46. # kubernetes.operator.leader-election.lease-name: flink-operator-lease
  47. # kubernetes.operator.metrics.reporter.slf4j.factory.class: org.apache.flink.metrics.slf4j.Slf4jReporterFactory
  48. # kubernetes.operator.metrics.reporter.slf4j.interval: 5 MINUTE