Skip to content

Commit

Permalink
fix: base image version to 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
h-r-k-matsumoto committed Sep 22, 2024
1 parent b1581f9 commit c66d99f
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 56 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder
WORKDIR /go/src/github.com/rakutentech/passenger-go-exporter

COPY go.mod go.sum ./
Expand Down
111 changes: 56 additions & 55 deletions test/kubernetes/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,60 +19,61 @@ spec:
labels:
app: example
spec:
replicas: 0
volumes:
- name: tmp
emptyDir: {}
- name: tmp
emptyDir: {}
containers:
- name: example
image: example
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
name: http
protocol: TCP
livenessProbe:
httpGet:
path: /
port: 3000
readinessProbe:
timeoutSeconds: 2
httpGet:
path: /
port: 3000
env:
- name: PASSENGER_INSTANCE_REGISTRY_DIR
value: /tmp/ruby
volumeMounts:
- mountPath: /tmp/ruby
name: tmp
- name: passenger-exporter
image: passenger-exporter
imagePullPolicy: IfNotPresent
env:
- name: PASSENGER_INSTANCE_REGISTRY_DIR
value: /tmp/ruby
ports:
- containerPort: 9768
name: http
protocol: TCP
livenessProbe:
initialDelaySeconds: 10
timeoutSeconds: 2
httpGet:
path: /health
port: 9768
readinessProbe:
timeoutSeconds: 1
httpGet:
path: /health
port: 9768
resources:
limits:
cpu: 20m
memory: 60Mi
requests:
cpu: 20m
memory: 60Mi
volumeMounts:
- mountPath: /tmp/ruby
name: tmp
- name: example
image: example
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
name: http
protocol: TCP
livenessProbe:
httpGet:
path: /
port: 3000
readinessProbe:
timeoutSeconds: 2
httpGet:
path: /
port: 3000
env:
- name: PASSENGER_INSTANCE_REGISTRY_DIR
value: /tmp/ruby
volumeMounts:
- mountPath: /tmp/ruby
name: tmp
- name: passenger-exporter
image: passenger-exporter
imagePullPolicy: IfNotPresent
env:
- name: PASSENGER_INSTANCE_REGISTRY_DIR
value: /tmp/ruby
ports:
- containerPort: 9768
name: http
protocol: TCP
livenessProbe:
initialDelaySeconds: 10
timeoutSeconds: 2
httpGet:
path: /health
port: 9768
readinessProbe:
timeoutSeconds: 1
httpGet:
path: /health
port: 9768
resources:
limits:
cpu: 20m
memory: 60Mi
requests:
cpu: 20m
memory: 60Mi
volumeMounts:
- mountPath: /tmp/ruby
name: tmp

0 comments on commit c66d99f

Please sign in to comment.