Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix mongo 5.0.0 crashes #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion Chapter07/pod.quiz.aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter07/pod.quiz.emptydir.init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter07/pod.quiz.emptydir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter07/pod.quiz.gcepd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter07/pod.quiz.hostpath.kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter07/pod.quiz.hostpath.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter07/pod.quiz.nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter07/pod.quiz.novolume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6

2 changes: 1 addition & 1 deletion Chapter07/pod.quiz2.gcepd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter08/pod.example-nfs-mongodb-with-nfs-volume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
path: /some/path
containers:
- name: mongodb
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
2 changes: 1 addition & 1 deletion Chapter08/pod.example-nfs-mongodb-with-pvc-volume.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
claimName: mongodb-claim
containers:
- name: mongodb
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
2 changes: 1 addition & 1 deletion Chapter08/pod.quiz-default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter08/pod.quiz-fast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter08/pod.quiz-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter08/pod.quiz.hostpath.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter08/pod.quiz.other-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter08/pod.quiz.pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter10/KIADA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter10/kiada-suite/quiz/pod.quiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter11/SETUP/quiz/pod.quiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- name: http
containerPort: 8080
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter11/pod.quiz-readiness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter12/SETUP/quiz/pod.quiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter13/SETUP/quiz/pod.quiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter14/SETUP/quiz/pod.quiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter14/deploy.quiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter15/SETUP/quiz/deploy.quiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
volumeMounts:
- name: quiz-data
mountPath: /data/db
Expand Down
2 changes: 1 addition & 1 deletion Chapter15/pod.quiz-data-importer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
name: quiz-questions
containers:
- name: mongoimport
image: mongo:5
image: mongo:4.4.6
command:
- mongoimport
- mongodb+srv://quiz-pods.kiada.svc.cluster.local/kiada?tls=false
Expand Down
2 changes: 1 addition & 1 deletion Chapter15/sts.quiz.0.2.onDelete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
command:
- mongod
- --bind_ip
Expand Down
2 changes: 1 addition & 1 deletion Chapter15/sts.quiz.0.2.partition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
command:
- mongod
- --bind_ip
Expand Down
2 changes: 1 addition & 1 deletion Chapter15/sts.quiz.0.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
command:
- mongod
- --bind_ip
Expand Down
2 changes: 1 addition & 1 deletion Chapter15/sts.quiz.orderedReady.readinessProbe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
path: /
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
command:
- mongod
- --bind_ip
Expand Down
2 changes: 1 addition & 1 deletion Chapter15/sts.quiz.orderedReady.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
command:
- mongod
- --bind_ip
Expand Down
2 changes: 1 addition & 1 deletion Chapter15/sts.quiz.pvcRetentionPolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
command:
- mongod
- --bind_ip
Expand Down
2 changes: 1 addition & 1 deletion Chapter15/sts.quiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
command:
- mongod
- --bind_ip
Expand Down
2 changes: 1 addition & 1 deletion Chapter17/SETUP/quiz/sts.quiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
path: /healthz/ready
scheme: HTTP
- name: mongo
image: mongo:5
image: mongo:4.4.6
command:
- mongod
- --bind_ip
Expand Down
2 changes: 1 addition & 1 deletion Chapter17/cj.aggregate-responses-daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
restartPolicy: OnFailure
containers:
- name: updater
image: mongo:5
image: mongo:4.4.6
command:
- mongosh
- mongodb+srv://quiz-pods.kiada.svc.cluster.local/kiada?tls=false
Expand Down
2 changes: 1 addition & 1 deletion Chapter17/cj.aggregate-responses-every-minute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
restartPolicy: OnFailure
containers:
- name: updater
image: mongo:5
image: mongo:4.4.6
command:
- mongosh
- mongodb+srv://quiz-pods.kiada.svc.cluster.local/kiada?tls=false
Expand Down
Loading