first commit
This commit is contained in:
commit
c943e81b7b
14 changed files with 207 additions and 0 deletions
19
A3/base/deployment.yaml
Normal file
19
A3/base/deployment.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: A3
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: A3
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: A3
|
||||
spec:
|
||||
containers:
|
||||
- name: A3
|
||||
image: harbor.example.com/simple-demo/simple-demo:dev-placeholder
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
9
A3/base/kustomization.yaml
Normal file
9
A3/base/kustomization.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
|
||||
images:
|
||||
- name: harbor.example.com/simple-demo/simple-demo
|
||||
newTag: dev-placeholder
|
||||
13
A3/base/service.yaml
Normal file
13
A3/base/service.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: A3
|
||||
spec:
|
||||
selector:
|
||||
app: A3
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 3000
|
||||
protocol: TCP
|
||||
name: http
|
||||
type: ClusterIP
|
||||
Loading…
Add table
Add a link
Reference in a new issue