values.yaml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. # Default values for canal-server.
  2. # This is a YAML-formatted file.
  3. # Declare variables to be passed into your templates.
  4. # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
  5. replicaCount: 1
  6. # This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
  7. image:
  8. repository: canal/canal-server
  9. # This sets the pull policy for images.
  10. pullPolicy: IfNotPresent
  11. # Overrides the image tag whose default is the chart appVersion.
  12. tag: "1.1.8-alpha-3"
  13. # This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
  14. imagePullSecrets: []
  15. # This is to override the chart name.
  16. nameOverride: ""
  17. fullnameOverride: ""
  18. # This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
  19. serviceAccount:
  20. # Specifies whether a service account should be created
  21. create: false
  22. # Automatically mount a ServiceAccount's API credentials?
  23. automount: false
  24. # Annotations to add to the service account
  25. annotations: {}
  26. # The name of the service account to use.
  27. # If not set and create is true, a name is generated using the fullname template
  28. name: ""
  29. # This is for setting Kubernetes Annotations to a Pod.
  30. # For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
  31. podAnnotations: {}
  32. # This is for setting Kubernetes Labels to a Pod.
  33. # For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
  34. podLabels: {}
  35. podSecurityContext: {}
  36. # fsGroup: 2000
  37. securityContext: {}
  38. # capabilities:
  39. # drop:
  40. # - ALL
  41. # readOnlyRootFilesystem: true
  42. # runAsNonRoot: true
  43. # runAsUser: 1000
  44. # This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
  45. service:
  46. # This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
  47. type: ClusterIP
  48. # This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports
  49. # port: 80
  50. ports:
  51. admin: 11110
  52. tcp: 11111
  53. metric: 11112
  54. # This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
  55. ingress:
  56. enabled: false
  57. className: ""
  58. annotations: {}
  59. # kubernetes.io/ingress.class: nginx
  60. # kubernetes.io/tls-acme: "true"
  61. hosts:
  62. - host: chart-example.local
  63. paths:
  64. - path: /
  65. pathType: ImplementationSpecific
  66. tls: []
  67. # - secretName: chart-example-tls
  68. # hosts:
  69. # - chart-example.local
  70. resources: {}
  71. # We usually recommend not to specify default resources and to leave this as a conscious
  72. # choice for the user. This also increases chances charts run on environments with little
  73. # resources, such as Minikube. If you do want to specify resources, uncomment the following
  74. # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  75. # limits:
  76. # cpu: 100m
  77. # memory: 128Mi
  78. # requests:
  79. # cpu: 100m
  80. # memory: 128Mi
  81. # This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
  82. livenessProbe:
  83. httpGet:
  84. path: /
  85. port: metric
  86. readinessProbe:
  87. httpGet:
  88. path: /
  89. port: metric
  90. # This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
  91. autoscaling:
  92. enabled: false
  93. minReplicas: 1
  94. maxReplicas: 100
  95. targetCPUUtilizationPercentage: 80
  96. # targetMemoryUtilizationPercentage: 80
  97. # Additional volumes on the output Deployment definition.
  98. volumes: []
  99. # - name: foo
  100. # secret:
  101. # secretName: mysecret
  102. # optional: false
  103. # Additional volumeMounts on the output Deployment definition.
  104. volumeMounts: []
  105. # - name: foo
  106. # mountPath: "/etc/foo"
  107. # readOnly: true
  108. nodeSelector: {}
  109. tolerations: []
  110. affinity: {}
  111. server:
  112. config: |
  113. canal.port = 11111
  114. canal.metrics.pull.port = 11112
  115. # register ip
  116. canal.register.ip =
  117. # canal admin config
  118. canal.admin.manager = canal-admin.default:8089
  119. canal.admin.port = 11110
  120. canal.admin.user = admin
  121. canal.admin.passwd = 4ACFE3202A5FF5CF467898FC58AAB1D615029441
  122. # admin auto register
  123. canal.admin.register.auto = true
  124. canal.admin.register.cluster = default