Yan Bondarenko a4cb00e6dd fix(monitoring): spread monitoring replicas over nodes
The VMCluster, VLCluster, VTCluster and VMAlertmanager the chart renders
carry no affinity and no topology spread, and vm-operator copies both
fields onto the pods as written without adding any of its own. Nothing in
those specs kept two replicas of one tier off the same node. With
replicationFactor 2 both copies of a series can then sit on one node, and
on a node-local class the volumes keep them there, so losing that node
loses both copies. A StatefulSet pod on a lost node is not replaced
elsewhere until its Pod or Node object is deleted, which holds for the
Alertmanager replicas without a volume as well.

The tiers that run as StatefulSets, vmstorage, vmselect, vlstorage,
vtstorage and the Alertmanager, now get a per-node spread with
whenUnsatisfiable DoNotSchedule and nodeTaintsPolicy Ignore. The tiers
that run as Deployments, vminsert, vlinsert, vlselect, vtinsert and
vtselect, get the same spread with ScheduleAnyway, since their pods are
replaced on another node without help. A platform that sets
scheduling.globalAppTopologySpreadConstraints gets that policy for every
tier instead, with the tier's own selector added to each constraint that
has none.

vm-operator rolls a changed StatefulSet one pod at a time. A replica on a
node-local volume whose peer shares its node cannot be placed again under
the new rule, so its new pod stays Pending and the rollout of that
cluster stops there until the replica is moved.

Assisted-by: LLM
Signed-off-by: Yan Bondarenko <202671653+yankawai@users.noreply.github.com>
2026-10-20 13:24:49 +03:00
2025-10-08 09:43:34 +05:00
2024-02-08 12:04:32 +01:00

Cozystack Cozystack

GitHub Release Apache-2.0 License Commit activity OpenSSF Best Practices OpenSSF Scorecard CLOMonitor Support

Cozystack

Cozystack is a free and open-source platform and framework for building clouds.

Cozystack is a CNCF Sandbox project that was originally built and sponsored by Ænix.

With Cozystack, you can transform a bunch of servers into an intelligent system with a simple REST API for spawning Kubernetes clusters, Database-as-a-Service, virtual machines, load balancers, HTTP caching services, and other services with ease.

Use Cozystack to build your own cloud or provide a cost-effective development environment.

Cozystack user interface

Use-Cases

Documentation

The documentation is located on the cozystack.io website.

Read the Getting Started section for a quick start.

If you encounter any difficulties, start with the troubleshooting guide and work your way through the process that we've outlined.

Versioning

Versioning adheres to the Semantic Versioning principles.
A full list of the available releases is available in the GitHub repository's Release section.

Contributions

Contributions are highly appreciated and very welcomed!

In case of bugs, please check if the issue has already been opened by checking the GitHub Issues section. If it isn't, you can open a new one. A detailed report will help us replicate it, assess it, and work on a fix.

You are welcome to take on the fix yourself. Commits are used to generate the changelog, and their author will be referenced in it.

If you have a concrete feature request, open an issue. For a cross-cutting or architectural change, open a design proposal in the community repo. For questions or early ideas, use GitHub Discussions. See CONTRIBUTING.md for the full routing.

Community

You are welcome to join us in #cozystack, on either CNCF Slack (get an invite) or Kubernetes Slack (get an invite), in our Telegram group, and at our community meetings. Add them to your Google Calendar or iCal for convenience.

Project documents

Document What it covers
Governance How decisions are made and who makes them
Contributor Ladder How to grow from contributor to maintainer
Maintainers Who maintains the project
Code of Conduct What we expect of each other
Security Policy Reporting a vulnerability, and which releases get fixes
Adopters Who runs Cozystack in production
Roadmap Where the project is going

License

Cozystack is licensed under Apache 2.0.
The code is provided as-is with no warranties.

Commercial Support

A list of companies providing commercial support for this project can be found on official site.

Languages
Go 53.1%
Shell 33%
TypeScript 6.8%
Go Template 4.6%
Makefile 1.3%
Other 1.1%