-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from linkernetworks/d3d/update-deployment-config
Update deployment config Former-commit-id: c40a9eed6b2fb32408855b6ead7c2ca4ae15e82e [formerly c40a9eed6b2fb32408855b6ead7c2ca4ae15e82e [formerly 8fbbaa3]] Former-commit-id: acf620fdf8fe662122b576e44185d5e948ffcd0f Former-commit-id: d69ceb1
- Loading branch information
Showing
4 changed files
with
54 additions
and
15 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,38 @@ | ||
apiVersion: apps/v1beta1 | ||
kind: StatefulSet | ||
metadata: | ||
name: mongo | ||
spec: | ||
serviceName: "mongo" | ||
replicas: 1 | ||
template: | ||
metadata: | ||
labels: | ||
service: mongo | ||
role: db | ||
spec: | ||
terminationGracePeriodSeconds: 10 | ||
containers: | ||
- name: mongo | ||
resources: | ||
requests: | ||
cpu: 100m | ||
image: mongo | ||
command: | ||
- mongod | ||
- "--bind_ip" | ||
- 0.0.0.0 | ||
ports: | ||
- containerPort: 27017 | ||
volumeMounts: | ||
- name: mongodb | ||
mountPath: /data/db | ||
volumeClaimTemplates: | ||
- metadata: | ||
name: mongodb | ||
spec: | ||
accessModes: [ "ReadWriteOnce" ] | ||
storageClassName: "manual" | ||
resources: | ||
requests: | ||
storage: 10Gi |
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