Initial scaffold: Go service, Helm chart, Kustomize overlays

This commit is contained in:
rod
2026-05-17 11:59:53 +02:00
commit 7f031a7848
13 changed files with 254 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-svc
spec:
replicas: 3
template:
spec:
containers:
- name: hello-svc
env:
- name: APP_ENV
value: prod
- name: LOG_LEVEL
value: info
resources:
requests:
cpu: 100m
memory: 64Mi
limits:
cpu: 500m
memory: 128Mi
+11
View File
@@ -0,0 +1,11 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: prod
resources:
- ../../base
- namespace.yaml
patches:
- path: deployment-patch.yaml
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: prod