MCPcopy Index your code
hub / github.com/modelcontextprotocol/registry / DeployAll

Function DeployAll

deploy/pkg/k8s/deploy.go:11–49  ·  view source on GitHub ↗

DeployAll orchestrates the complete deployment of the MCP Registry to Kubernetes

(ctx *pulumi.Context, cluster *providers.ProviderInfo, backupStorage *providers.BackupStorageInfo, environment string)

Source from the content-addressed store, hash-verified

9
10// DeployAll orchestrates the complete deployment of the MCP Registry to Kubernetes
11func DeployAll(ctx *pulumi.Context, cluster *providers.ProviderInfo, backupStorage *providers.BackupStorageInfo, environment string) (service *corev1.Service, err error) {
12 // Setup cert-manager
13 err = SetupCertManager(ctx, cluster)
14 if err != nil {
15 return nil, err
16 }
17
18 // Setup ingress controller
19 ingressNginx, err := SetupIngressController(ctx, cluster, environment)
20 if err != nil {
21 return nil, err
22 }
23
24 // Deploy PostgreSQL databases
25 pgCluster, err := DeployPostgresDatabases(ctx, cluster, environment)
26 if err != nil {
27 return nil, err
28 }
29
30 // Deploy k8up backup operator
31 err = DeployK8up(ctx, cluster, environment, backupStorage)
32 if err != nil {
33 return nil, err
34 }
35
36 // Deploy MCP Registry
37 service, err = DeployMCPRegistry(ctx, cluster, environment, ingressNginx, pgCluster)
38 if err != nil {
39 return nil, err
40 }
41
42 // Deploy monitoring stack
43 err = DeployMonitoringStack(ctx, cluster, environment, ingressNginx)
44 if err != nil {
45 return nil, err
46 }
47
48 return service, nil
49}

Callers

nothing calls this directly

Calls 6

SetupCertManagerFunction · 0.85
SetupIngressControllerFunction · 0.85
DeployPostgresDatabasesFunction · 0.85
DeployK8upFunction · 0.85
DeployMCPRegistryFunction · 0.85
DeployMonitoringStackFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…