29 lines
574 B
YAML
29 lines
574 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: ${APP_NAME}
|
|
namespace: ${NAMESPACE}
|
|
labels:
|
|
app: ${APP_NAME}
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app: ${APP_NAME}
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: ${APP_NAME}
|
|
spec:
|
|
containers:
|
|
- name: ${APP_NAME}
|
|
image: ${REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}
|
|
ports:
|
|
- containerPort: 5173
|
|
resources:
|
|
requests:
|
|
memory: "256Mi"
|
|
cpu: "250m"
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "500m" |