Add application-set
This commit is contained in:
parent
10b6d0b2cd
commit
e161343abc
0
application-set/matrix-example/.gitkeep
Normal file
0
application-set/matrix-example/.gitkeep
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: matrix-application-1
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: matrix-application-1
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: matrix-application-1
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: quay.io/acend/example-web-go
|
||||||
|
name: matrix-application-1
|
||||||
|
ports:
|
||||||
|
- containerPort: 5000
|
12
application-set/matrix-git-example/application1/service.yaml
Normal file
12
application-set/matrix-git-example/application1/service.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: matrix-application-1
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- port: 5000
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 5000
|
||||||
|
selector:
|
||||||
|
app: matrix-application-1
|
||||||
|
type: ClusterIP
|
@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: matrix-application-2
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: matrix-application-2
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: matrix-application-2
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: quay.io/acend/example-web-go
|
||||||
|
name: matrix-application-2
|
||||||
|
ports:
|
||||||
|
- containerPort: 5000
|
12
application-set/matrix-git-example/application2/service.yaml
Normal file
12
application-set/matrix-git-example/application2/service.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: matrix-application-2
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- port: 5000
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 5000
|
||||||
|
selector:
|
||||||
|
app: matrix-application-2
|
||||||
|
type: ClusterIP
|
0
application-set/simple-example/.gitkeep
Normal file
0
application-set/simple-example/.gitkeep
Normal file
Loading…
x
Reference in New Issue
Block a user