|
|
@@ -45,6 +45,10 @@ FACTORY PODS
|
|
45
|
45
|
kubectl apply -f postgres/01-postgres-configmap.yaml
|
|
46
|
46
|
kubectl apply -f postgres/02-postgres-storage.yaml
|
|
47
|
47
|
kubectl apply -f postgres/03-postgres-deployment.yaml
|
|
|
48
|
+kubectl get pods
|
|
|
49
|
+kubectl exec -it postgres-66d669bfd7-dnqgq -- dropdb -U postgres -h localhost factorytracedb
|
|
|
50
|
+kubectl exec -it postgres-66d669bfd7-dnqgq -- dropdb -U postgres -h localhost factorytracedb
|
|
|
51
|
+
|
|
48
|
52
|
kubectl exec -it postgres-66d669bfd7-dnqgq -- psql -h localhost -U factorytrace --password -p 5432 factorytracedb < /root/aslan_factorytrace20250225.sql
|
|
49
|
53
|
kubectl apply -f 01-restpod.yaml
|
|
50
|
54
|
kubectl apply -f 02-frontpod.yaml
|