Initial version
This commit is contained in:
parent
a29c86f6a0
commit
0ce7f36585
35
kubernetes.yaml
Normal file
35
kubernetes.yaml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
items:
|
||||||
|
- apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: eancodeboek
|
||||||
|
name: ecb-service
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 5000
|
||||||
|
selector:
|
||||||
|
app: eancodeboek
|
||||||
|
- apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: eancodeboek
|
||||||
|
name: ecb-pod
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: docker.fokkinga.com/fokki200/ecb:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
|
name: ecb
|
||||||
|
ports:
|
||||||
|
- containerPort: 5000
|
||||||
|
protocol: TCP
|
||||||
|
enableServiceLinks: true
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: fokkinga-registry
|
||||||
|
restartPolicy: Always
|
||||||
Loading…
x
Reference in New Issue
Block a user