

GitHub - weaveworks/flux: The GitOps Kubernetes operator
source link: https://github.com/weaveworks/flux
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
Flux
We believe in GitOps:
- You declaratively describe the entire desired state of your system in git. This includes the apps, config, dashboards, monitoring and everything else.
- What can be described can be automated. Use YAMLs to enforce
conformance of the system. You don't need to run
kubectl
, all changes go through git. Use diff tools to detect divergence between observed and desired state and get notifications. - You push code not containers. Everything is controlled through pull requests. There is no learning curve for new devs, they just use your standard git PR process. The history in git allows you to recover from any snapshot as you have a sequence of transactions. It is much more transparent to make operational changes by pull request, e.g. fix a production issue via a pull request instead of making changes to the running system.
Flux is a tool that automatically ensures that the state of a cluster matches the config in git. It uses an operator in the cluster to trigger deployments inside Kubernetes, which means you don't need a separate CD tool. It monitors all relevant image repositories, detects new images, triggers deployments and updates the desired running configuration based on that (and a configurable policy).
The benefits are: you don't need to grant your CI access to the cluster, every change is atomic and transactional, git has your audit log. Each transaction either fails or succeeds cleanly. You're entirely code centric and don't need new infrastructure.
What Flux does
Flux is most useful when used as a deployment tool at the end of a Continuous Delivery pipeline. Flux will make sure that your new container images and config changes are propagated to the cluster.
Features
Its major features are:
- Automated git → cluster synchronisation
- Automated deployment of new container images
- Integrations with other devops tools (Helm and more)
- No additional service or infrastructure needed - Flux lives inside your cluster
- Straight-forward control over the state of deployments in the cluster (rollbacks, lock a specific version of a workload, manual deployments)
- Observability: git commits are an audit trail, and you can record e.g., why a given deployment was locked.
Relation to Weave Cloud
Weave Cloud is a SaaS product by Weaveworks that includes Flux, as well as:
- a UI and alerts for deployments: nicely integrated overview, all Flux operations just a click away.
- full observability and insights into your cluster: Instantly start using monitoring dashboards for your cluster, hosted 13 months of history, use a realtime map of your cluster to debug and analyse its state.
If you want to learn more about Weave Cloud, you can see it in action on its homepage.
Get started with Flux
Get started by browsing through the documentation below:
- Background about Flux
- Get Started with Flux
- Operating Flux
Integrations
As Flux is Open Source, integrations are very straight-forward. Here are a few popular ones you might want to check out:
- Managing Helm releases the GitOps way
- OpenFaaS GitOps workflow with Flux
- GitOps for Istio Canary deployments
- Fluxcloud to receive events from Flux
Community & Developer information
We welcome all kinds of contributions to Flux, be it code, issues you found, documentation, external tools, help and support or anything else really.
Instances of abusive, harassing, or otherwise unacceptable behavior
may be reported by contacting a Flux project maintainer, or Alexis
Richardson <[email protected]>
. Please refer to our code of
conduct as well.
To familiarise yourself with the project and how things work, you might be interested in the following:
Getting Help
If you have any questions about Flux and continuous delivery:
- Read the Weave Flux docs.
- Invite yourself to the Weave community slack.
- Ask a question on the #flux slack channel.
- Join the Weave User Group and get invited to online talks, hands-on training and meetups in your area.
- Send an email to [email protected]
- File an issue.
Your feedback is always welcome!
Recommend
-
120
kured - Kubernetes Reboot Daemon ...
-
66
除非特别声明,此文章内容采用知识共享署名 3.0许可,代码示例采用Apache 2.0许可。更多细节请查看我们的服务条款。
-
96
README.md eksctl - a CLI for Amazon EKS
-
52
在过去的一年中,Weaveworks团队逐步改进了有关“ GitOps ”实践的想法。“GitOps”是指他们通过开发者工具来推动运营和实现持续交付。 GitOps是通过使用Git分布...
-
91
README.md flagger
-
7
#144 March 31, 2021 Weaveworks (part 1), with Alexis Richardson Hosts: Craig Box, Adam Glick Episode #144: Weaveworks (part 1), with...
-
12
Weaveworks (part 2), with Alexis Richardson Hosts: Craig Box, Justin Garrison Episode #145: Weaveworks (part 2), with Alexis Richardson...
-
11
CNCF Promotes GitOps Flux to Incubated Project Apr 27, 2021 2...
-
11
weave-gitops Weave GitOps Overview Weave GitOps enables an effective GitOps workflow for continuous delivery of applications into Kubernetes clusters. It is based on CNCF Flux, a leadi...
-
12
什么是GitOps? GitOps, 这已经并不是一个新鲜的概念了。2018年5月初在丹麦举行的哥本哈根KubeCon大会上,Weaveworks公司的演讲将GitOps与Istio Service Mesh进行了集成,如果说以前Docker Swarm与Kubernetes竞争之时Docker公司提出了Docker Native,C...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK