Add application-set
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user