Andrey Smirnov af5c34b340 fix: pick first interface valid hostname (vs. last one)
Looks like the code before change in #1578 returned the first hostname
found while interating over interfaces and addressing methods, but #1578
supposedly inadvertently flipped that to iterate over all interfaces (so
last interface wins).

Problem is that both `DHCP` and `Static` addressing methods provide
hostnames, while DHCP hostname comes from DHCP server, while `Static`
defines hostname as `talos-10-5-0-2` (by IP).

If we were to fix it for real, we should build a list of hostname with
priorities coming from different sources and pick a hostname with the
highest priority, so this fix is more of a bandaid rather than a real
fix.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-01-12 04:18:54 -08:00
2020-10-26 21:14:14 -07:00
2020-12-04 16:58:04 -08:00
2020-11-04 09:25:16 -08:00
2020-11-09 08:09:48 -08:00
2020-12-08 18:39:18 +03:00
2017-11-03 16:19:12 -07:00
2020-10-26 21:14:14 -07:00
2020-10-12 14:21:38 -07:00

Talos

A modern OS for Kubernetes.

Release Pre-release


Talos is a modern OS designed to be secure, immutable, and minimal. All system management is done via an API, and there is no shell or interactive console. Some of the capabilities and benefits provided by Talos include:

  • Security: Talos reduces your attack surface by practicing the Principle of Least Privilege (PoLP) and by securing the API with mutual TLS (mTLS) authentication.
  • Predictability: Talos eliminates unneeded variables and reduces unknown factors in your environment by employing immutable infrastructure ideology.
  • Evolvability: Talos simplifies your architecture and increases your ability to easily accommodate future changes.

Documentation

For instructions on deploying and managing Talos, see the Documentation.

Community

If you're interested in this project and would like to help in engineering efforts, or have general usage questions, we are happy to have you! We hold a weekly meeting that all audiences are welcome to attend.

Office Hours

You can subscribe to this meeting by joining the community forum above.

Note: You can convert the meeting hours to your local time.

Contributing

Contributions are welcomed and appreciated! See Contributing for our guidelines.

License

GitHub
Description
Talos Linux is a modern Linux distribution built for Kubernetes.
Readme MPL-2.0 122 MiB
Languages
Go 98.5%
Dockerfile 0.7%
Shell 0.4%
Makefile 0.4%