Kubebuilder-based operator for Codius custom resource definition
sudo make docker-build docker-push IMG=<some-registry>/<project-name>:tag
make deploy IMG=<some-registry>/<project-name>:tag
Configure by patching the controller manager deployment with Kustomize.
- Type: String
- Description: Hostname of the Codius host
- Type: String
- Description: URL for the internal hello service. Codius service deployment
initContainer
s will query the hello service to determine when the pod's egress network policy has been enforced.
- Type: String
- Description: URL of the Codius web frontend.
- Type: String
- Description: Namespace in which to create deployments, services, and ingresses. The operator controller manager must have the necessary permissions in this namespace. This is also the namespace to which the network policy should be applied.
- Type: String
- Description: URL of the receipt verifier with which to deduct paid balances.
- Type: Number
- Description: The amount required to have been paid to serve a request. Denominated in the host's asset (code and scale).
- Type: String
- Description: RuntimeClass to use for Codius service deployments'
runtimeClassName
- Type: Number
- Description: The amount required to have been paid to create a service. Denominated in the host's asset (code and scale).
Create a Codius service
- Type: Object
Field Name | Type | Description |
---|---|---|
spec | Object | An object containing details for your service. |
secretData | Object | An object containing private variables you want to pass to the host, such as an AWS key. |
Retrieve the specified Codius service