Comments (8)
@murillodigital I see you added more info to this ticket. Should we close #17?
or do you think we still need to discuss providing Enable GitOps
menu option?
from vscode-gitops-tools.
@murillodigital I see you added more info to this ticket. Should we close #17?
or do you think we still need to discuss providing
Enable GitOps
menu option?
I will provide detail on enabling GitOps in a cluster, which actually will be more than one ticket considering the various paths that could take. In our dev cluster, Flux is already installed - this ticket should also handle the display of Flux was not detected in the cluster
for those scenarios. Let me know if that clarifies.
from vscode-gitops-tools.
@murillodigital please provide text tree example of what the above flux check
command run should display in our Clusters tree view as child nodes under the sample cluster we are using for testing.
The text code examples you provided above are the results of the command that we will display in Flux terminal output (#48).
The first code sample you provided lists controllers. Do you see Flux as one of the cluster/node components of the cluster? or should that be part of the cluster/node properties view?
Just a reminder this is what our Clusters display now (from #10):
I believe we need to finalize that tree structure similar to what needs to be done for Deployments in #44
This is what I see for namespaces in k8s tools explorer now. That view lists flux-system
. Should our Cluster view have the same nodes in our tree, and then list all the controllers under it?
from vscode-gitops-tools.
k8s tools nodes display for reference:
from vscode-gitops-tools.
per our sprint 3 features discussion with @murillodigital each flux
enabled cluster should show these controllers child nodes for now:
helm-controller (version, status)
image-automation-controller (version, status)
image-reflector-controller (version, status)
kustomize-controller (version, status)
notification-controller (version, status)
source-controller (version, status)
He doesn't want us to do anything for the Nodes k8s tools explorer displays in this sprint.
@usernamehw see if you can get the list of those nodes and flux system config via kubectl
first. I think we'll default to using that k8s tools api and kubectl
cli integration when possible before we integrate flux
specific commands to keep our gitops extension generic and working with most kubernetes cluster configurations.
from vscode-gitops-tools.
@murillodigital ok. after some minor refactors of that PR, this is what we show for the flux-system
deployments in the Clusters tree view:
I think that cluster should list namespaces, flux-system
is one of them, and then we should list those controllers under flux-system node which are actually k8s deployments as you see in the editor config.
Now, I find it confusing to see that and separate Deploymets view. Just not very logical or structured in the way k8s clusters are configured with namespaces and deployments, even if we don't include others and just stick with flux
k8s object types
from vscode-gitops-tools.
latest cluster view with flux
controllers and versions info:
In my opinion, what's missing there is flux-system
namespace node that groups those flux
controller deployment nodes and shows the info you see in vscode editor pic above.
I'll close this feature ticket as complete for now. It shows if GitOps is enabled and you can also see it in gitops
terminal we added in #8 or by running GitOps: Flux Check Prerequisites
command I added in #35 any time you want for the currently selected cluster:
from vscode-gitops-tools.
@murillodigital I am closing this as I believe the core functionality for this feature request is implemented.
Please file an enhancements request with a reference to this ticket number, if you feel there is more work that needs to be done for this feature.
from vscode-gitops-tools.
Related Issues (20)
- Create secret checkbox not working
- Not implemented on AKS/ARC HOT 1
- Prerelease - v0.24.1690210418 reconcile action folds up the treeview HOT 2
- The `flux check` is too aggressive HOT 3
- Performance: still struggles on larger clusters HOT 4
- HelmReleases sometimes pick the wrong API group HOT 1
- Kubectl proxy is run again for multiple extension instances HOT 2
- Release Plan for v0.25.1 patch release
- Editor window can hang on first load HOT 1
- Telemetry collection has been broken since 2-3 weeks ago HOT 5
- Transient states show an error icon HOT 3
- The "Create Source/Kustomization" workflow appears to hang
- Flux binary not found if installed with Brew HOT 2
- Extensions causes lots of kubectl processes to spawn that never finish HOT 10
- Support more Weave GitOps Enterprise features HOT 1
- It's much too easy to accidentally trigger `flux install` HOT 4
- Reorganize and refactor all treeviews HOT 1
- Workload section items overlapping on VScode HOT 11
- different flux namespace HOT 1
- The extension is broken since December HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-gitops-tools.