adding files for quickstart

- I'm going to reference them, but the testing for this repo does
  link validation up front, so the files need to exist in their final
  locations before the other PR can pass it's testing/validation.

Signed-off-by: Joe Heck <heckj@mac.com>
This commit is contained in:
Joe Heck 2018-11-10 12:57:04 -08:00
parent 25c1c126c8
commit c18449afb4
4 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,18 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: echoserver
namespace: default
spec:
replicas: 1
template:
metadata:
labels:
app: echoserver
spec:
containers:
- image: gcr.io/google_containers/echoserver:1.0
imagePullPolicy: Always
name: echoserver
ports:
- containerPort: 8080

View File

@ -0,0 +1,21 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: echoserver
namespace: default
annotations:
kubernetes.io/ingress.class: "nginx"
certmanager.k8s.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- echo.example.com
secretName: echoserver-tls
rules:
- host: echo.example.com
http:
paths:
- path: /
backend:
serviceName: echoserver
servicePort: 80

View File

@ -0,0 +1,21 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: echoserver
namespace: default
annotations:
kubernetes.io/ingress.class: "nginx"
# certmanager.k8s.io/cluster-issuer: "letsencrypt-prod"
spec:
# tls:
# - hosts:
# - echo.example.com
# secretName: echoserver-tls
rules:
- host: quickstart.example.com
http:
paths:
- path: /
backend:
serviceName: echoserver
servicePort: 80

View File

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: echoserver
namespace: default
spec:
ports:
- port: 80
targetPort: 8080
protocol: TCP
selector:
app: echoserver