You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Rishikesh Nair 42607aadc3
Add support for passing multiple objects to suspend/resume commands
This change adds support for running `suspend/resume` on multiple
supported resources at the same time. This improves the user
experience by converting

```
flux suspend ks operator && \
flux suspend ks database && \
flux suspend ks app
```

to

```
flux suspend ks operator database app
```

This works for all types of resources (Kustomizations, Sources, etc.)
since it has been implemented at the `suspend.go` and `resume.go`
level.

When the `--wait` flag is passed to the `resume` command, then Flux
will wait for all resources in parallel within a goroutine each.

Each object is only processed once, even if user provided its name
more than once.

If suspension or resuming fails for one object, it is still carried
out for the remaining objects.

As a special case, the old behaviour of `resume` is retained, i.e.
when only one object name is provided, `resume` waits for the object
to become ready even if the `--wait` flag is not provided. In all
other cases the `--wait` flag is always considered.

closes #3746
closes #3793

Co-Authored-By: Max Jonas Werner <mail@makk.es>
Signed-off-by: Rishikesh Nair <alienware505@gmail.com>
Signed-off-by: Max Jonas Werner <mail@makk.es>
2 years ago
.github Bump Go to 1.20 in aur deps 2 years ago
action Update `push artifact`'s `--revision` to RFC-0005 2 years ago
cmd/flux Add support for passing multiple objects to suspend/resume commands 2 years ago
docs update to new doc links structure 2 years ago
install Update install/README.md 2 years ago
internal fix some comments 2 years ago
manifests Update toolkit components 2 years ago
pkg fix 'patchesJson6902' is deprecated' warning 2 years ago
rfcs RFC-0004: add section about proxy 2 years ago
tests Align go.mod version with Kubernetes (Go 1.20) 2 years ago
.gitignore fix makefile envtest setup and usage 3 years ago
.goreleaser.yml Use equivalent and shorter way to generate shell completions 2 years ago
CODE_OF_CONDUCT.md Add coc, dco and maintainers docs 5 years ago
CONTRIBUTING.md Set minimum supported version to Kubernetes 1.24.0 2 years ago
DCO Add coc, dco and maintainers docs 5 years ago
Dockerfile Update kubectl to v1.27.2 in flux-cli image 2 years ago
LICENSE Initial commit 5 years ago
MAINTAINERS Move MAINTAINERS to f/community 3 years ago
Makefile Update Go to 1.20 2 years ago
README.md Add OSSF Scorecard 2 years ago
go.mod Align go.mod version with Kubernetes (Go 1.20) 2 years ago
go.sum Update github.com/fluxcd/pkg/git/gogit to v0.12.0 2 years ago
netlify.toml explain where docs are 4 years ago

README.md

Flux version 2

release CII Best Practices OpenSSF Scorecard FOSSA Status Artifact HUB

Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories and OCI artifacts), and automating updates to configuration when there is new code to deploy.

Flux version 2 ("v2") is built from the ground up to use Kubernetes' API extension system, and to integrate with Prometheus and other core components of the Kubernetes ecosystem. In version 2, Flux supports multi-tenancy and support for syncing an arbitrary number of Git repositories, among other long-requested features.

Flux v2 is constructed with the GitOps Toolkit, a set of composable APIs and specialized tools for building Continuous Delivery on top of Kubernetes.

Flux is a Cloud Native Computing Foundation (CNCF) project, used in production by various organisations and cloud providers.

Quickstart and documentation

To get started check out this guide on how to bootstrap Flux on Kubernetes and deploy a sample application in a GitOps manner.

For more comprehensive documentation, see the following guides:

If you need help, please refer to our Support page.

GitOps Toolkit

The GitOps Toolkit is the set of APIs and controllers that make up the runtime for Flux v2. The APIs comprise Kubernetes custom resources, which can be created and updated by a cluster user, or by other automation tooling.

overview

You can use the toolkit to extend Flux, or to build your own systems for continuous delivery -- see the developer guides.

Components

Community

Need help or want to contribute? Please see the links below. The Flux project is always looking for new contributors and there are a multitude of ways to get involved.

Events

Check out our events calendar, both with upcoming talks, events and meetings you can attend. Or view the resources section with past events videos you can watch.

We look forward to seeing you with us!