Browse Source

0x76.dev: deploy

main
Victor Roest 1 year ago
parent
commit
4a843e5472
Signed by: 0x76 GPG Key ID: A3923C699D1A3BDA
  1. 53
      cluster/apps/presidential-paradise/0x76.dev/0x76.yaml
  2. 4
      cluster/apps/presidential-paradise/0x76.dev/kustomization.yaml
  3. 1
      cluster/apps/presidential-paradise/kustomization.yaml

53
cluster/apps/presidential-paradise/0x76.dev/0x76.yaml

@ -0,0 +1,53 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: 0x76.dev
namespace: presidential-paradise
labels:
app: 0x76.dev
spec:
replicas: 1
selector:
matchLabels:
app: 0x76.dev
template:
metadata:
labels:
app: 0x76.dev
spec:
containers:
- name: 0x76.dev
image: registry.xirion.net/library/0x76.dev
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: 0x76.dev-service
namespace: presidential-paradise
spec:
selector:
app: 0x76.dev
ports:
- protocol: TCP
port: 8080
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: 0x76.dev-ingress
namespace: presidential-paradise
spec:
ingressClassName: "traefik"
rules:
- host: "0x76.dev"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: 0x76.dev-service
port:
number: 8080

4
cluster/apps/presidential-paradise/0x76.dev/kustomization.yaml

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

1
cluster/apps/presidential-paradise/kustomization.yaml

@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- xirion-registry-creds.yaml
- 0x76.dev
- wooloofanclub
- zookeeper