Commit b3937d5e authored by Geoff Simmons's avatar Geoff Simmons

Fix the namespace example.

The admin Service was missing, and the varnishadm port was still
defined for the Varnish Service.
parent 9d387948
apiVersion: v1
kind: Service
metadata:
name: varnish-ingress-admin
namespace: varnish-ingress
labels:
app: varnish-ingress
spec:
clusterIP: None
ports:
- port: 6081
targetPort: 6081
protocol: TCP
name: varnishadm
selector:
app: varnish-ingress
......@@ -10,6 +10,8 @@ kubectl apply -f tls-cert-secret.yaml
kubectl apply -f varnish.yaml
kubectl apply -f admin-svc.yaml
kubectl apply -f nodeport.yaml
kubectl apply -f controller.yaml
......
......@@ -10,10 +10,6 @@ metadata:
spec:
type: NodePort
ports:
- port: 6081
targetPort: 6081
protocol: TCP
name: varnishadm
- port: 80
targetPort: 80
protocol: TCP
......
......@@ -8,6 +8,8 @@ kubectl delete -f controller.yaml
kubectl delete -f nodeport.yaml
kubectl delete -f admin-svc.yaml
kubectl delete -f varnish.yaml
kubectl delete -f tls-cert-secret.yaml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment