Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bostrt/log-pids
https://github.com/bostrt/log-pids
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bostrt/log-pids
- Owner: bostrt
- Created: 2021-04-07T22:37:06.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-07T22:37:11.000Z (almost 4 years ago)
- Last Synced: 2024-11-01T10:08:36.059Z (2 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This application is only for testing and POC. Zero value otherwise.
OpenShift Setup:
1. Create a test project
```
$ oc new-project rhtest
```
2. Add privileged SCC to default serviceaccount
```
$ oc adm policy add-scc-to-user privileged -z default
```
3. Launch a new DaemonSet using a test app that logs PIDs on the host. The log-pids-ds.yaml file is shared further below:
```
$ oc create -f https://raw.githubusercontent.com/bostrt/log-pids/master/daemonset.yaml
```
4. Check that the DaemonSet rolls out without an issue:
```
$ oc get pods -n rhtest -o wide
```
5. SSH to any node where one of the new log-pids Pods are running
```
$ ssh
$ cat /var/lib/log-pids/ps.txt```