######################################################################
####function: delete mc web mservice mservice-qing fileserver service
####author:danial_chen
####create date:2020-03
####modify date:2020-03
######################################################################

#!/bin/bash
set -e
pd=$PWD

#delete mc service
cd $pd/mc
kubectl delete -f .

#delete web service
cd $pd/web
kubectl delete -f .

#delete mservice service
cd $pd/mservice
kubectl delete -f .

#delete mservice-qing service
cd $pd/mservice-qing
kubectl delete -f .

#delete fileserver service
cd $pd/fileserver
kubectl delete -f .

echo "mc web mservice mservice-qing fileserver delete success!"
