Browse Source

Quito phpdev ya que no lo uso

main
Celestino Rey 3 years ago
parent
commit
2fbcc525fc
6 changed files with 0 additions and 115 deletions
  1. +0
    -2
      PHPDev/kustomization.yaml
  2. +0
    -15
      PHPDev/nginxphp_service.yaml
  3. +0
    -14
      PHPDev/php_fpm_service.yaml
  4. +0
    -60
      PHPDev/phpweb-deployment.yaml
  5. +0
    -11
      PHPDev/pv-local-nginxphp.yaml
  6. +0
    -13
      PHPDev/pvc-nginxphp.yaml

+ 0
- 2
PHPDev/kustomization.yaml View File

@ -1,2 +0,0 @@
resources:
- phpweb-deployment.yaml

+ 0
- 15
PHPDev/nginxphp_service.yaml View File

@ -1,15 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: nginxphp
labels:
tier: backend
spec:
selector:
app: nginxphp
tier: backend
ports:
- protocol: TCP
port: 80
externalIPs:
- 192.168.1.147

+ 0
- 14
PHPDev/php_fpm_service.yaml View File

@ -1,14 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: php
labels:
tier: backend
spec:
selector:
app: php
tier: backend
ports:
- protocol: TCP
port: 9000

+ 0
- 60
PHPDev/phpweb-deployment.yaml View File

@ -1,60 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: nginx-php-dev
spec:
type: NodePort
ports:
- name: http
port: 80
nodePort: 30050
targetPort: nginx-php-http
selector:
app: nginxphpdev
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nginxphp-pv-claim
labels:
app: nginxphpdev
spec:
accessModes:
- ReadWriteMany
storageClassName: ""
resources:
requests:
storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-php-dev
labels:
app: nginxphpdev
spec:
selector:
matchLabels:
app: nginxphpdev
tier: frontend
strategy:
type: Recreate
template:
metadata:
labels:
app: nginxphpdev
tier: frontend
spec:
containers:
- name: nginxphpdev
image: linuxserver/nginx
ports:
- containerPort: 80
name: "nginx-php-http"
volumeMounts:
- name: nginxphp-www-folder
mountPath: /config/www
volumes:
- name: nginxphp-www-folder
persistentVolumeClaim:
claimName: nginxphp-pv-claim

+ 0
- 11
PHPDev/pv-local-nginxphp.yaml View File

@ -1,11 +0,0 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: nginxphp-www-folder
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
hostPath:
path: "/mnt/cluster/nginxphp"

+ 0
- 13
PHPDev/pvc-nginxphp.yaml View File

@ -1,13 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nginxphp-pv-claim
labels:
app: nginxphp
spec:
accessModes:
- ReadWriteMany
storageClassName: ""
resources:
requests:
storage: 1Gi

Loading…
Cancel
Save