packserver-old

command module
v0.0.0-...-a052cf5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

README

Go Report Card

WebsiteSlackTwitter

Packserver

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).

Test Process
  • Run main.go by go run main.go
  • Replace <PRIMARY_NETWORK_INTERFACE_IP> in minikube/1.9/auditing/hit-config.yaml file with local computer's PRIMARY_NETWORK_INTERFACE_IP
  • Run restart.sh from minikube/1.9/auditing directory. This command copies audit-policy.yaml, kube-apiserver.yaml and hit-config.yaml files into ~/minikube/files folder. Then minikube will mount this folder inside the Minikube VM as tmp/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.

Contribution guidelines

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.


Support

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL