Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Oct 24, 2024
1 parent c40cd78 commit 1d5d070
Show file tree
Hide file tree
Showing 18 changed files with 1,327 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ docs: hugo-tools
rm -rf static/files/cluster-api-provider-gcp
rm -rf static/files/products/appscode/aws-marketplace
rm -rf static/files/products/appscode/azure-marketplace
rm -rf static/files/products/appscode/gcp-marketplace

.PHONY: docs-skip-assets
docs-skip-assets: hugo-tools
Expand All @@ -28,6 +29,7 @@ assets: hugo-tools
rm -rf static/files/cluster-api-provider-gcp
rm -rf static/files/products/appscode/aws-marketplace
rm -rf static/files/products/appscode/azure-marketplace
rm -rf static/files/products/appscode/gcp-marketplace

.PHONY: gen
gen:
Expand Down
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: kubedb.com/v1alpha2
kind: MSSQLServer
metadata:
name: mssql-custom-config
namespace: demo
spec:
version: "2022-cu12"
configSecret:
name: ms-custom-config
replicas: 1
tls:
issuerRef:
name: mssqlserver-ca-issuer
kind: Issuer
apiGroup: "cert-manager.io"
clientTLS: false
storageType: Durable
storage:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
deletionPolicy: WipeOut
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[network]
tlsprotocols = 1.2
forceencryption = 1

[language]
lcid = 1036

[memory]
memorylimitmb = 2304
8 changes: 8 additions & 0 deletions content/docs/v2024.9.30/examples/mssqlserver/tls/issuer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: mssqlserver-ca-issuer
namespace: demo
spec:
ca:
secretName: mssqlserver-ca
35 changes: 35 additions & 0 deletions content/docs/v2024.9.30/examples/mssqlserver/tls/mssql-ag-tls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
apiVersion: kubedb.com/v1alpha2
kind: MSSQLServer
metadata:
name: mssql-ag-tls
namespace: demo
spec:
version: "2022-cu12"
replicas: 3
topology:
mode: AvailabilityGroup
availabilityGroup:
databases:
- agdb1
- agdb2
internalAuth:
endpointCert:
issuerRef:
apiGroup: cert-manager.io
name: mssqlserver-ca-issuer
kind: Issuer
tls:
issuerRef:
name: mssqlserver-ca-issuer
kind: Issuer
apiGroup: "cert-manager.io"
clientTLS: true
storageType: Durable
storage:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
deletionPolicy: WipeOut
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: kubedb.com/v1alpha2
kind: MSSQLServer
metadata:
name: mssql-standalone-tls
namespace: demo
spec:
version: "2022-cu12"
replicas: 1
storageType: Durable
tls:
issuerRef:
name: mssqlserver-ca-issuer
kind: Issuer
apiGroup: "cert-manager.io"
clientTLS: true
storage:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
deletionPolicy: WipeOut
Empty file modified content/docs/v2024.9.30/guides/mssqlserver/clustering/_index.md
100755 → 100644
Empty file.
Empty file modified content/docs/v2024.9.30/guides/mssqlserver/concepts/_index.md
100755 → 100644
Empty file.
22 changes: 22 additions & 0 deletions content/docs/v2024.9.30/guides/mssqlserver/configuration/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Run Microsoft SQL Server with Custom Configuration
menu:
docs_v2024.9.30:
identifier: ms-configuration
name: Custom Configuration
parent: guides-mssqlserver
weight: 30
menu_name: docs_v2024.9.30
info:
autoscaler: v0.33.0
cli: v0.48.0
dashboard: v0.24.0
installer: v2024.9.30
ops-manager: v0.35.0
provisioner: v0.48.0
schema-manager: v0.24.0
ui-server: v0.24.0
version: v2024.9.30
webhook-server: v0.24.0
---

Loading

0 comments on commit 1d5d070

Please sign in to comment.