Adding required name values (#416)

Added a name value so make Kubernetes 1.8.5 work.

Had this error before:
```The Service "nginx" is invalid:
* spec.ports[0].name: Required value```
This commit is contained in:
Fabian Topfstedt 2017-12-10 03:08:34 +01:00 committed by Henning Jacobs
parent bd632ec2d3
commit 5f88867e75

View File

@ -106,6 +106,7 @@ spec:
type: LoadBalancer
ports:
- port: 80
name: http
targetPort: 80
selector:
app: nginx
@ -127,6 +128,7 @@ spec:
name: nginx
ports:
- containerPort: 80
name: http
```
After roughly two minutes check that a corresponding DNS record for your service was created.