mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 12:02:47 +00:00
tga werke
This commit is contained in:
54
deploy.yaml
54
deploy.yaml
@@ -1,3 +1,5 @@
|
||||
#TODO ZORG ERVOOR DAT DEZE DEPLOYMENTS ENKEL DE CORRECTE ITEMS DEPLOYEN
|
||||
|
||||
# ---
|
||||
# apiVersion: v1
|
||||
# kind: Namespace
|
||||
@@ -5,32 +7,32 @@
|
||||
# name: istio-project-1
|
||||
# labels:
|
||||
# istio-injection: enabled #zorgt voor auto sidecar injection
|
||||
# ---
|
||||
# apiVersion: apps/v1
|
||||
# kind: Deployment
|
||||
# metadata:
|
||||
# name: server-a
|
||||
# namespace: istio-project-1
|
||||
# spec:
|
||||
# replicas: 1
|
||||
# selector:
|
||||
# matchLabels:
|
||||
# server: "http"
|
||||
# app: "project-1" #app label bepaald groepering pods in kiali dashboard dus makkelijker te gebruiken
|
||||
# expose: "true"
|
||||
# template:
|
||||
# metadata:
|
||||
# labels:
|
||||
# server: "http"
|
||||
# app: "project-1"
|
||||
# expose: "true"
|
||||
# spec:
|
||||
# containers:
|
||||
# - name: front-end
|
||||
# image: beppev/server-a:master
|
||||
# imagePullPolicy: "Always"
|
||||
# ports:
|
||||
# - containerPort: 5000
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: server-a
|
||||
namespace: istio-project-1
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
server: "http"
|
||||
app: "project-1" #app label bepaald groepering pods in kiali dashboard dus makkelijker te gebruiken
|
||||
expose: "true"
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
server: "http"
|
||||
app: "project-1"
|
||||
expose: "true"
|
||||
spec:
|
||||
containers:
|
||||
- name: front-end
|
||||
image: beppev/server-a:master
|
||||
imagePullPolicy: "Always"
|
||||
ports:
|
||||
- containerPort: 5000
|
||||
# ---
|
||||
# apiVersion: apps/v1
|
||||
# kind: Deployment
|
||||
|
Reference in New Issue
Block a user