diff --git a/example-app/example-php-docker-helloworld-deployment.yaml b/example-app/example-php-docker-helloworld-deployment.yaml new file mode 100644 index 0000000..aca9bcf --- /dev/null +++ b/example-app/example-php-docker-helloworld-deployment.yaml @@ -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 \ No newline at end of file diff --git a/example-app/svc.yaml b/example-app/svc.yaml new file mode 100644 index 0000000..ed97be9 --- /dev/null +++ b/example-app/svc.yaml @@ -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 \ No newline at end of file