Kubernetes Schema¶
KubernetesCluster¶
Representation of a Kubernetes Cluster.
Field |
Description |
---|---|
firstseen |
Timestamp of when a sync job first discovered this node |
lastupdated |
Timestamp of the last time the node was updated |
id |
Identifier for the cluster i.e. UID of |
name |
Name assigned to the cluster which is derived from kubeconfig context |
Relationships¶
KubernetesCluster has KubernetesNamespaces.
(KubernetesCluster)-[HAS_NAMESPACE]->(KubernetesNamespace)
KubernetesCluster can have KubernetesPods.
(KubernetesCluster)-[HAS_POD]->(KubernetesPod)
KubernetesNamespace¶
Representation of a Kubernetes Namespace.
Field |
Description |
---|---|
firstseen |
Timestamp of when a sync job first discovered this node |
lastupdated |
Timestamp of the last time the node was updated |
id |
UID of the kubernetes namespace |
name |
Name of the kubernetes namespace |
created_at |
Timestamp of the creation time of the kubernetes namespace |
deleted_at |
Timestamp of the deletion time of the kubernetes namespace |
Relationships¶
KubernetesNamespace can have KubernetesPods.
(KubernetesNamespace)-[HAS_POD]->(KubernetesPod)
KubernetesNamespace can have KubernetesServices.
(KubernetesNamespace)-[HAS_SERVICE]->(KubernetesService)
KubernetesNamespace can have KubernetesSecrets.
(KubernetesNamespace)-[HAS_SECRET]->(KubernetesSecret)
KubernetesPod¶
Representation of a Kubernetes Pod.
Field |
Description |
---|---|
firstseen |
Timestamp of when a sync job first discovered this node |
lastupdated |
Timestamp of the last time the node was updated |
id |
UID of the kubernetes pod |
name |
Name of the kubernetes pod |
status_phase |
The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. |
created_at |
Timestamp of the creation time of the kubernetes pod |
deleted_at |
Timestamp of the deletion time of the kubernetes pod |
Relationships¶
KubernetesPod has KubernetesContainers.
(KubernetesPod)-[HAS_CONTAINER]->(KubernetesContainer)
KubernetesContainer¶
Representation of a Kubernetes Container.
Field |
Description |
---|---|
firstseen |
Timestamp of when a sync job first discovered this node |
lastupdated |
Timestamp of the last time the node was updated |
id |
Identifier for the container which is derived from the UID of pod and the name of container |
name |
Name of the container in kubernetes pod |
image |
Docker image used in the container |
status_image_id |
ImageID of the container’s image. |
status_image_sha |
The SHA portion of the status_image_id |
status_ready |
Specifies whether the container has passed its readiness probe. |
status_started |
Specifies whether the container has passed its startup probe. |
statys_state |
State of the container (running, terminated, waiting) |
Relationships¶
KubernetesPod has KubernetesContainers.
(KubernetesPod)-[HAS_CONTAINER]->(KubernetesContainer)
KubernetesService¶
Representation of a Kubernetes Service.
Field |
Description |
---|---|
firstseen |
Timestamp of when a sync job first discovered this node |
lastupdated |
Timestamp of the last time the node was updated |
id |
UID of the kubernetes service |
name |
Name of the kubernetes service |
created_at |
Timestamp of the creation time of the kubernetes service |
deleted_at |
Timestamp of the deletion time of the kubernetes service |
type |
Type of kubernetes service e.g. |
load_balancer_ip |
IP of the load balancer when service type is |
ingress_host |
Hostname of the ingress endpoint, if any |
ingress_ip |
IP of the ingress endpoint, if any |
Relationships¶
KubernetesService can serve KubernetesPods.
(KubernetesService)-[SERVES_POD]->(KubernetesPod)
KubernetesSecret¶
Representation of a Kubernetes Secret.
Field |
Description |
---|---|
firstseen |
Timestamp of when a sync job first discovered this node |
lastupdated |
Timestamp of the last time the node was updated |
id |
UID of the kubernetes secret |
name |
Name of the kubernetes secret |
created_at |
Timestamp of the creation time of the kubernetes secret |
deleted_at |
Timestamp of the deletion time of the kubernetes secret |
type |
Type of kubernetes secret e.g. |
Relationships¶
KubernetesNamespace can have KubernetesSecrets.
(KubernetesNamespace)-[HAS_SECRET]->(KubernetesSecret)