PHP Classes

File: deploy/app/deploy.yml

Recommend this page to a friend!
  Classes of Nahidul Hasan  >  Laravel Docker Kubernetes  >  deploy/app/deploy.yml  >  Download  
File: deploy/app/deploy.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Docker Kubernetes
Run a Laravel project using Docker and Kubernetes
Author: By
Last change:
Date: 6 months ago
Size: 683 bytes
 

Contents

Class file image Download
apiVersion: apps/v1beta1
kind: Deployment
metadata:
  name: laravel
  #namespace: laravel
spec:
  replicas: 1
  selector:
    matchLabels:
      app: laravel-app
  template:
    metadata:
      labels:
        app: laravel-app
    spec:
      containers:
      - name: laravel-app
        image: docker.io/nahid35/laravel:v4
        volumeMounts:
        - name: app-secret
          mountPath: "/var/www/html/secret"
          readOnly: true
        ports:
        - containerPort: 80
          name: pathao-port
          protocol: TCP
      volumes:
      - name: app-secret
        secret:
          secretName: laravel-app-secret
      imagePullSecrets:
      - name: regsecret
For more information send a message to info at phpclasses dot org.