aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-01-17 13:56:26 -0500
committerXe Iaso <me@xeiaso.net>2025-01-17 13:56:26 -0500
commit24f2d9fc3ad65cca0c90661a94781b8b4db87dae (patch)
tree819199187b241c7d5ab9d175fa6829eb7a7293fb
parent9f4290268b6c6964dc221154cf478370195ffcf4 (diff)
downloadx-24f2d9fc3ad65cca0c90661a94781b8b4db87dae.tar.xz
x-24f2d9fc3ad65cca0c90661a94781b8b4db87dae.zip
kube/alrest/x: uncle-ted config
Signed-off-by: Xe Iaso <me@xeiaso.net>
-rw-r--r--kube/alrest/x/uncle-ted/deployment.yaml46
-rw-r--r--kube/alrest/x/uncle-ted/kustomization.yaml3
-rw-r--r--kube/alrest/x/uncle-ted/service.yaml14
3 files changed, 63 insertions, 0 deletions
diff --git a/kube/alrest/x/uncle-ted/deployment.yaml b/kube/alrest/x/uncle-ted/deployment.yaml
new file mode 100644
index 0000000..144d243
--- /dev/null
+++ b/kube/alrest/x/uncle-ted/deployment.yaml
@@ -0,0 +1,46 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: uncle-ted
+ labels:
+ app.kubernetes.io/name: uncle-ted
+ annotations:
+ keel.sh/policy: all
+ keel.sh/trigger: poll
+ keel.sh/pollSchedule: "@hourly"
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app.kubernetes.io/name: uncle-ted
+ template:
+ metadata:
+ labels:
+ app.kubernetes.io/name: uncle-ted
+ spec:
+ securityContext:
+ fsGroup: 1000
+ containers:
+ - name: main
+ image: ghcr.io/xe/x/uncle-ted:latest
+ imagePullPolicy: "Always"
+ env:
+ - name: GOMAXPROCS
+ value: "1"
+ resources:
+ limits:
+ cpu: "1m"
+ memory: "32Mi"
+ requests:
+ cpu: "1m"
+ memory: "32Mi"
+ securityContext:
+ runAsUser: 1000
+ runAsGroup: 1000
+ runAsNonRoot: true
+ allowPrivilegeEscalation: false
+ capabilities:
+ drop:
+ - ALL
+ seccompProfile:
+ type: RuntimeDefault \ No newline at end of file
diff --git a/kube/alrest/x/uncle-ted/kustomization.yaml b/kube/alrest/x/uncle-ted/kustomization.yaml
new file mode 100644
index 0000000..3a00c07
--- /dev/null
+++ b/kube/alrest/x/uncle-ted/kustomization.yaml
@@ -0,0 +1,3 @@
+resources:
+ - deployment.yaml
+ - service.yaml \ No newline at end of file
diff --git a/kube/alrest/x/uncle-ted/service.yaml b/kube/alrest/x/uncle-ted/service.yaml
new file mode 100644
index 0000000..4338046
--- /dev/null
+++ b/kube/alrest/x/uncle-ted/service.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: uncle-ted
+ labels:
+ app.kubernetes.io/name: uncle-ted
+spec:
+ selector:
+ app.kubernetes.io/name: uncle-ted
+ ports:
+ - port: 80
+ targetPort: 2836
+ name: http
+ type: ClusterIP \ No newline at end of file