Skip to content

Commit c821560

Browse files
committed
Restructure repo for Flux v2
Signed-off-by: Stefan Prodan <[email protected]>
1 parent ffa9e71 commit c821560

25 files changed

+138
-1060
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
.DS_Store
1616
temp/
1717
bin/
18-
istio-*

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,21 @@ Components:
1111
* manages the traffic flows between microservices, enforcing access policies and aggregating telemetry data
1212
* **Prometheus** monitoring system
1313
* time series database that collects and stores the service mesh metrics
14-
* **Flux** GitOps operator
14+
* **Flux** GitOps Toolkit
1515
* syncs YAMLs and Helm charts between git and clusters
1616
* scans container registries and deploys new images
17-
* **Helm Operator** CRD controller
18-
* automates Helm chart releases
1917
* **Flagger** progressive delivery operator
2018
* automates the release process using Istio routing for traffic shifting and Prometheus metrics for canary analysis
2119

2220
### Prerequisites
2321

24-
You'll need a Kubernetes cluster **v1.11** or newer with `LoadBalancer` support.
22+
You'll need a Kubernetes cluster **v1.16** or newer with `LoadBalancer` support.
2523
For testing purposes you can use Minikube with four CPUs and 4GB of memory.
2624

27-
Install Flux CLI and Helm v3:
25+
Install Flux CLI:
2826

2927
```bash
30-
brew install fluxctl helm
28+
brew install fluxcd/tap/flux
3129
```
3230

3331
Fork this repository and clone it:
@@ -51,11 +49,11 @@ In order to sync your cluster state with git you need to copy the public key and
5149
access on your GitHub repository. On GitHub go to _Settings > Deploy keys_ click on _Add deploy key_,
5250
check _Allow write access_, paste the Flux public key and click _Add key_.
5351

54-
When Flux has write access to your repository it will do the following:
52+
When Flux has access to your repository it will do the following:
5553

5654
* installs the Istio operator
5755
* waits for Istio control plane to be ready
58-
* installs Flagger CRDs and Helm Releases
56+
* installs Flagger and Grafana
5957
* creates the Istio public gateway
6058
* creates the `prod` namespace
6159
* creates the load tester deployment
@@ -65,7 +63,7 @@ When Flux has write access to your repository it will do the following:
6563
![Flux Istio Operator](https://raw.githubusercontent.com/fluxcd/helm-operator-get-started/master/diagrams/flux-istio-operator.png)
6664

6765
You can customize the Istio installation with the `IstioOperator` resource located at
68-
[istio/control-plane.yaml](https://github.com/stefanprodan/gitops-istio/blob/master/istio/control-plane.yaml):
66+
[istio/system/profile.yaml](https://github.com/stefanprodan/gitops-istio/blob/main/istio/system/profile.yaml):
6967

7068
```yaml
7169
apiVersion: install.istio.io/v1alpha1
@@ -87,7 +85,7 @@ spec:
8785
After modifying the Istio settings, you can push the change to git and Flux will apply it on the cluster.
8886
The Istio operator will reconfigure the Istio control plane according to your changes.
8987
It can take a couple of minutes for Flux to sync and apply the changes, to speed up the apply
90-
you can use `fluxctl sync` to trigger a git sync.
88+
you can use `flux reconcile ks flux-system --with-source` to trigger a git sync.
9189

9290
### Workloads bootstrap
9391

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)