Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lockc on Kubernetes #168

Merged
merged 3 commits into from
Feb 9, 2022
Merged

Conversation

vadorovsky
Copy link
Member

Change to Aya as the eBPF loader in the userpace (#142) broke few things in the Kubernetes integration. This PR fixes them. Best to be reviewed per commit.

LOCKC_LOG_LEVEL for --log-level and LOCKC_LOG_FMT for --log-fmt.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
* use `lockc` namespace
* create if from yaml
* use new log.level option

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
This change adds a build argument `profile`. By default, its value is
`release`. Building lockc with some other profile, i.e. `debug`, can be
done with:

```
docker build --build-arg profile=debug -t lockc .
```

Using `debug` profile results also in installation of gdb and lldb
inside lockc container.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
Copy link
Collaborator

@mjura mjura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vadorovsky vadorovsky merged commit c36efa8 into lockc-project:main Feb 9, 2022
@vadorovsky vadorovsky deleted the k8s-fix branch February 9, 2022 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants