operator-sdk
hubble
operator-sdk | hubble | |
---|---|---|
23 | 7 | |
7,013 | 3,315 | |
0.6% | 2.2% | |
8.0 | 9.3 | |
6 days ago | 4 days ago | |
Go | Makefile | |
Apache License 2.0 | 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.
operator-sdk
-
Building a Kubernetes Operator with the Operator Framework
operator-sdk: brew install operator-sdk
-
Annotations in Kubernetes Operator Design
The operator that I've been working on is designed to manage the full lifecycle of a QuestDB database instance, including version and hardware upgrades, config changes, backups, and (eventually) recovery from node failure. I used the Operator SDK and kubebuilder frameworks to provide scaffolding and API support.
-
Hacking in kind (Kubernetes in Docker)
I've recently been working on an operator (built using the operator-sdk) that manages cluster node lifecycles. Kind allows you to spin up clusters with multiple nodes, using a Docker container per-node and joining them using a common Docker network. However, the kind executable does not allow you to modify an existing cluster by adding or removing a node.
-
Creating Kubernetes Operators with operator-sdk
To illustrate what we can do with an operator, I will create a proof of concept using operator-sdk. According to the official website::
- What Is A Kubernetes Operator?
-
Writing a Kubernetes Operator
Besides the frameworks TFA lists, you can also build Operators in Ansible or Helm.
https://sdk.operatorframework.io/
- Question: Resources to learn K8s operator programming
-
Using k8s-apiserver as AAA server for microservices?
Operator SDK is basically just a thin wrapper for kube-builder
-
What topics should I cover as DevOps in Golang after practice and learning syntax
You mean the Operator SDK? https://sdk.operatorframework.io
-
Dont understand how I can watch external resources modification/deletion with my custom operator
yes I agree with youu, an issue has been opened on the operator-sdk github page regarding this topic https://github.com/operator-framework/operator-sdk/issues/6117
hubble
-
Architecting for Resilience: Crafting Opinionated EKS Clusters with Karpenter & Cilium Cluster Mesh — Part 1
Since we installed Hubble on the cluster, Let’s check its cool UI and see how the traffic flows between the pods. To do so, let’s run:
- cilium/hubble: Hubble - Network, Service & Security Observability for Kubernetes using eBPF
-
Getting started with kubectl plugins
This doesn’t just provide improved operational visibility - it’s incredibly beneficial to network security engineers. For instance, if Cilium is unable to communicate with core components such as ‘Hubble,’ this will show-up in the connectivity test.
-
Linux Audit comes at a cost, is that where BPF steps in?
It may be we could further optimize in some way, but in our testing we didn't find the streaming or EBPF based tables to work all that well for our purposes in osquery. This tool seems more promising for logging this sort of activity: https://github.com/cilium/hubble. We're focused on K8s visibility but this could replace all of our Linux Auditing level logging if it works well.
-
Cilium: eBPF powered CNI, a NOS Solution for Modern Clouds
Cilium team also offers Hubble (yes, the name is the same as the famous far space crawling telescope's one, but for clouds), which is a fully distributed networking and security observability platform for cloud native workloads. Hubble is open source software and built on top of Cilium and eBPF to enable deep visibility into the communication and behavior of services as well as the networking infrastructure in a completely transparent manner.
-
Managing Distributed Applications in Kubernetes Using Cilium and Istio with Helm and Operator for Deployment
However, if you look at projects like Cilium Hubble and Istio Galley, you can see that you not only get all the instrumentation to manage this stuff out of the box, but you also get observability into the health of your pods and fine-grained visibility that you won’t get with traditional tools.
-
Kubernetes cluster diagram
CNI plugins like Cilium
What are some alternatives?
kubebuilder - Kubebuilder - SDK for building Kubernetes APIs using CRDs
eBPF-Guide - eBPF (extended Berkeley Packet Filter) Guide. Learn all about the eBPF Tools and Libraries for Security, Monitoring , and Networking.
terraform-provider-kubernetes-alpha - A Terraform provider for Kubernetes that uses dynamic resource types and server-side apply. Supports all Kubernetes resources.
kube-state-metrics - Add-on agent to generate and expose cluster-level metrics.
sample-controller-kubebuilder - This is Sample Controller(Foo Controller) developed by Kubebuilder
kubernetes-event-exporter - Export Kubernetes events to multiple destinations with routing and filtering
postgres-operator - Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
KubeArmor - Runtime Security Enforcement System. Workload hardening/sandboxing and implementing least-permissive policies made easy leveraging LSMs (BPF-LSM, AppArmor).
controller-runtime - Repo for the controller-runtime subproject of kubebuilder (sig-apimachinery)
cilium-cli - CLI to install, manage & troubleshoot Kubernetes clusters running Cilium
sandbox-operator - A Kubernetes operator for creating isolated environments
coroot - Coroot is an open-source APM & Observability tool, a DataDog and NewRelic alternative 📊, 🖥️, 👉. Powered by eBPF for rapid insights into system performance. Monitor, analyze, and optimize your infrastructure effortlessly for peak reliability at any scale.