this post was submitted on 22 Jul 2024
87 points (94.8% liked)

Linux

48331 readers
630 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

For me it's: Testdisk (and Photorec) Caddy Netstat Dig Aria2

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 4 months ago (4 children)

Anything that needs to be configured with YAML, and Kubernetes in particular.

I mean I get the whole Infrastructure as Code hype (although I have never witnessed or heard of a situation where an entire cluster needed to be revived from scratch), but it should be very possible to make a gui that writes the YAML for you.

I don't want to memorize every possible setting and what it does and if someone makes a typo in the config (or in the white space, as it's YAML) everything is borked.

Call me old-fashioned but the graphical ui of something like octopus deploy was a thousand times more user friendly imho.

[–] [email protected] 3 points 4 months ago

That UI is called VSCode

At the top of your .yaml file, you can set a JSON Schema. Example:

# yaml-language-server: $schema=https://json.schemastore.org/prometheus.json

scrape_configs:
  - job_name: caddy
    static_configs:
      - targets:
          - caddy:2019

This way, you don't have to memorize every possible setting and what it does and risk making a typo in the config. VSCode will just tell you.

[–] [email protected] 2 points 4 months ago

I think infrastructure as code is best utilized when paired with software testing and rapid deployment. It allows for a kind of granularity manual configuration doesn't give you

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

A few IDEs already provide some help with YAML. Rider will tell you if you've screwed up the YAML for a GitHub Actions workflow, and possibly docker-compose as well

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago)

I think it’s easy to make a generic YAML editor that all you need to do is to pass a “definitions” file that says all the possible options to show as a drop down or toggle etc.

That would be useful for many projects.