-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
L9T3: K8S deployments of streamlit and fastapi (#16)
* change docker file config to add new images * fastapi and streamlit deployment * update readme with deployments * fix name of builder image * add servings to ci
- Loading branch information
1 parent
eb4e0f7
commit 0eca8ff
Showing
5 changed files
with
93 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: app-fastapi | ||
spec: | ||
replicas: 2 | ||
selector: | ||
matchLabels: | ||
app: app-fastapi | ||
template: | ||
metadata: | ||
labels: | ||
app: app-fastapi | ||
spec: | ||
containers: | ||
- name: app-fastapi | ||
image: yuriihavrylko/app-fastapi:latest | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: app-fastapi | ||
labels: | ||
app: app-fastapi | ||
spec: | ||
ports: | ||
- port: 8080 | ||
protocol: TCP | ||
selector: | ||
app: app-fastapi |
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,31 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: app-fastapi | ||
spec: | ||
replicas: 2 | ||
selector: | ||
matchLabels: | ||
app: app-fastapi | ||
template: | ||
metadata: | ||
labels: | ||
app: app-fastapi | ||
spec: | ||
containers: | ||
- name: app-fastapi | ||
image: yuriihavrylko/app-streamlit:latest | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: app-fastapi | ||
labels: | ||
app: app-fastapi | ||
spec: | ||
ports: | ||
- port: 8080 | ||
protocol: TCP | ||
selector: | ||
app: app-fastapi |