Cluster Integrations
Customer integrations on the ayedo SDP: cert-manager, external-dns, endpoint monitoring annotations for Ingress and HTTPRoute, and the S3Bucket CR.
Cluster Integrations
The ayedo Software Delivery Platform (SDP) automates recurring infrastructure tasks directly through Kubernetes resources and annotations. As an application developer, you neither have to open tickets nor manually configure external systems.
This page documents the four customer-facing cluster integrations:
cert-manager— automated TLS certificatesexternal-dns— automated DNS records- Ingress & Gateway API Discovery → Endpoint Monitoring — HTTP availability checks via annotations
S3BucketCustom Resource — declarative provisioning of S3 buckets along with a credentials Secret
1. cert-manager (TLS Certificates)
cert-manager automatically issues TLS certificates (for example, via Let's Encrypt), stores them as a Kubernetes Secret (type: kubernetes.io/tls) in your namespace, and renews them well before expiration.
Usage via Ingress Annotation (Standard)
Add the cert-manager.io/cluster-issuer annotation to your Ingress and define the spec.tls block:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: acme-web
namespace: acme-production
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: nginx
tls:
- hosts:
- app.example.com
secretName: acme-web-tls
rules:
- host: app.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: acme-web
port:
number: 80
Usage as an Explicit Certificate Resource (e.g., for Gateway API or Wildcards)
For Envoy Gateway listeners, internal TLS services, or wildcard certificates (via DNS-01 challenge), you can create a Certificate CR directly in your namespace:
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: acme-api-tls
namespace: acme-production
spec:
secretName: acme-api-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
dnsNames:
- api.example.com
Checking Certificate Status
# Overview of all certificates in the namespace
kubectl get certificate,certificaterequest -n acme-production
# Inspect details in case of delays or challenge errors
kubectl describe certificate acme-api-tls -n acme-production
You can check which ClusterIssuer resources are available in your cluster (HTTP-01 or DNS-01) using kubectl get clusterissuer or in your cluster handover documentation.
2. external-dns (Automated DNS Records)
When external-dns is enabled in the cluster, the controller automatically creates matching A, AAAA, or CNAME records in authorized DNS zones for the hostnames of your Ingress, HTTPRoute, or LoadBalancer Service resources and updates them whenever changes occur.
Typical Usage on Ingress and HTTPRoute
Typically, external-dns discovers hostnames directly from spec.rules[].host (Ingress) or spec.hostnames (HTTPRoute). Annotations allow controlling additional hostnames or the TTL:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: acme-web
namespace: acme-production
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
external-dns.alpha.kubernetes.io/ttl: "300"
spec:
ingressClassName: nginx
rules:
- host: app.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: acme-web
port:
number: 80
For Services without an Ingress/HTTPRoute (such as a dedicated LoadBalancer Service), specify the desired target hostname explicitly using the hostname annotation:
metadata:
annotations:
external-dns.alpha.kubernetes.io/hostname: tcp.example.com
external-dns.alpha.kubernetes.io/ttl: "300"
3. Ingress & Gateway API Discovery → Endpoint Monitoring
The cluster operator watches Ingress resources as well as — once the Gateway API CRDs are installed in the cluster — HTTPRoute resources, automatically registering the configured hostnames in HTTP endpoint monitoring.
- A
Gatewayobject alone does not create a monitoring endpoint;IngressandHTTPRouteare authoritative. - If both an
Ingressand anHTTPRouteexist for the same hostname in the same namespace, theHTTPRoutetakes precedence. - In the default mode (
annotation), monitoring is opt-in viapolycrate_endpoint_monitor: "true".
Supported Annotations (polycrate_*)
| Annotation | Type | Default | Description |
|---|---|---|---|
polycrate_endpoint_monitor |
String | — | "true" enables endpoint monitoring (opt-in); "false" explicitly excludes the host |
polycrate_endpoint_path |
String | / |
HTTP path for the health check (e.g., /healthz or /api/health) |
polycrate_endpoint_timeout |
String | "5" |
Timeout per check in seconds |
polycrate_endpoint_interval |
String | "60" |
Check interval in seconds |
polycrate_endpoint_expected_status |
String | "200" |
Expected HTTP status code (e.g., "200" or "302") |
polycrate_endpoint_tls |
String | — | Explicit control of TLS ("true" / "false") |
polycrate_endpoint_port |
String | "443" |
Target port for the HTTP(S) check |
polycrate_endpoint_host_config |
JSON | — | Per-host overrides for Ingresses/Routes with multiple hostnames |
polycrate_k8sapp_name |
String | — | Associates the endpoint with an application in the same namespace |
Example: Ingress with Endpoint Monitoring
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: acme-api
namespace: acme-production
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
polycrate_endpoint_monitor: "true"
polycrate_endpoint_path: "/api/health"
polycrate_endpoint_timeout: "10"
polycrate_endpoint_interval: "30"
polycrate_endpoint_expected_status: "200"
polycrate_k8sapp_name: "acme-api"
spec:
ingressClassName: nginx
tls:
- hosts:
- api.example.com
secretName: acme-api-tls
rules:
- host: api.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: acme-api
port:
number: 8080
Example: Envoy HTTPRoute with Endpoint Monitoring
The exact same polycrate_* annotations work identically on a Gateway API HTTPRoute:
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: acme-shop
namespace: acme-production
annotations:
polycrate_endpoint_monitor: "true"
polycrate_endpoint_path: "/readyz"
polycrate_endpoint_timeout: "5"
polycrate_endpoint_interval: "60"
polycrate_endpoint_expected_status: "200"
polycrate_k8sapp_name: "acme-shop"
spec:
parentRefs:
- name: eg-shared
namespace: envoy-gateway-system
sectionName: https
hostnames:
- shop.example.com
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: acme-shop
port: 8080
Per-Host Configuration with polycrate_endpoint_host_config
When a single Ingress or HTTPRoute serves multiple hostnames with different health-check endpoints, override individual hosts using the JSON annotation. Unlisted hosts or fields automatically inherit the top-level annotations:
metadata:
annotations:
polycrate_endpoint_monitor: "true"
polycrate_endpoint_path: "/health"
polycrate_endpoint_expected_status: "200"
polycrate_endpoint_host_config: |
{
"api.example.com": {
"path": "/api/health",
"expected_status": [200],
"timeout": 10
},
"events.example.com": {
"path": "/readyz",
"expected_status": [202]
}
}
Supported fields per host object in polycrate_endpoint_host_config: path (string), expected_status (array of integers), timeout (integer in seconds), interval (integer in seconds), tls (boolean), and port (integer).
Checking the Status of Generated Endpoint Resources
kubectl get endpoints.polycrate.io -n acme-production
kubectl describe endpoints.polycrate.io <endpoint-name> -n acme-production
4. S3Bucket Custom Resource
With the S3Bucket Custom Resource (polycrate.io/v1alpha1), you can provision S3-compatible buckets (for example, on Ceph RGW or RustFS) declaratively via GitOps directly in your application namespace.
Example Manifest
apiVersion: polycrate.io/v1alpha1
kind: S3Bucket
metadata:
name: acme-uploads
namespace: acme-production
spec:
name: acme-uploads
region: eu-central
reclaim_policy: retain
| Field | Required | Default | Description |
|---|---|---|---|
spec.name |
Yes | — | DNS-compliant name of the S3 bucket |
spec.region |
No | Cluster default | Target region / S3 cluster identifier |
spec.reclaim_policy |
No | retain |
retain keeps the bucket when the CR is deleted; delete removes the bucket |
If a bucket with the same name already exists in the specified region, the operator adopts the existing bucket (adopt pattern) instead of creating a duplicate.
Automatically Generated Credentials Secret
Once the bucket is ready, the operator automatically creates the Secret s3-<bucket-name>-credentials in the same namespace:
apiVersion: v1
kind: Secret
metadata:
name: s3-acme-uploads-credentials
namespace: acme-production
type: Opaque
stringData:
AWS_ACCESS_KEY_ID: "<access-key>"
AWS_SECRET_ACCESS_KEY: "<secret-key>"
S3_ENDPOINT: "https://s3.example.com"
S3_REGION: "eu-central"
BUCKET_NAME: "acme-uploads"
The Secret has an ownerReference pointing to the S3Bucket CR and can be mounted directly into your application container via envFrom (see Object Storage (S3)).
Checking Status Phases
kubectl get s3buckets -n acme-production
kubectl describe s3bucket acme-uploads -n acme-production
| Phase | Meaning |
|---|---|
Pending |
CR created, provisioning pending |
Provisioning |
Bucket is being created in the S3 backend |
WaitingForCredentials |
Bucket exists, credentials are being retrieved |
Ready |
Bucket and credentials Secret are ready for use |
Error |
Provisioning error — check details via kubectl describe |