The PA Service Syncker for Kubernetes provides automation synchronizing definitions for Kubernetes Services to set the NAT/Security policy.
The PA Service Syncker depend on PA Controller.
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
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
Run the following command to deploy the controller:
$ kubectl apply -f deploy/
$ kubectl -n kube-system get po -l app=pa-svc-syncker