diff --git a/k8s/gorush-aws-alb-ingress.yaml b/k8s/gorush-aws-alb-ingress.yaml index 9603c0ab..a0e34a94 100644 --- a/k8s/gorush-aws-alb-ingress.yaml +++ b/k8s/gorush-aws-alb-ingress.yaml @@ -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 diff --git a/k8s/gorush-deployment.yaml b/k8s/gorush-deployment.yaml index ea0acd22..d94b3215 100644 --- a/k8s/gorush-deployment.yaml +++ b/k8s/gorush-deployment.yaml @@ -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" diff --git a/k8s/gorush-redis-deployment.yaml b/k8s/gorush-redis-deployment.yaml index 68892532..349b3a63 100644 --- a/k8s/gorush-redis-deployment.yaml +++ b/k8s/gorush-redis-deployment.yaml @@ -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" diff --git a/k8s/gorush-redis-service.yaml b/k8s/gorush-redis-service.yaml index 5dd361a1..bd46233e 100644 --- a/k8s/gorush-redis-service.yaml +++ b/k8s/gorush-redis-service.yaml @@ -9,8 +9,8 @@ metadata: tier: backend spec: ports: - - port: 6379 - targetPort: 6379 + - port: 6379 + targetPort: 6379 selector: app: redis role: master diff --git a/k8s/gorush-service.yaml b/k8s/gorush-service.yaml index 8a68b161..6efdf94c 100644 --- a/k8s/gorush-service.yaml +++ b/k8s/gorush-service.yaml @@ -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