generated from arafkarsh/ms-springboot-324-java-22-jakarta-ee-10
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kubernetes ConfigMaps, External Database Service & tools
- Loading branch information
Araf Karsh Hamid
committed
Jan 21, 2025
1 parent
ca2a629
commit 9d7946f
Showing
18 changed files
with
379 additions
and
24 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: vanilla-configmap-active | ||
data: | ||
spring.profiles.active: prod |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: database-service | ||
spec: | ||
type: ExternalName | ||
externalName: 192.168.5.1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
#--------------------------------------------------------------- | ||
# Vanilla Microservice Kubernetes Utils | ||
# Araf Karsh Hamid, (c) Copyright 2025 | ||
# License: Apache 2.0 | ||
# Version 0.01 | ||
#--------------------------------------------------------------- | ||
|
||
source utils/colimaStatus | ||
|
||
echo "Deploy the App..." | ||
kubectl create -f Yamls/vanilla-deploy.yaml |
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,12 @@ | ||
#!/bin/bash | ||
#--------------------------------------------------------------- | ||
# Vanilla Microservice Kubernetes Utils | ||
# Araf Karsh Hamid, (c) Copyright 2025 | ||
# License: Apache 2.0 | ||
# Version 0.01 | ||
#--------------------------------------------------------------- | ||
|
||
source utils/colimaStatus | ||
|
||
echo "Describe $1 and the component $2" | ||
kubectl describe $1 $2 |
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,12 @@ | ||
#!/bin/bash | ||
#--------------------------------------------------------------- | ||
# Vanilla Microservice Kubernetes Utils | ||
# Araf Karsh Hamid, (c) Copyright 2025 | ||
# License: Apache 2.0 | ||
# Version 0.01 | ||
#--------------------------------------------------------------- | ||
|
||
source utils/colimaStatus | ||
|
||
echo "Check Events" | ||
kubectl get events --sort-by='.metadata.creationTimestamp' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
#--------------------------------------------------------------- | ||
# Vanilla Microservice Kubernetes Utils | ||
# Araf Karsh Hamid, (c) Copyright 2025 | ||
# License: Apache 2.0 | ||
# Version 0.01 | ||
#--------------------------------------------------------------- | ||
|
||
source utils/colimaStatus | ||
|
||
echo "Restart all the pods of Vanilla Deployment" | ||
kubectl rollout restart deployment vanilla-deployment |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# ======================================================================= | ||
# MS-Vanilla Service Properties | ||
# ======================================================================= | ||
build.number=211 | ||
build.date=Tue Jan 21 10:05:58 IST 2025 | ||
build.number=212 | ||
build.date=Tue Jan 21 18:03:47 IST 2025 |
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
Oops, something went wrong.