-
Notifications
You must be signed in to change notification settings - Fork 209
Refactor Layer2 Speaker #380
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
Changes from all commits
82bb452
c2e77b1
c7d0168
d2c43e9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| resources: | ||
| - service.yaml | ||
| #- manifests.yaml | ||
| - webhook.yaml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
|
|
||
| --- | ||
| apiVersion: admissionregistration.k8s.io/v1 | ||
| kind: ValidatingWebhookConfiguration | ||
| metadata: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1122,6 +1122,14 @@ subjects: | |
| namespace: openelb-system | ||
| --- | ||
| apiVersion: v1 | ||
| data: | ||
| key: b3BlbmVsYi1zcGVha2Vycw== | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just a question, where did the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is the base64 encoding of "openelb-speakers". As you can see, I use "openelb-speakers" as the default secret for the memberlist in OpenELB. Of course, you can also customize the secret by modifying the Secret resource. |
||
| kind: Secret | ||
| metadata: | ||
| name: memberlist | ||
| namespace: openelb-system | ||
| --- | ||
| apiVersion: v1 | ||
| kind: Service | ||
| metadata: | ||
| name: openelb-admission | ||
|
|
@@ -1248,6 +1256,7 @@ spec: | |
| - --api-hosts=:50051 | ||
| - --zap-log-level=info | ||
| - --enable-keepalived-vip=false | ||
| - --enable-layer2=false | ||
| command: | ||
| - openelb-speaker | ||
| env: | ||
|
|
@@ -1259,13 +1268,29 @@ spec: | |
| valueFrom: | ||
| fieldRef: | ||
| fieldPath: spec.nodeName | ||
| - name: MEMBER_LIST_SECRET | ||
| valueFrom: | ||
| secretKeyRef: | ||
| key: key | ||
| name: memberlist | ||
| - name: OPENELB_DSNAME | ||
| valueFrom: | ||
| fieldRef: | ||
| fieldPath: metadata.name | ||
| image: kubesphere/openelb-speaker:v0.6.0 | ||
| imagePullPolicy: IfNotPresent | ||
| name: openelb-speaker | ||
| readinessProbe: | ||
| exec: | ||
| command: | ||
| - sh | ||
| - -c | ||
| - | | ||
| gobgp -p 50051 global | ||
| failureThreshold: 3 | ||
| periodSeconds: 10 | ||
| successThreshold: 1 | ||
| timeoutSeconds: 1 | ||
| resources: | ||
| limits: | ||
| cpu: 100m | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.