Skip to content

Commit

Permalink
Merge pull request #150 from Sitecore/expedge/22.0.2.0002.668
Browse files Browse the repository at this point in the history
Add Sitecore Experience Edge Connector Container Deployment 22.0.2.0002.668
  • Loading branch information
sc-garvsudhirnair authored Apr 30, 2024
2 parents 5aa8762 + 8340973 commit 1ac33f7
Show file tree
Hide file tree
Showing 10 changed files with 198 additions and 0 deletions.
7 changes: 7 additions & 0 deletions compose/expedge/22.0/ltsc2022/.env-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Add the following environment variables to the Sitecore Platform .env file

VERSION=

TOPOLOGY=

XE_CONNECTION=
23 changes: 23 additions & 0 deletions compose/expedge/22.0/ltsc2022/docker-compose.xe.override.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: "2.4"
services:
cm:
image: sitecore-experience-edge-connector-${TOPOLOGY}-cm:${VERSION}
environment:
Sitecore_ConnectionStrings_ExperienceEdge: "${XE_CONNECTION}"
Sitecore_ExperienceEdge_DeliveryEndpoint_CircuitBreakerAttemptsBeforeBreak: "12"
Sitecore_ExperienceEdge_DeliveryEndpoint_CircuitBreakerDurationOfBreak: "00:15:00"
Sitecore_ExperienceEdge_DeliveryEndpoint_TransientFailureRetryCount: "3"
Sitecore_ExperienceEdge_DeliveryEndpoint_TransientFailureSleepTime: "00:00:10"
Sitecore_ExperienceEdge_EnableItemLanguageFallback: "false"
Sitecore_ExperienceEdge_EnableFieldLanguageFallback: "false"
Sitecore_ExperienceEdge_MaxExportEntitiesThreadCount: "20"
Sitecore_ExperienceEdge_MaxPublishThreadCount: "2"
Sitecore_ExperienceEdge_ExportEntitiesBufferSize: "500"
Sitecore_ExperienceEdge_ExportPublishEventsBatchSize: "150"
Sitecore_ExperienceEdge_LayoutService_ConfigName: "default"
Sitecore_ExperienceEdge_MaxMetadataCacheSize: "30MB"
Sitecore_ExperienceEdge_CheckDeltaStatusBatchSize: "250"
Sitecore_ExperienceEdge_AckCleanupTimeoutSeconds: "5"
Sitecore_ExperienceEdge_AckBatchWaitTimeoutSeconds: "120"
Sitecore_ExperienceEdge_AckWaitTimeoutSeconds: "600"
Sitecore_ExperienceEdge_MaxDependencyResolutionThreadCount: "5"
13 changes: 13 additions & 0 deletions k8s/expedge/22.0/ltsc2022/overrides/xm1/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

bases:
- ../../xm1

images:
- name: scr.sitecore.com/sxp/sitecore-xm1-cm
newName: "{registry}/sitecore-experience-edge-connector-xm1-cm"
newTag: tag

patchesStrategicMerge:
- patch-cm.xe.yaml
57 changes: 57 additions & 0 deletions k8s/expedge/22.0/ltsc2022/overrides/xm1/patch-cm.xe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: cm
spec:
selector:
matchLabels:
app: cm
template:
metadata:
labels:
app: cm
spec:
nodeSelector:
kubernetes.io/os: windows
containers:
- name: sitecore-xm1-cm
env:
- name: Sitecore_ConnectionStrings_ExperienceEdge
valueFrom:
secretKeyRef:
name: sitecore-experienceedge
key: sitecore-experienceedge-connection.txt
- name: Sitecore_ExperienceEdge_DeliveryEndpoint_CircuitBreakerAttemptsBeforeBreak
value: "12"
- name: Sitecore_ExperienceEdge_DeliveryEndpoint_CircuitBreakerDurationOfBreak
value: "00:15:00"
- name: Sitecore_ExperienceEdge_DeliveryEndpoint_TransientFailureRetryCount
value: "3"
- name: Sitecore_ExperienceEdge_DeliveryEndpoint_TransientFailureSleepTime
value: "00:00:10"
- name: Sitecore_ExperienceEdge_EnableItemLanguageFallback
value: "false"
- name: Sitecore_ExperienceEdge_EnableFieldLanguageFallback
value: "false"
- name: Sitecore_ExperienceEdge_MaxExportEntitiesThreadCount
value: "20"
- name: Sitecore_ExperienceEdge_MaxPublishThreadCount
value: "2"
- name: Sitecore_ExperienceEdge_ExportEntitiesBufferSize
value: "500"
- name: Sitecore_ExperienceEdge_ExportPublishEventsBatchSize
value: "150"
- name: Sitecore_ExperienceEdge_LayoutService_ConfigName
value: "default"
- name: Sitecore_ExperienceEdge_MaxMetadataCacheSize
value: "30MB"
- name: Sitecore_ExperienceEdge_CheckDeltaStatusBatchSize
value: "250"
- name: Sitecore_ExperienceEdge_AckCleanupTimeoutSeconds
value: "5"
- name: Sitecore_ExperienceEdge_AckBatchWaitTimeoutSeconds
value: "120"
- name: Sitecore_ExperienceEdge_AckWaitTimeoutSeconds
value: "600"
- name: Sitecore_ExperienceEdge_MaxDependencyResolutionThreadCount
value: "5"
14 changes: 14 additions & 0 deletions k8s/expedge/22.0/ltsc2022/overrides/xm1/secrets/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

