diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-10-25 14:27:35 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-10-25 14:27:35 -0400 |
| commit | 5ce079929947aca4c8691a1cf8aaea1c2654c538 (patch) | |
| tree | f3ce46c7c44f84cbda0225bd4b2ab62d0d8507d1 | |
| parent | aae86a49db014d6f764bf7cd4172faaf09592fc6 (diff) | |
| download | x-5ce079929947aca4c8691a1cf8aaea1c2654c538.tar.xz x-5ce079929947aca4c8691a1cf8aaea1c2654c538.zip | |
kube/alrest: add amano and stealthmontain k8s config
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | Earthfile | 2 | ||||
| -rw-r--r-- | cmd/amano/diagram.jpg | bin | 0 -> 118188 bytes | |||
| -rw-r--r-- | kube/alrest/x/amano/deployment.yaml | 36 | ||||
| -rw-r--r-- | kube/alrest/x/amano/kustomization.yaml | 2 | ||||
| -rw-r--r-- | kube/alrest/x/kustomization.yaml | 2 | ||||
| -rw-r--r-- | kube/alrest/x/stealthmountain/1password.yaml | 8 | ||||
| -rw-r--r-- | kube/alrest/x/stealthmountain/deployment.yaml | 39 | ||||
| -rw-r--r-- | kube/alrest/x/stealthmountain/kustomization.yaml | 3 |
8 files changed, 92 insertions, 0 deletions
@@ -240,6 +240,7 @@ xedn: all: BUILD --platform=linux/amd64 +aerial + BUILD --platform=linux/amd64 +amano BUILD --platform=linux/amd64 +aura BUILD --platform=linux/amd64 +future-sight BUILD --platform=linux/amd64 +hdrwtch @@ -249,6 +250,7 @@ all: BUILD --platform=linux/amd64 +relayd BUILD --platform=linux/amd64 +sanguisuga BUILD --platform=linux/amd64 +sapientwindex + BUILD --platform=linux/amd64 +stealthmountain BUILD --platform=linux/amd64 +todayinmarch2020 BUILD --platform=linux/amd64 +within-website BUILD --platform=linux/amd64 +xedn diff --git a/cmd/amano/diagram.jpg b/cmd/amano/diagram.jpg Binary files differnew file mode 100644 index 0000000..9862125 --- /dev/null +++ b/cmd/amano/diagram.jpg diff --git a/kube/alrest/x/amano/deployment.yaml b/kube/alrest/x/amano/deployment.yaml new file mode 100644 index 0000000..f5b8c1e --- /dev/null +++ b/kube/alrest/x/amano/deployment.yaml @@ -0,0 +1,36 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: amano +spec: + selector: + matchLabels: + app: amano + template: + metadata: + labels: + app: amano + spec: + containers: + - name: amano + image: ghcr.io/xe/x/amano + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + runAsNonRoot: true + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + seccompProfile: + type: RuntimeDefault + resources: + limits: + memory: "512Mi" + cpu: "2" + requests: + memory: "256Mi" + cpu: "2" + env: + - name: "NATS_URL" + value: "nats://nats.future-sight.svc.alrest.xeserv.us:4222" diff --git a/kube/alrest/x/amano/kustomization.yaml b/kube/alrest/x/amano/kustomization.yaml new file mode 100644 index 0000000..ff6d7ee --- /dev/null +++ b/kube/alrest/x/amano/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - deployment.yaml
\ No newline at end of file diff --git a/kube/alrest/x/kustomization.yaml b/kube/alrest/x/kustomization.yaml index 61f10bd..567568e 100644 --- a/kube/alrest/x/kustomization.yaml +++ b/kube/alrest/x/kustomization.yaml @@ -1,8 +1,10 @@ resources: + - amano - future-sight - hlang - mi - mimi - sapientwindex + #- stealthmountain - todayinmarch2020 - within.website
\ No newline at end of file diff --git a/kube/alrest/x/stealthmountain/1password.yaml b/kube/alrest/x/stealthmountain/1password.yaml new file mode 100644 index 0000000..8c9788a --- /dev/null +++ b/kube/alrest/x/stealthmountain/1password.yaml @@ -0,0 +1,8 @@ +apiVersion: onepassword.com/v1 +kind: OnePasswordItem +metadata: + name: bsky-stealth-mountain + labels: + app: stealthmountain +spec: + itemPath: "vaults/Kubernetes/items/Tigris creds"
\ No newline at end of file diff --git a/kube/alrest/x/stealthmountain/deployment.yaml b/kube/alrest/x/stealthmountain/deployment.yaml new file mode 100644 index 0000000..3e26a65 --- /dev/null +++ b/kube/alrest/x/stealthmountain/deployment.yaml @@ -0,0 +1,39 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: stealthmountain +spec: + selector: + matchLabels: + app: stealthmountain + template: + metadata: + labels: + app: stealthmountain + spec: + containers: + - name: stealthmountain + image: ghcr.io/xe/x/stealthmountain + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + runAsNonRoot: true + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + seccompProfile: + type: RuntimeDefault + resources: + limits: + memory: "512Mi" + cpu: "500m" + requests: + memory: "256Mi" + cpu: "250m" + env: + - name: "NATS_URL" + value: "nats://nats.future-sight.svc.alrest.xeserv.us:4222" + envFrom: + - secretRef: + name: bsky-stealth-mountain diff --git a/kube/alrest/x/stealthmountain/kustomization.yaml b/kube/alrest/x/stealthmountain/kustomization.yaml new file mode 100644 index 0000000..8d2d2c7 --- /dev/null +++ b/kube/alrest/x/stealthmountain/kustomization.yaml @@ -0,0 +1,3 @@ +resources: + - 1password.yaml + - deployment.yaml
\ No newline at end of file |
