Commit 78e2f22d authored by Geoff Simmons's avatar Geoff Simmons

Remove obsolete un/deploy script for the "clusterwise" example/test.

parent 77f6e994
#! /bin/bash -ex
# Delete the Varnish admin Service in namespace default.
# Otherwise the Service in kube-system is not unique in the cluster,
# and a Service for the Ingresses in the other namespaces cannot be
# determined.
kubectl delete -f ../../../deploy/admin-svc.yaml
kubectl apply -f namespace.yaml
kubectl apply -f rbac.yaml
kubectl apply -f coffee.yaml
kubectl apply -f tea.yaml
kubectl apply -f other.yaml
kubectl apply -f adm-secret.yaml
kubectl apply -f admin-svc.yaml
kubectl apply -f nodeport.yaml
kubectl apply -f varnish.yaml
kubectl apply -f coffee-ingress.yaml
kubectl apply -f tea-ingress.yaml
kubectl apply -f other-ingress.yaml
#! /bin/bash -ex
MYDIR=$(dirname ${BASH_SOURCE[0]})
source ${MYDIR}/../../../test/utils.sh
kubectl delete -f other-ingress.yaml
kubectl delete -f tea-ingress.yaml
kubectl delete -f coffee-ingress.yaml
kubectl delete -f varnish.yaml
kubectl delete -f nodeport.yaml
kubectl delete -f admin-svc.yaml
kubectl delete -f adm-secret.yaml
kubectl delete -f other.yaml
kubectl delete -f tea.yaml
kubectl delete -f coffee.yaml
kubectl delete -f rbac.yaml
kubectl delete -f namespace.yaml
# Restores the Varnish admin Service in namespace default.
kubectl apply -f ../../../deploy/admin-svc.yaml
echo Waiting until varnish-ingress Pods are ready
wait_until_ready app=varnish-ingress
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment