Igglybuff/flux2-kustomize-helm-example là dự án mã nguồn mở trên GitHub với 6 sao. A GitOps workflow example for multi-env deployments with Flux, Kustomize and Helm.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
For this example we assume a scenario with two clusters: staging and production.
The end goal is to leverage Flux and Kustomize to manage both clusters while minimizing duplicated declarations.
We will configure Flux to install, test and upgrade a demo app using
HelmRepository and HelmRelease custom resources.
Flux will monitor the Helm repository, and it will automatically
upgrade the Helm releases to their latest chart version based on semver ranges.
Prerequisites
You will need a Kubernetes cluster version 1.16 or newer and kubectl version 1.18.
For a quick local test, you can use Kubernetes kind.
Any other Kubernetes setup will work as well though.
In order to follow the guide you'll need a GitHub account and a
personal access token
that can create repositories (check all permissions under repo).
Install the Flux CLI on MacOS and Linux using Homebrew:
brew install fluxcd/tap/flux
Or install the CLI by downloading precompiled binaries using a Bash script:
curl -s https://fluxcd.io/install.sh | sudo bash
Repository structure
The Git repository contains the following top directories:
apps dir contains Helm releases with a custom configuration per cluster
infrastructure dir contains common infra tools such as NGINX ingress controller and Helm repository definitions
clusters dir contains the Flux configuration per cluster
├── apps
│ ├── base
│ ├── production
│ └── staging
├── infrastructure
│ ├── nginx
│ ├── redis
│ └── sources
└── clusters
├── production
└── staging
The apps configuration is structured into:
apps/base/ dir contains namespaces and Helm release definitions
apps/production/ dir contains the production Helm release values
Note that with version: ">=1.0.0-alpha" we configure Flux to automatically upgrade
the HelmRelease to the latest chart version including alpha, beta and pre-releases.
In apps/production/ dir we have a Kustomize patch with the production specific values:
Note that with version: ">=1.0.0" we configure Flux to automatically upgrade
the HelmRelease to the latest stable chart version (alpha, beta and pre-releases will be ignored).
Note that with interval: 5m we configure Flux to pull the Helm repository index every five minutes.
If the index contains a new chart version that matches a HelmRelease semver range, Flux will upgrade the release.
Note that with path: ./apps/staging we configure Flux to sync the staging Kustomize overlay and
with dependsOn we tell Flux to create the infrastructure items before deploying the apps.
Fork this repository on your personal GitHub account and export your GitHub access token, username and repo name:
The bootstrap command commits the manifests for the Flux components in clusters/staging/flux-system dir
and creates a deploy key with read-only access on GitHub, so it can pull changes inside the cluster.
Watch for the Helm releases being install on staging:
Any change to the Kubernetes manifests or to the repository structure should be validated in CI before
a pull requests is merged into the main branch and synced on the cluster.
This repository contains the following GitHub CI workflows:
the test workflow validates the Kubernetes manifests and Kustomize overlays with kubeval
the e2e workflow starts a Kubernetes cluster in CI and tests the staging setup by running Flux in Kubernetes Kind
Đọc thêm về Igglybuff/flux2-kustomize-helm-example ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/Igglybuff/flux2-kustomize-helm-example là nguồn chính thức.
Igglybuff/flux2-kustomize-helm-example có bao nhiêu sao?
Igglybuff/flux2-kustomize-helm-example có 6 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/Igglybuff/flux2-kustomize-helm-example. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
Igglybuff/flux2-kustomize-helm-example có phải mã nguồn mở không?
Có — Igglybuff/flux2-kustomize-helm-example phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/Igglybuff/flux2-kustomize-helm-example.
Igglybuff/flux2-kustomize-helm-example còn đang phát triển không?
Commit gần nhất trên Igglybuff/flux2-kustomize-helm-example là 4.9 năm trước (theo timestamp GitHub). Repo có 3 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Igglybuff/flux2-kustomize-helm-example dùng license gì?
Igglybuff/flux2-kustomize-helm-example phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Igglybuff/flux2-kustomize-helm-example là gì?
Igglybuff/flux2-kustomize-helm-example (Igglybuff/flux2-kustomize-helm-example) là dự án đa ngôn ngữ trên GitHub. Theo mô tả gốc: A GitOps workflow example for multi-env deployments with Flux, Kustomize and Helm.
Igglybuff/flux2-kustomize-helm-example viết bằng ngôn ngữ gì?
Dữ liệu TopGit chưa ghi nhận ngôn ngữ chính cho Igglybuff/flux2-kustomize-helm-example. Xem danh sách file trên GitHub để biết chi tiết.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc flux2-kustomize-helm-example có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về flux2-kustomize-helm-example.