Skip to content

Commit

Permalink
chore: update dependencies and improve CI configurations
Browse files Browse the repository at this point in the history
- Update `gorush` container image from version `1.16.3` to `1.18.4`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jun 23, 2024
1 parent e814868 commit 343819e
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 54 deletions.
14 changes: 7 additions & 7 deletions k8s/gorush-aws-alb-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ metadata:
alb.ingress.kubernetes.io/security-groups: sg-71069b17
spec:
rules:
- host: gorush.example.com
http:
paths:
- path: /
backend:
serviceName: gorush
servicePort: 8088
- host: gorush.example.com
http:
paths:
- path: /
backend:
serviceName: gorush
servicePort: 8088
62 changes: 31 additions & 31 deletions k8s/gorush-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,34 @@ spec:
tier: frontend
spec:
containers:
- image: appleboy/gorush:1.16.3
name: gorush
imagePullPolicy: Always
ports:
- containerPort: 8088
resources:
requests:
cpu: "250m"
memory: "256Mi"
limits:
cpu: "500m"
memory: "512Mi"
livenessProbe:
httpGet:
path: /healthz
port: 8000
initialDelaySeconds: 3
periodSeconds: 3
env:
- name: GORUSH_STAT_ENGINE
valueFrom:
configMapKeyRef:
name: gorush-config
key: stat.engine
- name: GORUSH_STAT_REDIS_ADDR
valueFrom:
configMapKeyRef:
name: gorush-config
key: stat.redis.host
- name: GORUSH_CORE_PORT
value: "8000"
- image: appleboy/gorush:1.18.4
name: gorush
imagePullPolicy: Always
ports:
- containerPort: 8088
resources:
requests:
cpu: "250m"
memory: "256Mi"
limits:
cpu: "500m"
memory: "512Mi"
livenessProbe:
httpGet:
path: /healthz
port: 8000
initialDelaySeconds: 3
periodSeconds: 3
env:
- name: GORUSH_STAT_ENGINE
valueFrom:
configMapKeyRef:
name: gorush-config
key: stat.engine
- name: GORUSH_STAT_REDIS_ADDR
valueFrom:
configMapKeyRef:
name: gorush-config
key: stat.redis.host
- name: GORUSH_CORE_PORT
value: "8000"
22 changes: 11 additions & 11 deletions k8s/gorush-redis-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ spec:
tier: backend
spec:
containers:
- name: master
image: redis:7
ports:
- containerPort: 6379
resources:
requests:
cpu: "250m"
memory: "256Mi"
limits:
cpu: "500m"
memory: "512Mi"
- name: master
image: redis:7
ports:
- containerPort: 6379
resources:
requests:
cpu: "250m"
memory: "256Mi"
limits:
cpu: "500m"
memory: "512Mi"
4 changes: 2 additions & 2 deletions k8s/gorush-redis-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ metadata:
tier: backend
spec:
ports:
- port: 6379
targetPort: 6379
- port: 6379
targetPort: 6379
selector:
app: redis
role: master
Expand Down
6 changes: 3 additions & 3 deletions k8s/gorush-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ spec:
# if you want gorush to be accessible only within the cluster
# type: ClusterIP
ports:
- protocol: TCP
port: 80
targetPort: 8088
- protocol: TCP
port: 80
targetPort: 8088

0 comments on commit 343819e

Please sign in to comment.