add: wooloofan.club (temp. whoami container)
This commit is contained in:
parent
862c914468
commit
5857b6512f
4 changed files with 62 additions and 0 deletions
|
@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- networking
|
- networking
|
||||||
|
- presidential-paradise
|
||||||
|
|
4
cluster/apps/presidential-paradise/kustomization.yaml
Normal file
4
cluster/apps/presidential-paradise/kustomization.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- wooloofanclub
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- wooloo.yaml
|
53
cluster/apps/presidential-paradise/wooloofanclub/wooloo.yaml
Normal file
53
cluster/apps/presidential-paradise/wooloofanclub/wooloo.yaml
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: wooloofan-club
|
||||||
|
namespace: presidential-paradise
|
||||||
|
labels:
|
||||||
|
app: wooloofan-club
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: wooloofan-club
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: wooloofan-club
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: wooloofan-club
|
||||||
|
image: containous/whoami
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: wooloofan-club-service
|
||||||
|
namespace: presidential-paradise
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: wooloofan-club
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: wooloofan-club-ingress
|
||||||
|
namespace: presidential-paradise
|
||||||
|
spec:
|
||||||
|
ingressClassName: "traefik"
|
||||||
|
rules:
|
||||||
|
- host: "wooloofan.club"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: wooloofan-club-service
|
||||||
|
port:
|
||||||
|
number: 80
|
Loading…
Reference in a new issue