Skip to content

update brpc demo scripts #251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion demo/metaprotocol-brpc/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
# limitations under the License.

BASEDIR=$(dirname "$0")
source $BASEDIR/../common_func.sh

kubectl create ns meta-brpc
kubectl label namespace meta-brpc istio-injection=enabled --overwrite=true
LabelIstioInjectLabel meta-brpc

kubectl apply -f $BASEDIR/brpc-protocol.yaml -n meta-brpc
kubectl apply -f $BASEDIR/../../k8s/aeraki-bootstrap-config.yaml -n meta-brpc
kubectl apply -f $BASEDIR/brpc-sample.yaml -n meta-brpc
kubectl apply -f $BASEDIR/service.yaml -n meta-brpc
1 change: 1 addition & 0 deletions demo/metaprotocol-brpc/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

BASEDIR=$(dirname "$0")

kubectl delete -f $BASEDIR/brpc-protocol.yaml -n meta-brpc
kubectl delete -f $BASEDIR/brpc-sample.yaml -n meta-brpc
kubectl delete -f $BASEDIR/service.yaml -n meta-brpc
kubectl delete ns meta-brpc