Merge pull request #116 from sirius0xdev/feat/siriusdevops-site-deploy

feat: deploy siriusdevops.com main site to GKE
This commit is contained in:
sirius0xdev 2026-05-15 11:02:01 -04:00 committed by GitHub
commit da0ad4b7b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 97 additions and 0 deletions

View file

@ -13,3 +13,18 @@ spec:
- name: n8n-service # The name of your Kubernetes Service
port: 80
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: siriusdevops-route
namespace: customer1
spec:
parentRefs:
- name: external-http-gateway
hostnames:
- "siriusdevops.com"
rules:
- backendRefs:
- name: siriusdevops-site-svc
port: 80

View file

@ -5,3 +5,4 @@ resources:
- namespace.yaml
- http-route.yaml
- service.yaml
- siriusdevops-site

View file

@ -0,0 +1,77 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: siriusdevops-site
namespace: customer1
spec:
replicas: 1
selector:
matchLabels:
app: siriusdevops-site
template:
metadata:
labels:
app: siriusdevops-site
spec:
containers:
- name: nginx
image: ghcr.io/sirius0xdev/siriusdevops:latest
imagePullPolicy: Always
ports:
- containerPort: 80
protocol: TCP
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
cpu: 50m
memory: 128Mi
startupProbe:
httpGet:
path: /
port: 80
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 30
successThreshold: 1
readinessProbe:
httpGet:
path: /
port: 80
scheme: HTTP
initialDelaySeconds: 3
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
livenessProbe:
httpGet:
path: /
port: 80
scheme: HTTP
initialDelaySeconds: 40
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
---
apiVersion: v1
kind: Service
metadata:
name: siriusdevops-site-svc
namespace: customer1
spec:
selector:
app: siriusdevops-site
ports:
- protocol: TCP
port: 80
targetPort: 80
type: ClusterIP

View file

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