initial commit
Change-Id: I2b20339d5da2bfdfd7b0be8161e2de8ae3053338
This commit is contained in:
98
catalog-info.yaml
Normal file
98
catalog-info.yaml
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
# ── Domain Entity ────────────────────────────────────────────────────────────
|
||||||
|
# Top-level grouping. Other templates (create-microservice, application-renovation-factory)
|
||||||
|
# use an EntityPicker filtered on kind:Domain to route workloads here.
|
||||||
|
apiVersion: backstage.io/v1alpha1
|
||||||
|
kind: Domain
|
||||||
|
metadata:
|
||||||
|
name: cloud-platform
|
||||||
|
title: "Cloud Platform"
|
||||||
|
description: create demo cluster for public cloud
|
||||||
|
tags:
|
||||||
|
- domain
|
||||||
|
- aks
|
||||||
|
- azure
|
||||||
|
annotations:
|
||||||
|
gitea.kyndemo.live/repo-slug: "platform/cloud-platform"
|
||||||
|
cjot.io/cluster-status: "provisioning"
|
||||||
|
cjot.io/cluster-name: "bstage-cjot-dev-cloud-platform-aks"
|
||||||
|
cjot.io/cluster-endpoint: ""
|
||||||
|
cjot.io/cluster-resource-group: "bstage-cjot-dev"
|
||||||
|
cjot.io/cluster-subscription: "1e06e3e6-7ab6-41c9-a29c-dd8f55646b7e"
|
||||||
|
cjot.io/runner-identity: "cjot-cloud-platform-runner-identity"
|
||||||
|
cjot.io/humanitec-project: "domain-cloud-platform"
|
||||||
|
cjot.io/environments: "dev,staging,prod"
|
||||||
|
cjot.io/node-vm-size: "Standard_D4s_v5"
|
||||||
|
links:
|
||||||
|
- url: https://gitea.kyndemo.live/platform/cloud-platform
|
||||||
|
title: Domain Repository
|
||||||
|
icon: github
|
||||||
|
- url: "https://console.humanitec.dev/orgs/skillful-wild-chicken-2617/projects/domain-cloud-platform"
|
||||||
|
title: Humanitec Console
|
||||||
|
icon: dashboard
|
||||||
|
- url: "https://portal.azure.com/#@/resource/subscriptions/1e06e3e6-7ab6-41c9-a29c-dd8f55646b7e/resourceGroups/bstage-cjot-dev/providers/Microsoft.ContainerService/managedClusters/bstage-cjot-dev-cloud-platform-aks/overview"
|
||||||
|
title: AKS in Azure Portal
|
||||||
|
icon: cloud
|
||||||
|
spec:
|
||||||
|
owner: group:default/platform-lead
|
||||||
|
---
|
||||||
|
# ── System Entity ───────────────────────────────────────────────────────────
|
||||||
|
# Groups all workload Components deployed into this domain's cluster.
|
||||||
|
# Scaffolder templates set spec.system on new Components to this value.
|
||||||
|
apiVersion: backstage.io/v1alpha1
|
||||||
|
kind: System
|
||||||
|
metadata:
|
||||||
|
name: cloud-platform
|
||||||
|
title: "Cloud Platform Workloads"
|
||||||
|
description: >
|
||||||
|
Workloads deployed to the cloud-platform domain cluster
|
||||||
|
(bstage-cjot-dev-cloud-platform-aks).
|
||||||
|
tags:
|
||||||
|
- domain-workloads
|
||||||
|
- aks
|
||||||
|
annotations:
|
||||||
|
backstage.io/kubernetes-label-selector: "app.kubernetes.io/part-of=cloud-platform"
|
||||||
|
cjot.io/humanitec-project: "domain-cloud-platform"
|
||||||
|
spec:
|
||||||
|
owner: group:default/platform-lead
|
||||||
|
domain: cloud-platform
|
||||||
|
---
|
||||||
|
# ── AKS Cluster Resource ───────────────────────────────────────────────────
|
||||||
|
# Represents the physical AKS cluster. Templates can filter on
|
||||||
|
# kind:Resource, spec.type:kubernetes-cluster to find available clusters.
|
||||||
|
apiVersion: backstage.io/v1alpha1
|
||||||
|
kind: Resource
|
||||||
|
metadata:
|
||||||
|
name: cloud-platform-aks
|
||||||
|
title: "Cloud Platform AKS Cluster"
|
||||||
|
description: >
|
||||||
|
Dedicated AKS cluster for the cloud-platform domain
|
||||||
|
(Standard_D4s_v5, 1-4 nodes).
|
||||||
|
tags:
|
||||||
|
- azure
|
||||||
|
- aks
|
||||||
|
- kubernetes
|
||||||
|
- domain-cluster
|
||||||
|
annotations:
|
||||||
|
cjot.io/cluster-name: "bstage-cjot-dev-cloud-platform-aks"
|
||||||
|
cjot.io/cluster-resource-group: "bstage-cjot-dev"
|
||||||
|
cjot.io/cluster-subscription: "1e06e3e6-7ab6-41c9-a29c-dd8f55646b7e"
|
||||||
|
cjot.io/runner-identity: "cjot-cloud-platform-runner-identity"
|
||||||
|
cjot.io/humanitec-project: "domain-cloud-platform"
|
||||||
|
cjot.io/node-vm-size: "Standard_D4s_v5"
|
||||||
|
cjot.io/node-count-min: "1"
|
||||||
|
cjot.io/node-count-max: "4"
|
||||||
|
cjot.io/environments: "dev,staging,prod"
|
||||||
|
backstage.io/kubernetes-cluster: "bstage-cjot-dev-cloud-platform-aks"
|
||||||
|
links:
|
||||||
|
- url: "https://portal.azure.com/#@/resource/subscriptions/1e06e3e6-7ab6-41c9-a29c-dd8f55646b7e/resourceGroups/bstage-cjot-dev/providers/Microsoft.ContainerService/managedClusters/bstage-cjot-dev-cloud-platform-aks/overview"
|
||||||
|
title: Azure Portal
|
||||||
|
icon: cloud
|
||||||
|
- url: "https://console.humanitec.dev/orgs/skillful-wild-chicken-2617/projects/domain-cloud-platform"
|
||||||
|
title: Humanitec Console
|
||||||
|
icon: dashboard
|
||||||
|
spec:
|
||||||
|
type: kubernetes-cluster
|
||||||
|
owner: group:default/platform-lead
|
||||||
|
system: cloud-platform
|
||||||
|
dependsOn:
|
||||||
|
- resource:default/cjot-acr
|
||||||
Reference in New Issue
Block a user