feat(portfolio): add staging environment
This commit is contained in:
parent
0dda9f282d
commit
13ea8de355
11 changed files with 339 additions and 0 deletions
22
apps/portfolio/base/deployment.yaml
Normal file
22
apps/portfolio/base/deployment.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: portfolio
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: portfolio
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
labels:
|
||||
app: portfolio
|
||||
spec:
|
||||
containers:
|
||||
- image: registry.int.nc.landry.land/portfolio-site
|
||||
name: portfolio-site
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
restartPolicy: Always
|
||||
6
apps/portfolio/base/kustomization.yaml
Normal file
6
apps/portfolio/base/kustomization.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ./deployment.yaml
|
||||
- ./service.yaml
|
||||
13
apps/portfolio/base/service.yaml
Normal file
13
apps/portfolio/base/service.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
labels:
|
||||
name: syncthing
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: http
|
||||
selector:
|
||||
app: syncthing
|
||||
Loading…
Add table
Add a link
Reference in a new issue