-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdeploy.txt
More file actions
135 lines (122 loc) · 6.19 KB
/
Copy pathdeploy.txt
File metadata and controls
135 lines (122 loc) · 6.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
╔════════════════════════════════════════════════════════╗
║ ERP/1: Підприємство / Kubernetes Dev Deployment ║
╚════════════════════════════════════════════════════════╝
[1/8] Setting up namespaces...
namespace/erp-security unchanged
namespace/erp-ai unchanged
namespace/erp-telemetry unchanged
namespace/erp-infra unchanged
namespace/erp-apps unchanged
namespace/erp-services unchanged
serviceaccount/erp-security-sa unchanged
role.rbac.authorization.k8s.io/erp-security-role unchanged
rolebinding.rbac.authorization.k8s.io/erp-security-rolebinding unchanged
serviceaccount/erp-ai-sa unchanged
role.rbac.authorization.k8s.io/erp-ai-role unchanged
rolebinding.rbac.authorization.k8s.io/erp-ai-rolebinding unchanged
serviceaccount/erp-telemetry-sa unchanged
role.rbac.authorization.k8s.io/erp-telemetry-role unchanged
rolebinding.rbac.authorization.k8s.io/erp-telemetry-rolebinding unchanged
serviceaccount/erp-infra-sa unchanged
role.rbac.authorization.k8s.io/erp-infra-role unchanged
rolebinding.rbac.authorization.k8s.io/erp-infra-rolebinding unchanged
serviceaccount/erp-apps-sa unchanged
role.rbac.authorization.k8s.io/erp-apps-role unchanged
rolebinding.rbac.authorization.k8s.io/erp-apps-rolebinding unchanged
serviceaccount/erp-services-sa unchanged
role.rbac.authorization.k8s.io/erp-services-role unchanged
rolebinding.rbac.authorization.k8s.io/erp-services-rolebinding unchanged
storageclass.storage.k8s.io/local-path unchanged
networkpolicy.networking.k8s.io/erp-deny-all unchanged
networkpolicy.networking.k8s.io/erp-deny-all unchanged
networkpolicy.networking.k8s.io/erp-deny-all unchanged
networkpolicy.networking.k8s.io/erp-deny-all unchanged
networkpolicy.networking.k8s.io/erp-deny-all unchanged
networkpolicy.networking.k8s.io/erp-allow-internal unchanged
networkpolicy.networking.k8s.io/erp-allow-internal unchanged
networkpolicy.networking.k8s.io/erp-allow-internal unchanged
networkpolicy.networking.k8s.io/erp-allow-internal unchanged
networkpolicy.networking.k8s.io/erp-allow-internal unchanged
networkpolicy.networking.k8s.io/erp-allow-internal unchanged
networkpolicy.networking.k8s.io/erp-deny-all unchanged
✓ Namespaces, RBAC, and network policies created
[2/8] Deploying erp-infra...
Deploying ns-dns to erp-infra...
deployment.apps/ns-dns configured
service/ns-dns configured
Deploying traefik-ingress to erp-infra...
serviceaccount/traefik unchanged
clusterrole.rbac.authorization.k8s.io/traefik-ingress-controller unchanged
clusterrolebinding.rbac.authorization.k8s.io/traefik-ingress-controller unchanged
deployment.apps/traefik configured
ingress.networking.k8s.io/erp-uno-ingress unchanged
Deploying docker-registry to erp-infra...
deployment.apps/docker-registry configured
service/docker-registry configured
[3/8] Deploying erp-telemetry...
Deploying prometheus to erp-telemetry...
statefulset.apps/prometheus configured
service/prometheus configured
Deploying grafana to erp-telemetry...
deployment.apps/grafana configured
service/grafana configured
Deploying otel-collector to erp-telemetry...
deployment.apps/otel-collector configured
configmap/otel-collector-config unchanged
service/otel-collector configured
[4/8] Deploying erp-security...
Deploying ca-pki to erp-security...
deployment.apps/ca-pki configured
service/ca-pki configured
Deploying ldap-directory to erp-security...
deployment.apps/ldap-directory configured
service/ldap-directory configured
[5/8] Deploying erp-ai...
Deploying ai-generation to erp-ai...
[6/8] Deploying erp-services...
Deploying kvs-database to erp-services...
Deploying bpe-engine to erp-services...
Deploying rest-bpe to erp-services...
Deploying n2o-server to erp-services...
[7/8] Deploying erp-apps...
Deploying lms-education to erp-apps...
deployment.apps/lms-education configured
service/lms-education configured
horizontalpodautoscaler.autoscaling/lms-education unchanged
Deploying hl7-health to erp-apps...
deployment.apps/hl7-health configured
service/hl7-health configured
horizontalpodautoscaler.autoscaling/hl7-health unchanged
Deploying crm-documents to erp-apps...
Deploying acc-accounting to erp-apps...
Deploying wms-warehouse to erp-apps...
Deploying cart-registers to erp-apps...
Deploying pm-projects to erp-apps...
Deploying itsm-incidents to erp-apps...
[8/8] Deployment Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
erp-infra: 3/3 pods running
erp-telemetry: 3/3 pods running
erp-security: 2/2 pods running
erp-ai: 0/0 pods running
erp-services: 0/4 pods running
erp-apps: 0/0 pods running
╔════════════════════════════════════════════════════════╗
║ Multi-Namespace Deployment Done ✓ ║
╚════════════════════════════════════════════════════════╝
📊 Check Status:\n
All pods: kubectl get pods -A
All namespaces: kubectl get ns
🌐 Access Services:\n
UI (Nitro): kubectl port-forward -n erp-services svc/nitro-portal 8510:8510
Prometheus: kubectl port-forward -n erp-telemetry svc/prometheus 9090:9090
Grafana: kubectl port-forward -n erp-telemetry svc/grafana 3000:3000
Registry: kubectl port-forward -n erp-infra svc/docker-registry 5000:5000
📁 Namespace Organization:\n
erp-infra: ns-dns, docker-registry
erp-telemetry: prometheus, grafana, otel-collector
erp-security: ca-pki, vpn-wireguard, ias-auth, ldap-directory
erp-ai: ai-generation
erp-services: kvs-database, bpe-engine, rest-bpe, n2o-server, nitro-portal
erp-apps: lms-education, hl7-health, acc-accounting, wms-warehouse, cart-registers
erp-apps: crm-documents, pm-projects, itsm-incidents, chat-messenger