Skip to content

Commit

Permalink
Merge pull request #312 from 48N6E/master
Browse files Browse the repository at this point in the history
update docs
  • Loading branch information
caojiajun authored Sep 6, 2024
2 parents bd0fc12 + e87ba05 commit 1bdedfc
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:

camellia_proxy_rw:
container_name: camellia_proxy_rw
image: 48n6e/camellia-redis-proxy:1.2.28-jdk-8-0.0.1
image: 48n6e/camellia-redis-proxy:1.2.29-jdk-8-0.0.1
volumes:
- "./application.yml:/opt/camellia-redis-proxy/BOOT-INF/classes/application.yml"
- "./resource-table.json:/opt/camellia-redis-proxy/BOOT-INF/classes/resource-table.json"
Expand Down
2 changes: 1 addition & 1 deletion docs/camellia-redis-proxy/deploy/docker/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

Verison="0.0.1"
CamelliaVersion="1.2.28"
CamelliaVersion="1.2.29"
JDK="22"
if [ 'X'$JDK == 'X8' ];then
docker build -f Dockerfile-jdk8 --build-arg CamelliaVersion=$CamelliaVersion -t "48n6e/camellia-redis-proxy:$CamelliaVersion-jdk-$JDK-$Verison" .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,40 @@ spec:
enableServiceLinks: false
containers:
- name: container-camellia
image: 48n6e/camellia-redis-proxy:1.2.28-jdk-22-0.0.1
image: 48n6e/camellia-redis-proxy:1.2.29-jdk-22-0.0.1
command:
- java
- "-XX:+UseG1GC"
- "-XX:+UseContainerSupport"
- "-Dio.netty.tryReflectionSetAccessible=true"
- "--add-opens"
- "java.base/java.lang=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.io=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.math=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.net=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.nio=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.security=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.text=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.time=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.util=ALL-UNNAMED"
- "--add-opens"
- "java.base/jdk.internal.access=ALL-UNNAMED"
- "--add-opens"
- "java.base/jdk.internal.misc=ALL-UNNAMED"
- "--add-opens"
- "java.base/sun.net.util=ALL-UNNAMED"
- "-Xms100m"
- "-Xmx4096m"
- "-server"
- "org.springframework.boot.loader.JarLauncher"
resources:
requests:
memory: "100Mi"
Expand Down
35 changes: 34 additions & 1 deletion docs/camellia-redis-proxy/deploy/kubernetes/camellia-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,40 @@ spec:
enableServiceLinks: false
containers:
- name: container-camellia
image: 48n6e/camellia-redis-proxy:1.2.28-jdk-22-0.0.1
image: 48n6e/camellia-redis-proxy:1.2.29-jdk-22-0.0.1
command:
- java
- "-XX:+UseG1GC"
- "-XX:+UseContainerSupport"
- "-Dio.netty.tryReflectionSetAccessible=true"
- "--add-opens"
- "java.base/java.lang=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.io=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.math=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.net=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.nio=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.security=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.text=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.time=ALL-UNNAMED"
- "--add-opens"
- "java.base/java.util=ALL-UNNAMED"
- "--add-opens"
- "java.base/jdk.internal.access=ALL-UNNAMED"
- "--add-opens"
- "java.base/jdk.internal.misc=ALL-UNNAMED"
- "--add-opens"
- "java.base/sun.net.util=ALL-UNNAMED"
- "-Xms128m"
- "-Xmx4096m"
- "-server"
- "org.springframework.boot.loader.JarLauncher"
resources:
requests:
memory: "128Mi"
Expand Down

0 comments on commit 1bdedfc

Please sign in to comment.