Move to new server
This commit is contained in:
20
k8s/deployment.yaml
Normal file
20
k8s/deployment.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: swiss-client
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: swiss-client
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: swiss-client
|
||||
spec:
|
||||
containers:
|
||||
- name: swiss-client
|
||||
image: upquark/swiss-client:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 4000
|
||||
12
k8s/service.yaml
Normal file
12
k8s/service.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: swiss-client
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: swiss-client
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 4000
|
||||
nodePort: 30042
|
||||
Reference in New Issue
Block a user