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:
parent
25c1c126c8
commit
c18449afb4
18
docs/tutorials/quick-start/echoserver/deployment.yaml
Normal file
18
docs/tutorials/quick-start/echoserver/deployment.yaml
Normal 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
|
||||
21
docs/tutorials/quick-start/echoserver/ingress-tls.yaml
Normal file
21
docs/tutorials/quick-start/echoserver/ingress-tls.yaml
Normal 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
|
||||
21
docs/tutorials/quick-start/echoserver/ingress.yaml
Normal file
21
docs/tutorials/quick-start/echoserver/ingress.yaml
Normal 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
|
||||
12
docs/tutorials/quick-start/echoserver/service.yaml
Normal file
12
docs/tutorials/quick-start/echoserver/service.yaml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user