feat: unify cwshed gateway with Belki pipeline
This commit is contained in:
1 parent
3abc291795
commit
6656484e4b
6 files changed
+83
-5
No files matched your search
@@ -0,0 +1,58 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: cwshed
|
||||
namespace: belki
|
||||
labels:
|
||||
app.kubernetes.io/name: cwshed
|
||||
app.kubernetes.io/part-of: belki-calculator
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: cwshed
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: cwshed
|
||||
app.kubernetes.io/part-of: belki-calculator
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: reg-nyan404
|
||||
containers:
|
||||
- name: cwshed
|
||||
image: reg.nyan404.ru/cwshed:6b74dfa
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 20
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: cwshed
|
||||
namespace: belki
|
||||
labels:
|
||||
app.kubernetes.io/part-of: belki-calculator
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: 10.12.0.204
|
||||
selector:
|
||||
app.kubernetes.io/name: cwshed
|
||||
ports:
|
||||
- name: http
|
||||
port: 8998
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
Reference in new issue
Block a user