Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes #18

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use named ports
dysinger committed Oct 11, 2015
commit b2e5a580c363b612f921631b51c712fad20999c0
3 changes: 2 additions & 1 deletion kube/rc.yaml
Original file line number Diff line number Diff line change
@@ -17,7 +17,8 @@ spec:
command: ["yesodweb", "development"]
workingDir: /app
ports:
- containerPort: 3001
- name: http
containerPort: 3001
env:
- name: PORT
value: "3001"
5 changes: 3 additions & 2 deletions kube/service.yaml
Original file line number Diff line number Diff line change
@@ -7,8 +7,9 @@ metadata:
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 3001
protocol: TCP
- name: http
port: 80
targetPort: http
selector:
app: yesodweb