-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with init-container when persistence is enabled (#636)
- Loading branch information
1 parent
f763a77
commit cf40f10
Showing
4 changed files
with
75 additions
and
24 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 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 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,46 @@ | ||
apiVersion: coherence.oracle.com/v1 | ||
kind: Coherence | ||
metadata: | ||
name: snapshot-cluster | ||
spec: | ||
role: one | ||
replicas: 1 | ||
image: ${TEST_APPLICATION_IMAGE} | ||
imagePullPolicy: ${TEST_IMAGE_PULL_POLICY} | ||
securityContext: | ||
runAsUser: 1000 | ||
runAsGroup: 1000 | ||
fsGroup: 1000 | ||
fsGroupChangePolicy: "OnRootMismatch" | ||
readinessProbe: | ||
initialDelaySeconds: 10 | ||
periodSeconds: 10 | ||
coherence: | ||
cacheConfig: test-cache-config.xml | ||
management: | ||
enabled: true | ||
persistence: | ||
mode: active | ||
persistentVolumeClaim: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 2Gi | ||
snapshots: | ||
persistentVolumeClaim: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 2Gi | ||
jvm: | ||
args: | ||
- "-Dcoherence.k8s.operator.health.logs=true" | ||
application: | ||
main: com.oracle.coherence.k8s.testing.RestServer | ||
ports: | ||
- name: management | ||
port: 30000 | ||
- name: rest | ||
port: 8080 |
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