From 3847ffa3f7feb9cbd3bbf98483e94185ff584f6b Mon Sep 17 00:00:00 2001 From: Deepanshu Yadav Date: Mon, 27 Nov 2023 21:06:47 +0100 Subject: [PATCH] README Signed-off-by: Deepanshu Yadav --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index e4c1167..16deb08 100644 --- a/README.md +++ b/README.md @@ -169,3 +169,24 @@ kubectl apply -f node-service.yaml Repeat the same procedure you did with kubernetes to verify the app is running. # Vagrant and Ansible + +# Istio + +## Pre-requisites +Make sure the cluster is running. +Install istio using this [link](https://istio.io/latest/docs/setup/getting-started/#install). + +## Simple deployment + +``` +kubectl create ns node-mongo-istio +kubectl label namespace node-mongo-istio istio-injection=enabled + +cd istio/simple + +kubectl apply -f mongo-deploy.yaml -n node-mongo-istio +kubectl apply -f nodejsapp-deploy.yaml -n node-mongo-istio + +kubectl apply -f mongo-service.yaml -n node-mongo-istio +kubectl apply -f node-service.yaml -n node-mongo-istio +```