Skip to content

Commit 305c98d

Browse files
Add Kubernetes deployment and service for tiny-http-probe; update Docker build workflow to limit platforms
1 parent a2ac5e7 commit 305c98d

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/docker-build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
push: true
2828
provenance: mode=max
29-
platforms: linux/amd64,linux/arm64,linux/arm/v7
29+
platforms: linux/amd64,linux/arm64
3030
sbom: true
3131
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}
3232
cache-to: type=inline
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,17 @@ spec:
3939
cpu: "50m"
4040
limits:
4141
memory: "64Mi"
42+
---
43+
apiVersion: v1
44+
kind: Service
45+
metadata:
46+
name: tiny-http-probe
47+
spec:
48+
type: LoadBalancer
49+
selector:
50+
app: tiny-http-probe
51+
ports:
52+
- name: http
53+
port: 80
54+
protocol: TCP
55+
targetPort: http

0 commit comments

Comments
 (0)