kubernetes-json-schema
rbac-tool
kubernetes-json-schema | rbac-tool | |
---|---|---|
4 | 9 | |
292 | 874 | |
1.0% | 2.6% | |
0.0 | 5.0 | |
10 months ago | 1 day ago | |
Go | ||
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kubernetes-json-schema
-
WebAssembly: Docker Without Containers
Hey, so I thought I remembered your username. This isn’t the first interaction we’ve had, or I’ve seen you have, that follows this similar pattern. In fact it’s the third example from you under this post!
It’s not a particularly pleasant experience to discuss anything with you, as after you make a particularly vapid and usually ice-cold take that is rebuffed, you seem to just try to make snarky replies rather than engage.
Understand that if you post your takes here they may be discussed and challenged, and if you don’t want this then I would refrain from initially commenting.
In response to your comment: They do. All Kubernetes resources are typed with JSON-schema definitions. Because of course they are, how else would kubernetes validate anything. https://kubernetesjsonschema.dev/
Anyone who’s used k8s at all knows this, if only from the error messages. From this you get autocompletion and a wide ecosystem of gui configuration tools. I like lens (https://k8slens.dev/).
-
Data and System Visualization Tools That Will Boost Your Productivity
To avoid spending unreasonable amount of time trying to find that one wrong indent, I recommend you use schema validation and let your IDE do all the work. You can use validation schemas from https://schemastore.org/json or custom schemas such as these for Kubernetes to validate your files. These will work both with JetBrains products (e.g. Pycharm, IntelliJ) as well as VSCode (see this guide)
-
Test manifest compatibility against version
Seems like they haven't generated v1.20+ schema. It might work if you generate the schema yourself and feed it to KUBEVAL_SCHEMA_LOCATION
-
A Deep Dive Into Kubernetes Schema Validation
Kubeval - instrumenta/kubernetes-json-schema (last commit: 133f848 on April 29, 2020)
rbac-tool
-
Getting started with kubectl plugins
Link to GitHub Repository
-
Data and System Visualization Tools That Will Boost Your Productivity
A simpler alternative to Krane is rbac-tool, which can be installed as kubectl plugin. It can also analyze, audit, interrogate RBAC rules, but most importantly, it can visualize them:
-
Interesting tools?
Tool to create and visualize RBAC in cluster: https://github.com/alcideio/rbac-tool
-
Kubernetes Multi-Cluster Part 3: Authentication and Access Control
Other tools that can also audit your existing RBAC permissions and Kubernetes setups are rbac-tool and rbac-audit.
-
What would make your life easier when using Kubernetes?
And of course a quick google search shows that someone has already created something like that for RBAC: https://github.com/alcideio/rbac-tool
- rbac-tool
-
Kubernetes Security Checklist 2021
Role-Based Access Control (RBAC) should be configured for the Kubernetes cluster. Rights need to be assigned within the project namespace based on least privilege and separation of duties (RBAC-tool)
-
Compiled list of ClusterRoles for better/safer RBAC
I've been tasked with defining and documenting some ClusterRoles with clear permissions that should (mostly) be enough for any kind of cluster. The idea is for admins (who don't necessarily do the devops behind) to be able to understand what each CR does, to assign these CRs to users on the fly, to update a user's access as their needs change, to view a list of policy rules, who can do what etc... For this maintenance and tracking part we use rbac-manager and rbac-tool, which are excellent tools imo.
-
Ask r/kubernetes: What are you working on this week?
I've just started using rbac-manager and rbac-tool to apply and track rbac on our clusters :)
What are some alternatives?
kubeconform - A FAST Kubernetes manifests validator, with support for Custom Resources!
Kyverno - Kubernetes Native Policy Management
enhancements - Enhancements tracking repo for Kubernetes
teleport - A WebXR teleport for three.js
kubeval - Validate your Kubernetes configuration files, supports multiple Kubernetes versions
krane - Kubernetes RBAC static analysis & visualisation tool
lens-resource-map-extension - Lens - The Kubernetes IDE extension that displays Kubernetes resources and their relations as a force graph.
trivy - Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
kubernetes-json-schema - JSON Schemas for every version of every object in every version of Kubernetes
checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
Gravitational Teleport - The easiest, and most secure way to access and protect all of your infrastructure.