Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heubeck/gitops-docs
https://github.com/heubeck/gitops-docs
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/heubeck/gitops-docs
- Owner: heubeck
- Created: 2022-03-26T19:52:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-22T09:32:47.000Z (over 2 years ago)
- Last Synced: 2024-10-19T21:18:57.793Z (3 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# GitOps with Flux, a basic setup
The following referes to [this repository](https://github.com/heubeck/gitops-flux-basic).
## Local k8s kind cluster
* [Install k8s kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
```shell
# Create new cluster and configure kubectl
kind create cluster --config ./kind/config.yaml && kind export kubeconfig --kubeconfig /home/heubeck/.kube/config# Destroy it
kind delete cluster
```## Flux
* [Install flux cli](https://fluxcd.io/docs/cmd/#install-using-bash)
```shell
# Bootstrap
export GITHUB_TOKEN=...
flux bootstrap github --owner=heubeck --repository=gitops-flux-basic --private=false --personal=true
```## Linkerd
* [Install linkerd cli](https://linkerd.io/2.11/getting-started/#step-1-install-the-cli)
* [Install linkerd smi extension](https://linkerd.io/2.11/tasks/linkerd-smi/)## Access components
* [Examiner](https://github.com/heubeck/examiner) - Bound to ingress: GET http://localhost/examine
* Prometheus - Port forwarding: `kubectl port-forward -n monitoring svc/prometheus-operated 9090:9090`
* Linkerd Viz - Port forwarding: `kubectl port-forward -n linkerd-viz svc/web 8084:8084` or with cli: `linkerd viz dashboard`