Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.37 KB

README.md

File metadata and controls

31 lines (27 loc) · 1.37 KB

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