mirror of
https://github.com/bitinflow/laravel-docker-k8s.git
synced 2026-03-13 13:35:52 +00:00
update yaml files
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
apiVersion: extensions/v1beta1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
apiVersion: apps/v1beta1
|
|
||||||
metadata:
|
metadata:
|
||||||
name: laravel
|
name: laravel
|
||||||
spec:
|
spec:
|
||||||
@@ -21,7 +21,6 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
name: pathao-port
|
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumes:
|
volumes:
|
||||||
- name: app-secret
|
- name: app-secret
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"kind": "Namespace",
|
|
||||||
"apiVersion": "v1",
|
|
||||||
"metadata": {
|
|
||||||
"name": "laravel",
|
|
||||||
"labels": {
|
|
||||||
"name": "staging"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
kind: Secret
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: laravel-app-secret
|
name: laravel-app-secret
|
||||||
type: Opaque
|
type: Opaque
|
||||||
|
|||||||
@@ -1,12 +1,14 @@
|
|||||||
kind: Service
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: laravel-service
|
name: laravel-project
|
||||||
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
ports:
|
|
||||||
- name: pat-api-port
|
|
||||||
port: 80
|
|
||||||
targetPort: pathao-port
|
|
||||||
selector:
|
selector:
|
||||||
app: laravel-app
|
app: laravel-app
|
||||||
type: LoadBalancer
|
type: NodePort
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
Reference in New Issue
Block a user