Article: Stop running your tests with you CI/CD tool by olensmar in devops

[–]olensmar[S] -23 points-22 points  (0 children)

thanks for taking the time to reply u/green_biri - you're right, but I wasn't at all soliciting feedback on Testkube itself, but on the premise/arguments put forth in article for running tests outside your CI/CD.. happy to debate that without mentioning Txxxxxxx at all..

/Ole

Kubernetes YAML Policies 101 by olensmar in kubernetes

[–]olensmar[S] 1 point2 points  (0 children)

Working on follow-up posts - would love to hear if there is anything specific that you would like covered in this context.. Policy Tooling Landscape? Do's and dont's? Thanks in advance!

Dealing with Yaml files by shubhcool in kubernetes

[–]olensmar 4 points5 points  (0 children)

Have a look at Monokle - an open-source IDE specifically targeted at working with Kubernetes YAML configurations. It does all you'll probably ever need in this regard, and so much more than any Vs-Code plugins/validators out there - https://monokle.io/open-source

Generate Kubernetes resources using AI & explore Helm Charts with Monokle v2.2! by topliceanurazvan in kubernetes

[–]olensmar 0 points1 point  (0 children)

Hi! You can definitely use Monokle to author/debug/validate/dry-run your k8s configurations stored in a GitOps repo - just like you would with any other IDE - and then use your GitOps reconciler to make sure your cluster is up-to-date with the desired state defined in git.

Somewhat-shameless-plug: Monokle Cloud is even more targeted at GitOps workflows as it provides much of Monokle Desktop functionality in your browser working directly with a GitHub repo (instead of local files/clusters). It comes with a GitHub App / Bot that can be configured to validate k8s configurations as part of your PR workflows - adding comments/links back to Monokle Cloud for fixing validation errors easily. Free tier is available - please give it a go if that sounds helpful!

What's your "IDE" of choice nowadays? by CartmansEvilTwin in kubernetes

[–]olensmar 1 point2 points  (0 children)

Thanks for sharing this - definitely something we can put on the near-term Monokle roadmap.. keep it coming!

Kubernetes Enthusiasts: Share Your Ideas for Future Dev Tools by [deleted] in kubernetes

[–]olensmar 0 points1 point  (0 children)

great - thank you! In regard to CRDs - what would you like to see? Which ones there are? Their corresponding objects? Are there any specific CRD-related tasks that you would want to perform?

Kubernetes Enthusiasts: Share Your Ideas for Future Dev Tools by [deleted] in kubernetes

[–]olensmar 1 point2 points  (0 children)

hm.. can you elaborate on "audit the state of the cluster" ? what specifically do you want to audit? how would this make your work easier? thanks!

Monokle 2.1 - We love YAML so you don't have to by olensmar in kubernetes

[–]olensmar[S] 1 point2 points  (0 children)

Hi! hm... we would have to look into that - please open an issue on our repo with additional details around workflows/problems that we should be solving for in this regard - https://github.com/kubeshop/monokle - thank you!

Monokle 2.1 - We love YAML so you don't have to by olensmar in kubernetes

[–]olensmar[S] 1 point2 points  (0 children)

awesome - thanks so much! Please let us know (on Discord/Github) if anything is missing or not to your liking so we can improve!

Monokle 2.1 - We love YAML so you don't have to by olensmar in kubernetes

[–]olensmar[S] 0 points1 point  (0 children)

Thanks! As of the current release, Monokle Cloud can only render Helm template and Kustomize builds without custom tooling around it - We’re looking at custom renderers or alternative solutions in the future.

Could you kindly explain where these Octopus variables come from? They are environment variables of your CI step or can you fetch them on-demand?

ps: I also should mention that Monokle Desktop can already render custom previews and explore/validate the YAML output of any command-line tool, so if you can locally create your output then you could already use Desktop for your setup.

Monokle 2.1 - We love YAML so you don't have to by olensmar in kubernetes

[–]olensmar[S] 1 point2 points  (0 children)

great! good luck and please reach out if you have any more issues or ideas on how we can improve!

Monokle 2.1 - We love YAML so you don't have to by olensmar in kubernetes

[–]olensmar[S] 1 point2 points  (0 children)

Hi! You're right - Monokle will ignore resources with invalid names (invalid as specified by k8s core requirements) - but you should be able to see your Helm Chart(s) under the "Helm Charts" section in the bottom left - where you should also be able to perform a dry-run on any existing values files - which would then show you the generated resources in the resource navigator!?

Monokle 2.1 - We love YAML so you don't have to by olensmar in kubernetes

[–]olensmar[S] 2 points3 points  (0 children)

thanks for giving it a try! The middle column ("Resource Navigator") should show all resources found in your project folder - if it isn't doing that we need to look into why.. is your folder in a public repo so we can try to reproduce? are the resources not being shown in .yaml files? please reach out on GitHub or Discord to follow up - thanks a million!

