-
-
Notifications
You must be signed in to change notification settings - Fork 455
Feature: Disable public ips on autoscaled nodes #1695
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,5 +42,12 @@ runcmd: | |
|
||
${cloudinit_runcmd_common} | ||
|
||
# Configure default route based on public ip availability | ||
%{if private_network_only~} | ||
- [ip, route, add, default, via, '10.0.0.1', dev, 'eth0'] | ||
%{else~} | ||
- [ip, route, add, default, via, '172.31.1.1', dev, 'eth0'] | ||
%{endif~} | ||
Comment on lines
+45
to
+50
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This section configures the default route based on
|
||
|
||
# Start the install-k3s-agent service | ||
- ['/bin/bash', '/var/pre_install/install-k3s-agent.sh'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a comment explaining why these variables are being passed directly into the
local
block. This will help future maintainers understand the purpose of these variables and how they affect the autoscaler configuration.