Live Workshop: Integrate Google SecOps with Bindplane - Join Us on January 29th at 11 AM ET!Sign Up Now

Kubernetes Service

Kubernetes Service can be used to route network traffic to your Bindplane collectors.

Custom Service

When adding sources such as Syslog, TCP, UDP, you must create a custom service to route the traffic.

Bindplane Node

This example shows how to expose TCP port 5140, routing to the Bindplane Node agent.

yaml
1apiVersion: v1
2kind: Service
3metadata:
4  name: bindplane-node-agent-syslog
5  namespace: bindplane-agent
6  labels:
7    app.kubernetes.io/component: gateway
8    app.kubernetes.io/name: bindplane-agent
9spec:
10  ports:
11  - appProtocol: tcp
12    name: syslog-tcp
13    port: 5140
14    protocol: TCP
15    targetPort: 5140
16  selector:
17    app.kubernetes.io/component: node
18    app.kubernetes.io/name: bindplane-agent
19  type: ClusterIP

Bindplane Gateway

This example shows how to expose TCP port 5140, routing to the Bindplane Gateway agent.

yaml
1apiVersion: v1
2kind: Service
3metadata:
4  name: bindplane-gateway-agent-syslog
5  namespace: bindplane-agent
6  labels:
7    app.kubernetes.io/component: gateway
8    app.kubernetes.io/name: bindplane-agent
9spec:
10  ports:
11  - appProtocol: tcp
12    name: syslog-tcp
13    port: 5140
14    protocol: TCP
15    targetPort: 5140
16  selector:
17    app.kubernetes.io/component: gateway
18    app.kubernetes.io/name: bindplane-agent
19  type: ClusterIP

Ingress

If you want to route traffic external to your cluster, you can use an Ingress resource to route traffic to the custom service.

You can read more about Ingress here.