Skip to content

Commit

Permalink
Merge pull request kubernetes#4791 from bouk/manifest-add-staticport
Browse files Browse the repository at this point in the history
deploy: add protocol to all Container/ServicePorts
  • Loading branch information
k8s-ci-robot authored Nov 28, 2019
2 parents d523b4a + 5b918e2 commit de12fc1
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/cloud-generic/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ spec:
ports:
- name: http
containerPort: 80
protocol: TCP
- name: https
containerPort: 443
protocol: TCP
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
2 changes: 2 additions & 0 deletions deploy/cloud-generic/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
- name: https
port: 443
protocol: TCP
targetPort: https
2 changes: 2 additions & 0 deletions deploy/static/mandatory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,10 @@ spec:
ports:
- name: http
containerPort: 80
protocol: TCP
- name: https
containerPort: 443
protocol: TCP
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down
2 changes: 2 additions & 0 deletions deploy/static/provider/aws/service-l4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
- name: https
port: 443
protocol: TCP
targetPort: https

---
Expand Down
2 changes: 2 additions & 0 deletions deploy/static/provider/aws/service-l7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
- name: https
port: 443
protocol: TCP
targetPort: http

---
Expand Down
2 changes: 2 additions & 0 deletions deploy/static/provider/aws/service-nlb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
- name: https
port: 443
protocol: TCP
targetPort: https

---
Expand Down
2 changes: 2 additions & 0 deletions deploy/static/provider/cloud-generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
- name: https
port: 443
protocol: TCP
targetPort: https

---
Expand Down

0 comments on commit de12fc1

Please sign in to comment.