First commit
All checks were successful
Build tesses.net / build-and-push-image (push) Successful in 49s
All checks were successful
Build tesses.net / build-and-push-image (push) Successful in 49s
This commit is contained in:
27
kubernetes/deployment.yaml
Normal file
27
kubernetes/deployment.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: tessesdotnet
|
||||
labels:
|
||||
app: tessesdotnet
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: tessesdotnet
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: tessesdotnet
|
||||
spec:
|
||||
containers:
|
||||
- name: tessesdotnet
|
||||
image: git.tesses.org/tesses50/tessesdotnet:latest
|
||||
ports:
|
||||
- containerPort: 4206
|
||||
resources:
|
||||
requests:
|
||||
cpu: 200m
|
||||
memory: 500Mi
|
||||
limits:
|
||||
memory: 600Mi
|
||||
13
kubernetes/service.yaml
Normal file
13
kubernetes/service.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: tessesdotnet
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: tessesdotnet
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 30001
|
||||
targetPort: 4206
|
||||
nodePort: 30001
|
||||
Reference in New Issue
Block a user