-
Question:what arguments can be used to run BFE Ingress Controller, and how to define them?
Answer: Arguments supported by BFE Ingress Controller:
Argument | Default value | Description |
---|---|---|
--namespace -n |
Empty String | Specify in which namespaces BFE Ingress Controller will monitor Ingress. Multiple namespaces are seperated by , . Default value is empty string which means to monitor all namespaces. |
--ingress-class | bfe | Specify the kubernetes.io/ingress.class value of Ingress it monitors. If not specified, BFE Ingress Controller monitors the Ingress with ingress class set as "bfe". Usually you don't need to specify it. |
--default-backend | Empty String | Specify name of default backend service, in the format of namespace/name .If specified, requests that match no Ingress rule will be forwarded to the service specified. |
How to define: Define in config file of BFE Ingress Controller, like controller.yaml. Example:
...
containers:
- name: bfe-ingress-controller
image: bfenetworks/bfe-ingress-controller:latest
args: ["-n", "ns1,ns2", "--default-backend", "test/whoami"]
...