Git Product home page Git Product logo

flux-get-started's Introduction

flux-get-started

We are moving to Flux v2

โš ๏ธ Please note: In preparation of Flux v2 GA this repository with Flux v1 examples has been archived. The Flux v2 equivalent of what is shown here can be found at flux2-kustomize-helm-example.

Thanks a lot for your interest.

For posterity

We published a step-by-step run-through on how to use Flux and Helm Operator over here.

Workloads

podinfo

  • Kubernetes deployment, ClusterIP service and Horizontal Pod Autoscaler
  • init container automated image updates (regular expression filter)
  • container automated image updates (semantic versioning filter)

Helm Releases

Mongodb

  • Source: Helm repository (stable)
  • Kubernetes deployment
  • automated image updates (semantic versioning filter)

Redis

  • Source: Helm repository (stable)
  • Kubernetes stateful set
  • locked automated image updates (semantic versioning filter)

Ghost

  • Source: Git repository
  • disabled automated image updates (glob filter)
  • has external dependency - mariadb (stable)

Manifests Validation

CircleCI jobs:

  • validate Kubernetes manifests with kubeval
  • validate Flux Helm Releases with hrval

Getting Help

If you have any questions about, feedback for or problems with flux-get-started:

Your feedback is always welcome!

flux-get-started's People

Contributors

hiddeco avatar jozala avatar jozala-work avatar rade avatar squaremo avatar stefanprodan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flux-get-started's Issues

Get started documentation out of sync with repo

While going through the get started of Flux I encountered the following issue. In the step Commiting a small change I am told to change the value of the variable PODINFO_UI_MESSAGE which:

a. does not exist in https://github.com/fluxcd/flux-get-started/blob/master/workloads/podinfo-dep.yaml
b. does not seem to be supported by the image stefanprodan/podinfo:3.1.0

What I ended up using was the --ui-message argument for the container.

Feel free to let me know if the mistake is on my side.

Getting error: "duplicate definition of '<cluster>:namespace/demo' (in namespaces/demo.yaml and namespaces/demo.yaml)"

I was just following the straightforward Getting Started instructions at https://github.com/weaveworks/flux/blob/master/site/get-started.md and when I get to running the demo it fails. In the logs:
ts=2019-05-25T14:09:27.291146795Z caller=loop.go:90 component=sync-loop err="loading resources from repo: duplicate definition of '<cluster>:namespace/demo' (in namespaces/demo.yaml and namespaces/demo.yaml)"

Running in minikube on Mac .

Any pointers?

Warmer componet server misbehaving error

I'm using kind kubernetes cluster. Flux was working fine initially. I kept my system in sleep mode and when i logged in back i'm getting error.

when i try to sync using below command:
fluxctl --k8s-fwd-ns=flux sync

getting following error:

Error: can not connect to git repository with URL ssh://[email protected]/chakreshkolluru/flux-get-started

Full error message: git clone --mirror: fatal: Could not read from remote repository., full output:
Cloning into bare repository '/tmp/flux-gitclone248425324'...
ssh: Could not resolve hostname github.com: Try again
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Run 'fluxctl sync --help' for usage.

Below are the logs of flux pod:

10.96.0.10:53 is the IP of my kube-dns service for your information.

ts=2020-07-21T06:40:18.208727093Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/stefanprodan/podinfo auth={map[]} err="requesting tags: Get https://index.docker.io/v2/stefanprodan/podinfo/tags/list: Get https://auth.docker.io/token?scope=repository%3Astefanprodan%2Fpodinfo%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:22.244654943Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/fluxcd/flux auth={map[]} err="requesting tags: Get https://index.docker.io/v2/fluxcd/flux/tags/list: Get https://auth.docker.io/token?scope=repository%3Afluxcd%2Fflux%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:26.274664868Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/library/memcached auth={map[]} err="requesting tags: Get https://index.docker.io/v2/library/memcached/tags/list: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fmemcached%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:30.299816275Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/chakreshkolluru/web-jsp auth={map[]} err="requesting tags: Get https://index.docker.io/v2/chakreshkolluru/web-jsp/tags/list: Get https://auth.docker.io/token?scope=repository%3Achakreshkolluru%2Fweb-jsp%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:34.320444036Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/kindest/kindnetd auth={map[]} err="requesting tags: Get https://index.docker.io/v2/kindest/kindnetd/tags/list: Get https://auth.docker.io/token?scope=repository%3Akindest%2Fkindnetd%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:38.346409179Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/library/alpine auth={map[]} err="requesting tags: Get https://index.docker.io/v2/library/alpine/tags/list: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:42.368066992Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/library/nginx auth={map[]} err="requesting tags: Get https://index.docker.io/v2/library/nginx/tags/list: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fnginx%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:46.554991301Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/bitnami/mongodb auth={map[]} err="requesting tags: Get https://index.docker.io/v2/bitnami/mongodb/tags/list: Get https://auth.docker.io/token?scope=repository%3Abitnami%2Fmongodb%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"

Can anyone help me in resolving this issue. I tried it two times by deleting and creating new kubernetes cluster using kind and getting same error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.