-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new lab - registering Namespace and Applications (#84)
* updated byoa lab * updated build * updated GitOps * updated labs * removed old ci-cd * updated ds groups list * removed unused files * patch for http bug --------- Co-authored-by: ehoops-microsoft <[email protected]> Co-authored-by: Kevin Shah <[email protected]>
- Loading branch information
1 parent
7f57a9e
commit d490ddb
Showing
158 changed files
with
451 additions
and
25,565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
#!/bin/bash | ||
|
||
# Warning: this is a destructive command | ||
|
||
# This script will create a new cluster and deploy Res-Edge Data Service | ||
# Any prior data service changes will be overwritten and are not recoverable | ||
# Use the --force flag to make the database changes | ||
|
||
# a little protection | ||
if [ "$1" != "--force" ]; then | ||
echo "" | ||
echo "This is a destructive command that deletes your current cluster" | ||
econ "and creates a new cluster with Res-Edge Data Service deployed" | ||
echo "" | ||
echo "Usage: .devcontainer/deploy-res-edge.sh --force" | ||
echo "" | ||
exit 1 | ||
fi | ||
|
||
set -e | ||
|
||
cd "$KIC_BASE/deploy" || exit 1 | ||
|
||
# delete and create a new cluster | ||
kic cluster create | ||
|
||
# create the namespace | ||
kubectl apply -f ns.yaml | ||
|
||
# deploy SQL Server with sample data | ||
kubectl apply -k mssql | ||
|
||
# deploy monitoring and logging | ||
kubectl apply -k monitoring | ||
|
||
echo | ||
echo 'waiting for mssql pod to start' | ||
kubectl wait pod --all --for condition=ready -n api --timeout 60s | ||
|
||
echo | ||
echo 'waiting for database recovery' | ||
sleep 30 | ||
|
||
# deploy the Res-Edge Data Service | ||
kubectl apply -k api | ||
|
||
echo | ||
echo 'waiting for api pod to start' | ||
|
||
# wait for pod to start | ||
kubectl wait pod --all --for condition=ready -n api --timeout 60s | ||
|
||
# deploy webv | ||
kubectl apply -k webv | ||
|
||
echo | ||
echo "Waiting for pods to start" | ||
kubectl wait pod --all --for condition=ready -n logging --timeout 60s | ||
kubectl wait pod --all --for condition=ready -n monitoring --timeout 30s | ||
kubectl wait pod --all --for condition=ready -n api --timeout 60s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
clusters/central-la-nola-2301/flux-system/listeners/kustomization-imdb.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.