What Are Frameworks?
A framework is a namespace in Kubernetes. Ketch uses frameworks/namespaces to:
- Isolate the deployment of workloads
- Define ingress configuration
When you create a framework using Ketch, Ketch will automatically create a namespace in your cluster.
Ketch will use the ingress configuration you enter when creating a framework to create endpoints for the applications you deploy automatically.
You can use the example below to manage frameworks in Ketch using Crossplane:
apiVersion: ketch.io/v1alpha1 kind: Framework metadata: name: framework spec: forProvider: name: myframework ingressController: className: istio serviceEndpoint: 220.127.116.11 type: istio
|name||string||The name of the framework|
The name used here will be used by Ketch to create a namespace in your cluster.
Ketch will add ketch- as the suffix to your namespace name followed by the framework name you enter.
|ingressController||Top-level attribute for ingress configuration|
|className||string||The class name used by the ingress controller you have installed in your cluster.|
You can find more information about installing an ingress controller here
Ketch can also leverage your pre-installed ingress controller.
|serviceEndpoint||string||The EXTERNAL-IP assigned to your ingress controller.|
Ketch will use this IP to assign an endpoint to applications you deploy.
|type||string||The ingress controller type you have installed in your cluster.|
Currently supported controllers are:
Updated over 1 year ago