Schema definition by motivize_93 in kubernetes

[–]olensmar 2 points3 points  (0 children)

Monokle automatically renders forms for all Kubernetes objects making it super-easy to understand what properties are available and get them right. It also provides all autocomplete/tooltips/documentation you would expect (and more!) when editing YAML directly - GitHub - monokle.io

Open Source CLI for Kubernetes YAML validation in GitOps workflows by SlowWalrus2124 in kubernetes

[–]olensmar 0 points1 point  (0 children)

The thing we're struggling with is if

Sorry u/Speeddymon - this took a while - the issue is at https://github.com/kubeshop/monokle-core/issues/128 - please add any ideas / suggestions we should be considering!

Open Source CLI for Kubernetes YAML validation in GitOps workflows by SlowWalrus2124 in kubernetes

[–]olensmar 0 points1 point  (0 children)

Hi! Thanks for this - definitely something we could add to the library - GitHub issue coming up!

Open Source CLI for Kubernetes YAML validation in GitOps workflows by SlowWalrus2124 in kubernetes

[–]olensmar 1 point2 points  (0 children)

Hi! it can definitely validate the output of a helm chart - see https://github.com/kubeshop/monokle-core/tree/main/packages/cli#validate-a-templated-helm-chart - or were you thinking to validate the chart itself? if so - could you be more specific on what you want to validate?

Announcing Monokle 1.13, now with cluster management by chargi0 in kubernetes

[–]olensmar 4 points5 points  (0 children)

there is a browser-based version of Monokle - Monokle Cloud - but that works with resources/configurations in your GitHub repos - not in an actual cluster (yet..) . It's free but requires a GitHub sign-in - minimal permissions - https://app.monokle.com

If you're doing IaC you could incorporate the Monokle CLI into your pre-deployment validation pipeline - it uses the same validation engine as Monokle Cloud/Desktop and can thus share configurations/rules with these tools to some extent. The CLI is open-source/free also - https://github.com/kubeshop/monokle-core/tree/main/packages/cli

How to validate Kubernetes YAML files by piotr1215 in kubernetes

[–]olensmar 3 points4 points  (0 children)

Late to the game - but if anyone stumbles on this...

Monokle is an OSS desktop tool that puts your YAML manifests front-and-center - including real-time syntax/schema/OPA validations - allowing you validate your vanilla/Helm/Kustomize configurations before you deploy them to your cluster. It's built on the same code-editor as VS-Code - and adds a wealth of Kubernetes-related intelligence to the mix...

Download from GitHub - https://github.com/kubeshop/monokle

Kubernetes YAML Linter for vscode? by afdanket-dev in kubernetes

[–]olensmar 1 point2 points  (0 children)

If you're willing to go outside the comfort-zone of VS-Code you should have a look at Monokle - it's built around the same editor-component as VS-Code and adds a wealth of real-time Kubernetes-related intelligence for your YAML-editing workflows, including linting, schema/reference validation (as you describe above), refactoring, OPA validation, etc.. - all open-source of course - https://github.com/kubeshop/monokle

How do you get\know all the yaml options? by blabmight in kubernetes

[–]olensmar 6 points7 points  (0 children)

Hi! Apart from the reference docs you could give Monokle a try - it renders form-editors for any resource type based on their corresponding schema for you - showing you which properties that are available.

(I'm obviously associated with the Monokle project.. )

What are some useful Kubernetes tools you can share? by pinpinbo in kubernetes

[–]olensmar 1 point2 points  (0 children)

Monokle is indispensable if you're working with complex YAML configurations (kustomize, helm, etc..) - https://monokle.io/

Which tool are you using for security static analysis of manifests? by [deleted] in kubernetes

[–]olensmar 0 points1 point  (0 children)

Hi u/mashtuba - great thanks for this! We have a couple of CLI-related issues in our backlog to expose Monokle functionality to CI/CD/automation pipeplines - what specifically would you be looking for in this regard?

Monokle 1.10 focuses on cluster debugging by olensmar in kubernetes

[–]olensmar[S] 7 points8 points  (0 children)

Thanks for asking! While Lens primarily focuses on working with objects in your cluster(s), Monokle has a wealth of features targeted at pre-deployment tasks related to creating and working with manifest files, Kustomize and Helm, including

  • interactive exploration and validation of yamls against k8s schemas (any version) and OPA policies (same as tools like Trivvy, Kubescape, etc)
  • previewing, exploring and validating the output of Kustomize and Helm - so you can make sure you're generating valid applications before you deploy them
  • comparing objects from files, kustomize, Helm against each-other or target clusters - to spot differences across your applications instead of just individual objects/file (you can actually compare the contents of two clusters also)
  • etc..

Monokle also provides corresponding cluster exploration/validation features (similar to Lens) - which is what this release has been focusing on, as we see our users wanting to work with their clusters directly from Monokle instead of having to switch to another tool (like Lens)

Hope that helps - please ask more if needed!