Questions tagged [fluxcd]

The GitOps operator for Kubernetes

Flux is a tool that automatically ensures that the state of a cluster matches the config in git. It uses an operator in the cluster to trigger deployments inside Kubernetes, which means you don't need a separate CD tool. It monitors all relevant image repositories, detects new images, triggers deployments and updates the desired running configuration based on that (and a configurable policy).

The benefits are: you don't need to grant your CI access to the cluster, every change is atomic and transactional, git has your audit log. Each transaction either fails or succeeds cleanly. You're entirely code centric and don't need new infrastructure.

Source: https://docs.fluxcd.io/

57 questions
0
votes
1 answer

How can I stop flux from deploying to my default namespace?

I have a Kubernetes cluster setup with Flux. I have an infrastructure folder that has ingress/base and ingress/overlays/development in it. Hopefully this screenshot helps with the directory structure: Below are my ingress.yaml and…
ajthyng
  • 1,245
  • 1
  • 12
  • 18
0
votes
1 answer

How to solve 'GitRepository not found' error in FluxCD?

I am trying to use Azure kuberenetes cluster and FluxCD to connect to a repository named realtimeapp-infra in Gitlab. I created the source and kustomization .yaml files in another repo training-setup, but getting the following error when I use flux…
ord_bear
  • 53
  • 8
0
votes
2 answers

Fluxcd multiple repo and cluster without helm

How to handle multiple repository and clusters in Fluxcd v2 without using helm repository
0
votes
1 answer

Fluxcd cli autocomplete kubernetes

Is it possible to have the fluxcd cli autocomplete information from the cluster in the current context, similar to how kubectl or helm does? While flux does provide cli completion via flux completion SHELL, this is only for the flux components for…
VV1
  • 1
  • 1
0
votes
2 answers

GitOps: Roll out changes to k8s resources across multiple namespaces

We have a multi-tenant kubernetes cluster, that hosts various customer environments. Kubernetes namespaces are used to isolate these customer environments. Each of these namespaces have a similar set of k8s resources (deployments, configmap etc)…
dinup24
  • 1,652
  • 3
  • 16
  • 26
0
votes
2 answers

How can I change fluxcd automatic sync time?

As we know, fluxcd can check the git reposiroty and docker image repository periodly, and apply the newest changes in the repository. But how can I control how long it will take to check the change ? The default time may be ~5 minutes, if I want…
junstin shen
  • 51
  • 2
  • 8
0
votes
1 answer

Flux webhook receiver giving 400 error code

H, I am trying to enable webook for GitHub with flux as mentioned in this link https://toolkit.fluxcd.io/guides/webhook-receivers/. GitHub fails to push the event and gets 400 error code. This is on gcp cluster. Any pointers to debug this of great…
pkumarn
  • 1,383
  • 4
  • 22
  • 29
0
votes
2 answers

Unable to deploy Git repository receiver with flux on gke cluster

I have been getting my hands dirty by setting up a webhook receiver with flux on GKE I followed the insructions of this guide . According to it I need to deploy Git repository receiver as shown below : apiVersion:…
pkumarn
  • 1,383
  • 4
  • 22
  • 29
0
votes
1 answer

How to create and use a new ConfigMap when calling a third party chart?

We have an instance of Concourse which is deployed to Kubernetes using Flux via a HelmRelease file, which holds our custom values and references the Concourse Helm Chart. Note: We're using Helm v3. The chart allows you to specify addionalVolumes…
JohnLBevan
  • 22,735
  • 13
  • 96
  • 178
0
votes
0 answers

Git clone using ssh

I have flux, nginx, gitlab pod running in my kubernetes cluster on AWS. Nginx runs as a load balancer/reverse proxy,while gitlab runs a node port( and only gitlab is behing nginx).Gitlab and flux are in different namespaces. Now i want to ssh from…
Dilip
  • 365
  • 1
  • 6
  • 18
0
votes
1 answer

Fluxctl: command not found

I try to install fluxctl for my Kubernetes cluster but I always get the following error: And I get the same result with my superuser account (sudo). I'm completely lost Can someone help me with this? I didn't find any answer on the Internet…
Noemie
  • 121
  • 1
  • 9
0
votes
1 answer

loadBalancerIP and annotations in nginx-ingress fluxcd HelmRelease are ignored on azure AKS

I am operating on an Azure AKS cluster, where fluxcd is working properly. I am trying to configure the nginx-ingress chart via the fluxcd CDR HelmRelease. Specifically to tell nginx-ingress to use an already created static public IP which lies…
1 2 3
4