httpbin configuration reference for Lokomotive
Introduction
httpbin is a simple HTTP request & response service. It’s used mostly for testing purposes.
Prerequisites
- A Lokomotive cluster accessible via
kubectl
.
Configuration
httpbin component configuration example:
component "httpbin" {
ingress_host = "httpbin.example.lokomotive-k8s.org"
}
Attribute reference
Table of all the arguments accepted by the component.
Argument | Description | Default | Type | Required |
---|---|---|---|---|
ingress_host |
Used as the hosts domain in the ingress resource for httpbin that is automatically created. |
- | string | true |
certmanager_cluster_issuer |
ClusterIssuer to be used by cert-manager while issuing TLS certificates. Supported values: letsencrypt-production , letsencrypt-staging . |
letsencrypt-production |
string | false |
Applying
To apply the httpbin component:
lokoctl component apply httpbin
Deleting
To destroy the component:
lokoctl component delete httpbin --delete-namespace