job's done

This commit is contained in:
2022-01-13 00:24:56 +00:00
commit dac0c5b0af
8 changed files with 293 additions and 0 deletions

41
002-deployment.yml Normal file
View File

@@ -0,0 +1,41 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: feladat
namespace: feladat
labels:
app: feladat
spec:
replicas: 1
selector:
matchLabels:
app: feladat
strategy:
type: Recreate
template:
metadata:
labels:
app: feladat
spec:
containers:
- name: feladat-apache
image: httpd:2
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
volumeMounts:
- name: config-volume
mountPath: /usr/local/apache2/htdocs/
resources:
requests:
memory: "128Mi"
cpu: "250m"
limits:
memory: "256Mi"
cpu: "500m"
volumes:
- name: config-volume
configMap:
name: feladat-config