bases:
- ../../../xm1/secrets

generatorOptions:
disableNameSuffixHash: true

secretGenerator:
- name: sitecore-experienceedge
files:
- sitecore-experienceedge-connection.txt

Empty file.
13 changes: 13 additions & 0 deletions k8s/expedge/22.0/ltsc2022/overrides/xp1/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

bases:
- ../../xp1

images:
- name: scr.sitecore.com/sxp/sitecore-xp1-cm
newName: "{registry}/sitecore-experience-edge-connector-xp1-cm"
newTag: tag

patchesStrategicMerge:
- patch-cm.xe.yaml
57 changes: 57 additions & 0 deletions k8s/expedge/22.0/ltsc2022/overrides/xp1/patch-cm.xe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: cm
spec:
selector:
matchLabels:
app: cm
template:
metadata:
labels:
app: cm
spec:
nodeSelector:
kubernetes.io/os: windows
containers:
- name: sitecore-xp1-cm
env:
- name: Sitecore_ConnectionStrings_ExperienceEdge
valueFrom:
secretKeyRef:
name: sitecore-experienceedge
key: sitecore-experienceedge-connection.txt
- name: Sitecore_ExperienceEdge_DeliveryEndpoint_CircuitBreakerAttemptsBeforeBreak
value: "12"
- name: Sitecore_ExperienceEdge_DeliveryEndpoint_CircuitBreakerDurationOfBreak
value: "00:15:00"
- name: Sitecore_ExperienceEdge_DeliveryEndpoint_TransientFailureRetryCount
value: "3"
- name: Sitecore_ExperienceEdge_DeliveryEndpoint_TransientFailureSleepTime
value: "00:00:10"
- name: Sitecore_ExperienceEdge_EnableItemLanguageFallback
value: "false"
- name: Sitecore_ExperienceEdge_EnableFieldLanguageFallback
value: "false"
- name: Sitecore_ExperienceEdge_MaxExportEntitiesThreadCount
value: "20"
- name: Sitecore_ExperienceEdge_MaxPublishThreadCount
value: "2"
- name: Sitecore_ExperienceEdge_ExportEntitiesBufferSize
value: "500"
- name: Sitecore_ExperienceEdge_ExportPublishEventsBatchSize
value: "150"
- name: Sitecore_ExperienceEdge_LayoutService_ConfigName
value: "default"
- name: Sitecore_ExperienceEdge_MaxMetadataCacheSize
value: "30MB"
- name: Sitecore_ExperienceEdge_CheckDeltaStatusBatchSize
value: "250"
- name: Sitecore_ExperienceEdge_AckCleanupTimeoutSeconds
value: "5"
- name: Sitecore_ExperienceEdge_AckBatchWaitTimeoutSeconds
value: "120"
- name: Sitecore_ExperienceEdge_AckWaitTimeoutSeconds
value: "600"
- name: Sitecore_ExperienceEdge_MaxDependencyResolutionThreadCount
value: "5"
14 changes: 14 additions & 0 deletions k8s/expedge/22.0/ltsc2022/overrides/xp1/secrets/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

bases:
- ../../../xp1/secrets

generatorOptions:
disableNameSuffixHash: true

secretGenerator:
- name: sitecore-experienceedge
files:
- sitecore-experienceedge-connection.txt

Empty file.

0 comments on commit 1ac33f7

Please sign in to comment.