-
Notifications
You must be signed in to change notification settings - Fork 2
Components
Jonathan Gnagy edited this page Nov 18, 2023
·
1 revision
The following components are provided in the gem:
- Controllers
-
Metatron::Controllers::Ping- A pre-built, ready-to-use Rack application that responds toGETrequests with a200 OKand a{ "status": "up" }message, useful for monitoring. This is totally optional, but it's included in the gem for convenience if you're using Metatron in a standalone Ruby project. -
Metatron::Controller- The base class for Metacontroller API hooks. You'll likely never need to subclass this directly, as you'll probably inherit from theMetatron::CompositeController(or futureMetatron::DecoratorController) instead. -
Metatron::CompositeController- The base class for MetacontrollerCompositeControllercontrollers. This is the class you'll want to subclass if you're creating a typical Kubernetes controller that follows the Operator pattern to manage custom resources.
-
- Kubernetes Resource Templates
-
Metatron::Templates::ClusterRole- A template for creating aClusterRoleresource. -
Metatron::Templates::ClusterRoleBinding- A template for creating aClusterRoleBindingresource. -
Metatron::Templates::ConfigMap- A template for creating aConfigMapresource. -
Metatron::Templates::Container- A template for creating aContainermeta-resource. Note: this is only useful when passed to aPodtemplate (or other templates that use containers). -
Metatron::Templates::CronJob- A template for creating aCronJobresource. -
Metatron::Templates::DaemonSet- A template for creating aDaemonSetresource. -
Metatron::Templates::Deployment- A template for creating aDeploymentresource. -
Metatron::Templates::Ingress- A template for creating anIngressresource. -
Metatron::Templates::Job- A template for creating aJobresource. -
Metatron::Templates::Namespace- A template for creating aNamespaceresource. -
Metatron::Templates::PersistentVolumeClaim- A template for creating aPersistentVolumeClaimresource. -
Metatron::Templates::Pod- A template for creating aPodresource. -
Metatron::Templates::ReplicaSet- A template for creating aReplicaSetresource. -
Metatron::Templates::Role- A template for creating aRoleresource. -
Metatron::Templates::RoleBinding- A template for creating aRoleBindingresource. -
Metatron::Templates::Secret- A template for creating aSecretresource. -
Metatron::Templates::Service- A template for creating aServiceresource. -
Metatron::Templates::ServiceAccount- A template for creating aServiceAccountresource. -
Metatron::Templates::StatefulSet- A template for creating aStatefulSetresource.
-