Add example App
This commit is contained in:
parent
92db84e448
commit
eb54f2ed2a
20
example-app/example-php-docker-helloworld-deployment.yaml
Normal file
20
example-app/example-php-docker-helloworld-deployment.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: example-php-docker-helloworld
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: example-php-docker-helloworld
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: example-php-docker-helloworld
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: appuio/example-php-docker-helloworld
|
||||||
|
name: example-php-docker-helloworld
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
10
example-app/svc.yaml
Normal file
10
example-app/svc.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: example-php-docker-helloworld
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- port: 8080
|
||||||
|
targetPort: 8080
|
||||||
|
selector:
|
||||||
|
app: example-php-docker-helloworld
|
Loading…
x
Reference in New Issue
Block a user