Server Cleanup
DIGIT Infrastructure - Cleanup & Uninstallation
Overview
Steps
1
Create seed data dump
kubectl get pods -n playgroundNAME READY STATUS RESTARTS AGE
playground-6c7f7b4c7b-rswb4 1/1 Running 0 15m
some-other-pod-name 1/1 Running 0 20mkubectl describe pod playground-6c7f7b4c7b-rswb4 -n playgroundkubectl exec -it playground-6c7f7b4c7b-rswb4 -n playground -- /bin/shkubectl exec -it playground-6c7f7b4c7b-rswb4 -n playground -- /bin/bashpg_dump --data-only -h {DATABASE_HOST} -p 5432 -U {DATABASE_USERNAME} -d {DB_NAME} -f seed_data_dump_1_7.sql \
--table=product_variant \
--table=product \
--table=boundary \
--table=boundary_hierarchy \
--table=boundary_relationship \
--table=eg_mdms_data \
--table=eg_mdms_schema_definitionexitkubectl cp playground/{PLAYGROUND_POD_NAME}:seed_data_dump_1_7.sql /home/seed_data_dump_v1.7.sqlWas this helpful?