question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enable GitOps for existing, not AKS, Kubernetes cluster

See original GitHub issue

Create user interface to enable GitOps on an existing cluster already connected to the Kubernetes extension.

From the initial functional spec. by @murillodigital:

The platform operator should be able to enable GitOps in an existing cluster already connected to the Kubernetes extension by clicking a button. A repo should be created and opened as a folder automatically to represent the objects being synchronized with the cluster. The platform operator will be able to see at a glance when the cluster has reached a reconciled state.

As a user, I want to select a non-AKS Kubernetes cluster that does not have Flux installed and have the various Flux components automatically installed in it.

Present the user with a right-click option to “Enable GitOps”, only available when the cluster does not have Flux installed (see #36).

The command to execute against the cluster is flux install and should generate output similar to the following:

flux install
✚ generating manifests
✔ manifests build completed
► installing components in flux-system namespace
◎ verifying installation
✔ source-controller: deployment ready
✔ kustomize-controller: deployment ready
✔ helm-controller: deployment ready
✔ notification-controller: deployment ready
✔ install finished

One the install is completed, the cluster should reload and, as per #36, display the version of flux and all its related components.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12

github_iconTop GitHub Comments

2reactions
murillodigitalcommented, Aug 31, 2021

@RandomFractals @usernamehw the development cluster is NOT an AKS cluster, however, since it already has Flux installed, you will not be able to satisfy the condition of the cluster being without it. I’m going to spin a second cluster without Flux, so that you can develop this ticket. We do not want to mess with the flux install on the current cluster cause that would break all the resources already in there. Will provide cluster access details over Slack. The idea here is for flux install to be executed by the Extension, and then you can manually flux uninstall from the terminal, making sure you are talking to the right cluster.

1reaction
usernamehwcommented, Sep 15, 2021

They do go away.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial: Deploy configurations using GitOps on an Azure Arc ...
This tutorial demonstrates applying configurations on an Azure Arc-enabled Kubernetes cluster.
Read more >
Enable GitOps config as an AKS add-on · Issue #1967 - GitHub
This issue tracks enabling of GitOps config as an AKS add-on. This add-on will make it easy for AKS clusters to participate in...
Read more >
The New GitOps Extension on AKS and Azure Arc Enables ...
GitOps is now an extension to Microsoft Azure Kubernetes Service (AKS) and Azure Arc-enabled Kubernetes to govern and control hybrid and ...
Read more >
First Look: GitOps on Azure Kubernetes Service using the AKS ...
First Look: GitOps on Azure Kubernetes Service using the AKS addon (preview) · Register the preview feature · Install the GitOps AKS add-on....
Read more >
Using GitOps with a Kubernetes cluster - GitLab Docs
Path to a Git repository that has Kubernetes manifests in YAML or JSON format. No authentication mechanisms are supported. Default is the agent...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found