uuid in each namespace and parses the value stored in the secret’s body. This UUID is then used for various internal operations.stop: true in the Hossted project CR. This allows for pausing reconciliation activities when necessary.kubectl get hosstedproject -o yaml
The Collector function aggregates information about the application’s API, including Helm releases, pods, services, volumes, and ingress.
The AppInfo struct holds detailed information about the application, including Helm release status, pod details, service information, volume information, and ingress details.
The HelmInfo struct holds information about a Helm release, including name, namespace, revision, last update, status, chart, and application version.
The collector function collects information about Helm releases, pods, services, volumes, and ingress for a given Hossted project.
[
{
"app_api_info": {
"cluster_uuid": "1111-1111-1111-1111",
"app_uuid": "2222-2222-2222-2222",
"app_name": "test",
"email_id": "adheip@gmail.com",
"hossted_helm": true
},
"app_info": {
"helm_info": {
"name": "test",
"namespace": "default",
"revision": 1,
"updated": "2024-02-28T01:32:37.338988+05:30",
"status": "deployed",
"chart": "keycloak",
"appVersion": "1.0"
},
"pod_info": [
{
"name": "test-keycloak-0",
"namespace": "default",
"image": "docker.io/bitnami/keycloak:23.0.5-debian-11-r0",
"status": "Running"
},
{
"name": "test-postgresql-0",
"namespace": "default",
"image": "docker.io/bitnami/postgresql:16.1.0-debian-11-r24",
"status": "Running"
}
],
"service_info": [
{
"name": "test-postgresql-hl",
"namespace": "default",
"port": 5432
},
{
"name": "test-keycloak-headless",
"namespace": "default",
"port": 80
},
{
"name": "test-postgresql",
"namespace": "default",
"port": 5432
},
{
"name": "test-keycloak",
"namespace": "default",
"port": 80
}
],
"volume_info": [
{
"name": "data-test-postgresql-0",
"namespace": "default",
"size": 99
}
],
"ingress_info": [
{
"name": "keycloak",
"namespace": "default",
"domain": "keycloak.datainfra.io"
}
]
}
},
{
"app_api_info": {
"cluster_uuid": "",
"app_uuid": "",
"app_name": "my-nginx",
"all_good": 0
},
"app_info": {
"helm_info": {
"name": "my-nginx",
"namespace": "nginx-ingress",
"revision": 1,
"updated": "2024-02-28T19:28:33.004501+05:30",
"status": "deployed",
"chart": "ingress-nginx",
"appVersion": "1.9.6"
},
"pod_info": [
{
"name": "my-nginx-ingress-nginx-controller-5d759d6cbf-vqvxz",
"namespace": "nginx-ingress",
"image": "registry.k8s.io/ingress-nginx/controller:v1.9.6@sha256:1405cc613bd95b2c6edd8b2a152510ae91c7e62aea4698500d23b2145960ab9c",
"status": "Running"
}
],
"service_info": [
{
"name": "my-nginx-ingress-nginx-controller-admission",
"namespace": "nginx-ingress",
"port": 443
},
{
"name": "my-nginx-ingress-nginx-controller",
"namespace": "nginx-ingress",
"port": 80
}
],
"volume_info": [
{
"name": "data-test-postgresql-0",
"namespace": "default",
"size": 99
}
],
"ingress_info": [
{
"name": "keycloak",
"namespace": "default",
"domain": "keycloak.datainfra.io"
}
]
}
}
]