Skip to content

[DONT TOUCH]agv15 to master chanes#136

Open
gauravakto wants to merge 64 commits intoag/v15-prodfrom
feature/k8s_ebpf
Open

[DONT TOUCH]agv15 to master chanes#136
gauravakto wants to merge 64 commits intoag/v15-prodfrom
feature/k8s_ebpf

Conversation

@gauravakto
Copy link

No description provided.

notshivansh and others added 30 commits July 25, 2025 11:56
…a_ebpf

Adding sasl auth in kafka for agent
notshivansh and others added 30 commits December 16, 2025 16:26
* added kafka heartbeats with pod name

* added module type as well

* added module type changes and organise paylaod

* change in module type and added jitter to stop spike

* change in moduleType value

* removing the pod name and node name

* added akto agent name

* added changes to get the docker image version

* code cleanup

* added pod name to handle docker deployments

* added logs for debug

* proper logging enable

* chaning log level
* env reloadere flow

* check with log level changes

* feat: added kafka consumer and reboot logic

* remove comments and logs

* structural changes for code

* remove comments

---------

Co-authored-by: gauravmann <gaurav@akto.io>
* dbeug direction

* label resolving add

* fix the ignore urls bug

* envoy dont tag

* remove the ignore urls change

* add back info

* change parser to master

* don't tag envoy process calls

* add better logs
* env reloadere flow

* check with log level changes

* feat: added kafka consumer and reboot logic

* remove comments and logs

* structural changes for code

* remove comments

* added the profiling data in heartbeats

* added the total allocated memory

* removing duplicate strings import

---------

Co-authored-by: gauravmann <gaurav@akto.io>
…uests

Allow sequence to start from anywehre
When processCommandMessage updates environment variables via os.Setenv(),
write them to /ebpf/.env file before restart. The shell script sources
this file on each loop iteration, ensuring variables persist across both
syscall.Exec() restarts and memory-limit-triggered pkill restarts.

- Add writeEnvFile() to persist env vars in shell-compatible format
- Simplify restartSelf() to exit cleanly instead of syscall.Exec()
- Update ebpf-run.sh to source /ebpf/.env before each process spawn

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…changed-env

Preserve environment variables across process restarts
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.

6 participants