-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ms-configuration-using-podtemplate
Signed-off-by: Neaj Morshad <[email protected]>
- Loading branch information
1 parent
d02b50e
commit bb301c9
Showing
3 changed files
with
241 additions
and
105 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
docs/examples/mssqlserver/configuration/custom-config-podtemplate.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,41 @@ | ||
apiVersion: kubedb.com/v1alpha2 | ||
kind: MSSQLServer | ||
metadata: | ||
name: custom-config-podtemplate | ||
namespace: demo | ||
spec: | ||
version: "2022-cu12" | ||
replicas: 1 | ||
tls: | ||
issuerRef: | ||
name: mssqlserver-ca-issuer | ||
kind: Issuer | ||
apiGroup: "cert-manager.io" | ||
clientTLS: false | ||
storageType: Durable | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: mssql | ||
env: | ||
- name: MSSQL_PID | ||
value: "Evaluation" | ||
- name: MSSQL_MEMORY_LIMIT_MB | ||
value: "2560" | ||
- name: MSSQL_LCID | ||
value: "1036" | ||
resources: | ||
requests: | ||
cpu: "500m" | ||
memory: "1.5Gi" | ||
limits: | ||
cpu: "3" | ||
memory: "6Gi" | ||
storage: | ||
storageClassName: "standard" | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
deletionPolicy: WipeOut |
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.