Log-audit server is a log server for kubepack. Log audit uses webhook and audit to communicate with kubernetes apiserver. kubernetes apiserver sends events to log-audit server using webhook. Then, log-audit server saves these events to database(log-audit uses goleveldb for store data).
- Run
main.go
bygo run main.go
- Replace
<PRIMARY_NETWORK_INTERFACE_IP>
inminikube/1.9/auditing/hit-config.yaml
file with local computer'sPRIMARY_NETWORK_INTERFACE_IP
- Run
restart.sh
fromminikube/1.9/auditing
directory. This command copiesaudit-policy.yaml
,kube-apiserver.yaml
andhit-config.yaml
files into~/minikube/files
folder. Thenminikube
will mount this folder inside theMinikube VM
astmp/files
folder. - Once minikube is running, ssh into minikube and run following command:
minikube ssh
# inside minikube vm
sudo cp /tmp/files/kube-apiserver.yaml /etc/kubernetes/manifests/kube-apiserver.yaml
- Log-audit server store logs, only which events are generated by objects which are annotated with
git-commit-hash
. - Deploy some app using kubepack.
- Go to http://localhost:8080/get-logs to see the logs.
Want to help improve Kubepack? Please start here.
Kubepack binaries collects anonymous usage statistics to help us learn how the software is being used and how we can improve it.
To disable stats collection, run the operator with the flag --analytics=false
.
We use Slack for public discussions. To chit chat with us or the rest of the community, join us in the Kubernetes Slack team channel #kubepack
. To sign up, use our Slack inviter.
To receive product announcements, please join our mailing list or follow us on Twitter. Our mailing list is also used to share design docs shared via Google docs.
If you have found a bug with Kubepack or want to request for new features, please file an issue.