Brad Davidson
dc18ef2e51
Refactor log and reaper exec to omit MAINPID
...
Using MAINPID breaks systemd's exit detection, as it stops watching the
original pid, but is unable to watch the new pid as it is not a child
of systemd itself. The best we can do is just notify when execing the child
process.
We also need to consolidate forking into a sigle place so that we don't
end up with multiple levels of child processes if both redirecting log
output and reaping child processes.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
a16105b348
Properly handle operation as init process
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
2705431d96
Add support for dual-stack Pod/Service CIDRs and node IP addresses ( #3212 )
...
* Add support for dual-stack cluster/service CIDRs and node addresses
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
4 years ago
Brian Downs
ba70c41cce
Initial Logging Output Update ( #2246 )
...
This attempts to update logging statements to make them consistent
through out the code base. It also adds additional context to messages
where possible, simplifies messages, and updates level where necessary.
4 years ago
Darren Shepherd
ae5c585050
Revert "Add config file support"
...
This reverts commit e1dc3451bc
.
Signed-off-by: Darren Shepherd <darren@rancher.com>
4 years ago
Brad Davidson
1eec7348a5
Call setproctitle to conceal node args in ps output
...
This is related to #2014 .
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
4 years ago
Brian Downs
5a81fdbdc5
update cis flag implementation to propogate the rest of the way through to kubelet
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
4 years ago
Brian Downs
57a6319fac
add protect-kernel-defaults to kubelet
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
4 years ago
Erik Wilson
e1dc3451bc
Add config file support
4 years ago
Darren Shepherd
7e59c0801e
Make program name a variable to be changed at compile time
5 years ago
Knic Knic
7f77c9a3c8
enable agent to start on windows
5 years ago
Erik Wilson
95ff805c98
Fix broken K3S_TOKEN env
5 years ago
Darren Shepherd
ba240d0611
Refactor tokens, bootstrap, and cli args
5 years ago
galal-hussein
b1891f445b
Add master role label on startup
5 years ago
Erik Wilson
30e050a692
Cleanup logging
5 years ago
Erik Wilson
e1162c7cfa
Update agent to notify systemd
5 years ago
Erik Wilson
a1ce08d4f1
Default node-ip from flannel-iface
5 years ago
Darren Shepherd
c0702b0492
Port to wrangler
6 years ago
galal-hussein
930093dfe9
Expose node labels and taints and add node roles
6 years ago
Darren Shepherd
046a817818
Add rootless support
6 years ago
Darren Shepherd
e28e497168
Add --token-file support
6 years ago
Darren Shepherd
01b3bb315e
Fix version printing on startup
6 years ago
Darren Shepherd
529aa431d1
Adjust debug logging and write containerd logs to a file
6 years ago
Darren Shepherd
287e0f44c9
Prepare for initial release
6 years ago
Darren Shepherd
62c62cc7b4
Continued refactoring
6 years ago