Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limiter: support leader election #227

Merged
merged 1 commit into from
Nov 28, 2022
Merged

limiter: support leader election #227

merged 1 commit into from
Nov 28, 2022

Conversation

MouceL
Copy link
Contributor

@MouceL MouceL commented Nov 24, 2022

set replicaCount and enable-leader-election: "on" to support leader election in limiter

apiVersion: config.netease.com/v1alpha1
kind: SlimeBoot
metadata:
  name: limiter
  namespace: mesh-operator
spec:
  replicaCount: 2
  image:
    pullPolicy: Always
    repository: docker.io/slimeio/slime-limiter
    tag:  xxxxxxxxx  ##真实镜像
  module:
    - name: limiter
      kind: limiter
      enable: true
      general:
        disableGlobalRateLimit: true
        disableAdaptive: true
        disableInsertGlobalRateLimit: true
      global:
        misc:
          enable-leader-election: "on"  
        log:
          logLevel: info
        configSources:
          - address: ss:// 

@YonkaFang YonkaFang merged commit 048582d into slime-io:master Nov 28, 2022
@believening believening linked an issue Dec 8, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

slime component high availability
2 participants