añadido apolo
This commit is contained in:
41
apolo/deployments/deploy-app6.yaml
Normal file
41
apolo/deployments/deploy-app6.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: apolo-app6
|
||||
namespace: apolo
|
||||
labels:
|
||||
app.kubernetes.io/name: apolo-app6
|
||||
app.kubernetes.io/part-of: apolo
|
||||
app.kubernetes.io/component: app6
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: apolo-app6
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: apolo-app6
|
||||
app.kubernetes.io/part-of: apolo
|
||||
app.kubernetes.io/component: app6
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: harbor-cred
|
||||
containers:
|
||||
- name: app6
|
||||
image: harbor.c2et.com/xrf-ssl/xrf-app6:6.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: tcp-app6
|
||||
containerPort: 2525
|
||||
readinessProbe:
|
||||
tcpSocket: { port: 2525 }
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
tcpSocket: { port: 2525 }
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 20
|
||||
resources:
|
||||
requests: { cpu: "50m", memory: "64Mi" }
|
||||
limits: { cpu: "500m", memory: "256Mi" }
|
||||
Reference in New Issue
Block a user