This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mcpo-deployment
|
||||
labels:
|
||||
app: mcpo
|
||||
namespace: mcpo
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: mcpo
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: mcpo
|
||||
spec:
|
||||
containers:
|
||||
- name: mcpo
|
||||
image: git.aridgwayweb.com/armistace/mcpo:latest
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: mcpo
|
||||
namespace: mcpo
|
||||
spec:
|
||||
containers:
|
||||
- name: mcpo
|
||||
image: git.aridgwayweb.com/armistace/mcpo:latest
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mcpo-service
|
||||
namespace: mcpo
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: mcpo
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8000
|
||||
nodePort: 30026
|
||||
Reference in New Issue
Block a user