Skip to content

Instantly share code, notes, and snippets.

@cben
Last active January 18, 2018 15:31
Show Gist options
  • Select an option

  • Save cben/6bd8ebad52a3ee5cc2d7111b516403ea to your computer and use it in GitHub Desktop.

Select an option

Save cben/6bd8ebad52a3ee5cc2d7111b516403ea to your computer and use it in GitHub Desktop.
Diagrams used in 2018-01-17 inventory team talk
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// Manually edited to hide some details
digraph {
//subgraph cluster_0 { label = "Layer 0";
container_projects; // InventoryCollection:<ContainerProject>
container_nodes; // InventoryCollection:<ContainerNode>
container_image_registries; // InventoryCollection:<ContainerImageRegistry>
container_images; // InventoryCollection:<ContainerImage>
mapped_tags_to_resolve; // InventoryCollection:<Tag>
//}
//subgraph cluster_1 { label = "Layer 1";
container_quotas; // InventoryCollection:<ContainerQuota>, blacklist: [namespace]
container_limits; // InventoryCollection:<ContainerLimit>, blacklist: [namespace]
container_conditions_for_container_nodes; // InventoryCollection:<ContainerCondition>
computer_systems; // InventoryCollection:<ComputerSystem>
container_replicators; // InventoryCollection:<ContainerReplicator>, blacklist: [namespace]
container_templates; // InventoryCollection:<ContainerTemplate>, blacklist: [namespace]
container_builds; // InventoryCollection:<ContainerBuild>
persistent_volume_claims; // InventoryCollection:<PersistentVolumeClaim>, blacklist: [namespace]
// custom_attributes_for_container_projects_labels; // InventoryCollection:<CustomAttribute>
// custom_attributes_for_container_projects_additional_attributes; // InventoryCollection:<CustomAttribute>
// taggings_for_container_projects; // InventoryCollection:<Tagging>
// custom_attributes_for_container_nodes_labels; // InventoryCollection:<CustomAttribute>
// custom_attributes_for_container_nodes_additional_attributes; // InventoryCollection:<CustomAttribute>
// taggings_for_container_nodes; // InventoryCollection:<Tagging>
// custom_attributes_for_container_images_labels; // InventoryCollection:<CustomAttribute>
// custom_attributes_for_container_images_docker_labels; // InventoryCollection:<CustomAttribute>
//}
//subgraph cluster_2 { label = "Layer 2";
container_quota_scopes; // InventoryCollection:<ContainerQuotaScope>
container_quota_items; // InventoryCollection:<ContainerQuotaItem>
container_limit_items; // InventoryCollection:<ContainerLimitItem>
computer_system_hardwares; // InventoryCollection:<Hardware>
computer_system_operating_systems; // InventoryCollection:<OperatingSystem>
container_template_parameters; // InventoryCollection:<ContainerTemplateParameter>
container_build_pods; // InventoryCollection:<ContainerBuildPod>
persistent_volumes; // InventoryCollection:<PersistentVolume>
// custom_attributes_for_container_replicators_labels; // InventoryCollection:<CustomAttribute>
// custom_attributes_for_container_replicators_selectors; // InventoryCollection:<CustomAttribute>
// taggings_for_container_replicators; // InventoryCollection:<Tagging>
// custom_attributes_for_container_templates_labels; // InventoryCollection:<CustomAttribute>
// taggings_for_container_templates; // InventoryCollection:<Tagging>
// custom_attributes_for_container_builds_labels; // InventoryCollection:<CustomAttribute>
// taggings_for_container_builds; // InventoryCollection:<Tagging>
//}
//subgraph cluster_3 { label = "Layer 3";
container_groups; // InventoryCollection:<ContainerGroup>, blacklist: [namespace]
// custom_attributes_for_container_build_pods_labels; // InventoryCollection:<CustomAttribute>
//}
//subgraph cluster_4 { label = "Layer 4";
container_conditions_for_container_groups; // InventoryCollection:<ContainerCondition>
container_volumes; // InventoryCollection:<ContainerVolume>
containers; // InventoryCollection:<Container>
container_services; // InventoryCollection:<ContainerService>, blacklist: [namespace]
// custom_attributes_for_container_groups_labels; // InventoryCollection:<CustomAttribute>
// custom_attributes_for_container_groups_node_selectors; // InventoryCollection:<CustomAttribute>
// taggings_for_container_groups; // InventoryCollection:<Tagging>
//}
//subgraph cluster_5 { label = "Layer 5";
container_port_configs; // InventoryCollection:<ContainerPortConfig>
container_env_vars; // InventoryCollection:<ContainerEnvVar>
security_contexts; // InventoryCollection:<SecurityContext>
container_service_port_configs; // InventoryCollection:<ContainerServicePortConfig>
container_routes; // InventoryCollection:<ContainerRoute>, blacklist: [namespace]
// custom_attributes_for_container_services_labels; // InventoryCollection:<CustomAttribute>
// custom_attributes_for_container_services_selectors; // InventoryCollection:<CustomAttribute>
// taggings_for_container_services; // InventoryCollection:<Tagging>
//}
//subgraph cluster_6 { label = "Layer 6";
// custom_attributes_for_container_routes_labels; // InventoryCollection:<CustomAttribute>
// taggings_for_container_routes; // InventoryCollection:<Tagging>
//}
// edges:
// container_projects -> custom_attributes_for_container_projects_labels;
// container_projects -> custom_attributes_for_container_projects_additional_attributes;
// container_projects -> taggings_for_container_projects;
container_projects -> container_quotas;
container_quotas -> container_quota_scopes;
container_quotas -> container_quota_items;
container_projects -> container_limits;
container_limits -> container_limit_items;
container_nodes -> container_conditions_for_container_nodes;
// container_nodes -> custom_attributes_for_container_nodes_labels;
// container_nodes -> custom_attributes_for_container_nodes_additional_attributes;
// container_nodes -> taggings_for_container_nodes;
container_nodes -> computer_systems;
computer_systems -> computer_system_hardwares;
computer_systems -> computer_system_operating_systems;
container_projects -> container_groups;
container_nodes -> container_groups;
container_replicators -> container_groups;
container_build_pods -> container_groups;
container_groups -> container_conditions_for_container_groups;
// container_groups -> custom_attributes_for_container_groups_labels;
// container_groups -> custom_attributes_for_container_groups_node_selectors;
// container_groups -> taggings_for_container_groups;
container_groups -> container_volumes;
container_images -> containers;
container_groups -> containers;
containers -> container_port_configs;
containers -> container_env_vars;
containers -> security_contexts;
container_projects -> container_replicators;
// container_replicators -> custom_attributes_for_container_replicators_labels;
// container_replicators -> custom_attributes_for_container_replicators_selectors;
// container_replicators -> taggings_for_container_replicators;
container_projects -> container_services;
container_image_registries -> container_services;
container_groups -> container_services;
// container_services -> custom_attributes_for_container_services_labels;
// container_services -> custom_attributes_for_container_services_selectors;
// container_services -> taggings_for_container_services;
container_services -> container_service_port_configs;
container_projects -> container_routes;
container_services -> container_routes;
// container_routes -> custom_attributes_for_container_routes_labels;
// container_routes -> taggings_for_container_routes;
container_projects -> container_templates;
// container_templates -> custom_attributes_for_container_templates_labels;
// container_templates -> taggings_for_container_templates;
container_templates -> container_template_parameters;
container_projects -> container_builds;
// container_builds -> custom_attributes_for_container_builds_labels;
// container_builds -> taggings_for_container_builds;
container_builds -> container_build_pods;
// container_build_pods -> custom_attributes_for_container_build_pods_labels;
persistent_volume_claims -> persistent_volumes;
container_projects -> persistent_volume_claims;
// container_images -> custom_attributes_for_container_images_labels;
// container_images -> custom_attributes_for_container_images_docker_labels;
}
digraph {
subgraph cluster_0 { label = "Layer 0";
container_projects; // InventoryCollection:<ContainerProject>
container_nodes; // InventoryCollection:<ContainerNode>
container_image_registries; // InventoryCollection:<ContainerImageRegistry>
container_images; // InventoryCollection:<ContainerImage>
mapped_tags_to_resolve; // InventoryCollection:<Tag>
}
subgraph cluster_1 { label = "Layer 1";
container_quotas; // InventoryCollection:<ContainerQuota>, blacklist: [namespace]
container_limits; // InventoryCollection:<ContainerLimit>, blacklist: [namespace]
container_conditions_for_container_nodes; // InventoryCollection:<ContainerCondition>
computer_systems; // InventoryCollection:<ComputerSystem>
container_replicators; // InventoryCollection:<ContainerReplicator>, blacklist: [namespace]
container_templates; // InventoryCollection:<ContainerTemplate>, blacklist: [namespace]
container_builds; // InventoryCollection:<ContainerBuild>
persistent_volume_claims; // InventoryCollection:<PersistentVolumeClaim>, blacklist: [namespace]
custom_attributes_for_container_projects_labels; // InventoryCollection:<CustomAttribute>
custom_attributes_for_container_projects_additional_attributes; // InventoryCollection:<CustomAttribute>
taggings_for_container_projects; // InventoryCollection:<Tagging>
custom_attributes_for_container_nodes_labels; // InventoryCollection:<CustomAttribute>
custom_attributes_for_container_nodes_additional_attributes; // InventoryCollection:<CustomAttribute>
taggings_for_container_nodes; // InventoryCollection:<Tagging>
custom_attributes_for_container_images_labels; // InventoryCollection:<CustomAttribute>
custom_attributes_for_container_images_docker_labels; // InventoryCollection:<CustomAttribute>
}
subgraph cluster_2 { label = "Layer 2";
container_quota_scopes; // InventoryCollection:<ContainerQuotaScope>
container_quota_items; // InventoryCollection:<ContainerQuotaItem>
container_limit_items; // InventoryCollection:<ContainerLimitItem>
computer_system_hardwares; // InventoryCollection:<Hardware>
computer_system_operating_systems; // InventoryCollection:<OperatingSystem>
container_template_parameters; // InventoryCollection:<ContainerTemplateParameter>
container_build_pods; // InventoryCollection:<ContainerBuildPod>
persistent_volumes; // InventoryCollection:<PersistentVolume>
custom_attributes_for_container_replicators_labels; // InventoryCollection:<CustomAttribute>
custom_attributes_for_container_replicators_selectors; // InventoryCollection:<CustomAttribute>
taggings_for_container_replicators; // InventoryCollection:<Tagging>
custom_attributes_for_container_templates_labels; // InventoryCollection:<CustomAttribute>
taggings_for_container_templates; // InventoryCollection:<Tagging>
custom_attributes_for_container_builds_labels; // InventoryCollection:<CustomAttribute>
taggings_for_container_builds; // InventoryCollection:<Tagging>
}
subgraph cluster_3 { label = "Layer 3";
container_groups; // InventoryCollection:<ContainerGroup>, blacklist: [namespace]
custom_attributes_for_container_build_pods_labels; // InventoryCollection:<CustomAttribute>
}
subgraph cluster_4 { label = "Layer 4";
container_conditions_for_container_groups; // InventoryCollection:<ContainerCondition>
container_volumes; // InventoryCollection:<ContainerVolume>
containers; // InventoryCollection:<Container>
container_services; // InventoryCollection:<ContainerService>, blacklist: [namespace]
custom_attributes_for_container_groups_labels; // InventoryCollection:<CustomAttribute>
custom_attributes_for_container_groups_node_selectors; // InventoryCollection:<CustomAttribute>
taggings_for_container_groups; // InventoryCollection:<Tagging>
}
subgraph cluster_5 { label = "Layer 5";
container_port_configs; // InventoryCollection:<ContainerPortConfig>
container_env_vars; // InventoryCollection:<ContainerEnvVar>
security_contexts; // InventoryCollection:<SecurityContext>
container_service_port_configs; // InventoryCollection:<ContainerServicePortConfig>
container_routes; // InventoryCollection:<ContainerRoute>, blacklist: [namespace]
custom_attributes_for_container_services_labels; // InventoryCollection:<CustomAttribute>
custom_attributes_for_container_services_selectors; // InventoryCollection:<CustomAttribute>
taggings_for_container_services; // InventoryCollection:<Tagging>
}
subgraph cluster_6 { label = "Layer 6";
custom_attributes_for_container_routes_labels; // InventoryCollection:<CustomAttribute>
taggings_for_container_routes; // InventoryCollection:<Tagging>
}
// edges:
container_projects -> custom_attributes_for_container_projects_labels;
container_projects -> custom_attributes_for_container_projects_additional_attributes;
container_projects -> taggings_for_container_projects;
container_projects -> container_quotas;
container_quotas -> container_quota_scopes;
container_quotas -> container_quota_items;
container_projects -> container_limits;
container_limits -> container_limit_items;
container_nodes -> container_conditions_for_container_nodes;
container_nodes -> custom_attributes_for_container_nodes_labels;
container_nodes -> custom_attributes_for_container_nodes_additional_attributes;
container_nodes -> taggings_for_container_nodes;
container_nodes -> computer_systems;
computer_systems -> computer_system_hardwares;
computer_systems -> computer_system_operating_systems;
container_projects -> container_groups;
container_nodes -> container_groups;
container_replicators -> container_groups;
container_build_pods -> container_groups;
container_groups -> container_conditions_for_container_groups;
container_groups -> custom_attributes_for_container_groups_labels;
container_groups -> custom_attributes_for_container_groups_node_selectors;
container_groups -> taggings_for_container_groups;
container_groups -> container_volumes;
container_images -> containers;
container_groups -> containers;
containers -> container_port_configs;
containers -> container_env_vars;
containers -> security_contexts;
container_projects -> container_replicators;
container_replicators -> custom_attributes_for_container_replicators_labels;
container_replicators -> custom_attributes_for_container_replicators_selectors;
container_replicators -> taggings_for_container_replicators;
container_projects -> container_services;
container_image_registries -> container_services;
container_groups -> container_services;
container_services -> custom_attributes_for_container_services_labels;
container_services -> custom_attributes_for_container_services_selectors;
container_services -> taggings_for_container_services;
container_services -> container_service_port_configs;
container_projects -> container_routes;
container_services -> container_routes;
container_routes -> custom_attributes_for_container_routes_labels;
container_routes -> taggings_for_container_routes;
container_projects -> container_templates;
container_templates -> custom_attributes_for_container_templates_labels;
container_templates -> taggings_for_container_templates;
container_templates -> container_template_parameters;
container_projects -> container_builds;
container_builds -> custom_attributes_for_container_builds_labels;
container_builds -> taggings_for_container_builds;
container_builds -> container_build_pods;
container_build_pods -> custom_attributes_for_container_build_pods_labels;
persistent_volume_claims -> persistent_volumes;
container_projects -> persistent_volume_claims;
container_images -> custom_attributes_for_container_images_labels;
container_images -> custom_attributes_for_container_images_docker_labels;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment