Skip to content

A controller that syncs Kubernetes service to set PA policies. 🐤🐤🐤

License

Notifications You must be signed in to change notification settings

inwinstack/pa-svc-syncker

Repository files navigation

Build Status codecov Docker Pulls Hex.pm

PA Kubernetes Service Syncker

The PA Service Syncker for Kubernetes provides automation synchronizing definitions for Kubernetes Services to set the NAT/Security policy.

Requirements

The PA Service Syncker depend on PA Controller.

Building from Source

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

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

Debug out of the cluster

Run the following command to debug:

$ go run cmd/main.go \
    -v=2 \
    --logtostderr \
    --kubeconfig=$HOME/.kube/config \
    --ignore-namespaces=kube-system,default,kube-public 

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-svc-syncker