Sign inSign up

inwinstack/pa-controller

By inwinstack

•Updated about 7 years ago

The PA controller will be sync Kubernetes service that makes it easy to set the PA policy.

Image
0

1.8K

inwinstack/pa-controller repository overview

Build Status codecov Docker Pulls Hex.pm

⁠PA Controller

The PA controller for syncing Kubernetes CRDs to make it easy to set PAN policy and object.

Once installed, the PA controller provides the following custom resources:

  • NAT: NAT rules provide address translation, and are different from security policy rules, which allow or deny packets.
  • Security: Security policy protects network assets from threats and disruptions and aids in optimally allocating network resources for enhancing productivity and efficiency in business processes.
  • Service: When you define policies for specific applications, you can select one or more services to limit the port numbers the applications can use.

⁠Building from Source

Clone repo into your go path under $GOPATH/src:

$ git clone https://github.com/inwinstack/pa-controller.git $GOPATH/src/github.com/inwinstack/pa-controller
$ cd $GOPATH/src/github.com/inwinstack/pa-controller
$ make

⁠Debug out of the cluster

Run the following command to debug:

$ go run cmd/main.go \
    --kubeconfig $HOME/.kube/config \
    --logtostderr \
    -v=2 \
    --host=172.22.132.114 \
    --username=admin \
    --password=admin 

⁠Deploy in the cluster

Run the following command to deploy the controller:

$ kubectl apply -f deploy/
$ kubectl -n kube-system get po -l app=pa-controller

Tag summary

Content type

Image

Digest

Size

10.7 MB

Last updated

about 7 years ago

docker pull inwinstack/pa-controller