Skip to content
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
1 change: 1 addition & 0 deletions App/frontend-app/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
14 changes: 7 additions & 7 deletions Deployment/resourcedeployment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -917,32 +917,32 @@ try {
# 2. Build and push the images to Azure Container Registry
# 2-1. Build and push the AI Service container image to Azure Container Registry
#$acrAIServiceTag = "$($deploymentResult.AzContainerRegistryName).azurecr.io/$acrNamespace/aiservice"
docker build ..\App\backend-api\. --no-cache -t $acrAIServiceTag
docker build "../App/backend-api/." --no-cache -t $acrAIServiceTag
docker push $acrAIServiceTag

# 2-2. Build and push the Kernel Memory Service container image to Azure Container Registry
#$acrKernelMemoryTag = "$($deploymentResult.AzContainerRegistryName).azurecr.io/$acrNamespace/kernelmemory"
docker build ..\App\kernel-memory\. --no-cache -t $acrKernelMemoryTag
docker build "../App/kernel-memory/." --no-cache -t $acrKernelMemoryTag
docker push $acrKernelMemoryTag

# 2-3. Build and push the Frontend App Service container image to Azure Container Registry
#$acrFrontAppTag = "$($deploymentResult.AzContainerRegistryName).azurecr.io/$acrNamespace/frontapp"
docker build ..\App\frontend-app\. --no-cache -t $acrFrontAppTag
docker build "../App/frontend-app/." --no-cache -t $acrFrontAppTag
docker push $acrFrontAppTag

#======================================================================================================================================================================

# 7.2. Deploy ClusterIssuer in Kubernetes for SSL/TLS certificate
kubectl apply -f .\kubernetes\deploy.certclusterissuer.yaml
kubectl apply -f "./kubernetes/deploy.certclusterissuer.yaml"

# 7.3. Deploy Deployment in Kubernetes
kubectl apply -f .\kubernetes\deploy.deployment.yaml -n $kubenamespace
kubectl apply -f "./kubernetes/deploy.deployment.yaml" -n $kubenamespace

# 7.4. Deploy Services in Kubernetes
kubectl apply -f .\kubernetes\deploy.service.yaml -n $kubenamespace
kubectl apply -f "./kubernetes/deploy.service.yaml" -n $kubenamespace

# 7.5. Deploy Ingress Controller in Kubernetes for external access
kubectl apply -f .\kubernetes\deploy.ingress.yaml -n $kubenamespace
kubectl apply -f "./kubernetes/deploy.ingress.yaml" -n $kubenamespace

# #####################################################################
# # Data file uploading
Expand Down