Compare commits

...

1 Commits

Author SHA1 Message Date
9ddb30771d add Kubernetes manifests
All checks were successful
Gitea Actions Demo / bake (push) Successful in 1m25s
2025-03-07 21:57:29 -06:00
3 changed files with 43 additions and 0 deletions

23
kustomize/deployment.yaml Normal file
View File

@ -0,0 +1,23 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: caas
spec:
replicas: 2
selector:
matchLabels:
app: caas
template:
metadata:
labels:
app: caas
spec:
containers:
- name: caas
image: git.kill0.net/ryanc/caas:latest
imagePullPolicy: Always
ports:
- name: http
containerPort: 80
protocol: TCP

View File

@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml

14
kustomize/service.yaml Normal file
View File

@ -0,0 +1,14 @@
---
apiVersion: v1
kind: Service
metadata:
name: caas
spec:
type: ClusterIP
selector:
app: caas
ports:
- name: http
port: 80
protocol: TCP
targetPort: http