This commit is contained in:
Vassiliy Yegorov
2021-05-06 15:02:42 +07:00
commit 05b0d36bb3
16 changed files with 260 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: myapp
labels:
app: myapp
name: myapp
spec:
replicas: 1
selector:
matchLabels:
app: myapp
strategy:
type: Recreate
template:
metadata:
labels:
app: myapp
spec:
hostname: app-pod
restartPolicy: Always
containers:
- name: app-fpm
image: vasyakrg/php-app
imagePullPolicy: Always
ports:
- containerPort: 80