This repository was archived by the owner on Jul 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
129 additions
and
131 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: turingbot | ||
labels: | ||
name: turingbot | ||
spec: | ||
replicas: 1 | ||
# Selector and template are basically specifying "when i want to take an action, what do i want to target?" | ||
# in this case, we only want to target *this* container | ||
selector: | ||
matchLabels: | ||
name: turingbot | ||
template: | ||
metadata: | ||
labels: | ||
name: turingbot | ||
spec: | ||
containers: | ||
- name: turingbot | ||
image: turingbot | ||
imagePullPolicy: Never | ||
resources: | ||
limits: | ||
memory: '512Mi' | ||
cpu: '500m' |
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,35 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: mongodb | ||
spec: | ||
type: ClusterIP | ||
selector: | ||
name: mongodb | ||
ports: | ||
- port: 27017 | ||
targetPort: 27017 | ||
--- | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: mongodb | ||
spec: | ||
serviceName: mongodb | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
name: mongodb | ||
template: | ||
metadata: | ||
labels: | ||
name: mongodb | ||
spec: | ||
containers: | ||
- name: mongodb | ||
image: mongo:6.0 | ||
env: | ||
- name: MONGO_INITDB_ROOT_USERNAME | ||
value: root | ||
- name: MONGO_INITDB_ROOT_PASSWORD | ||
value: root |
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,3 @@ | ||
import {describe, it} from 'node:test'; | ||
// dynamic import statements are used to avoid side affects | ||
// this is all broken |