Created
April 11, 2016 18:48
-
-
Save danehans/c4ac53284cf527dbf82c15616e1840b7 to your computer and use it in GitHub Desktop.
haproxy kube ha
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: haproxy | |
| spec: | |
| hostNetwork: true | |
| containers: | |
| - name: haproxy | |
| image: docker pull million12/haproxy:1.6.3 # From https://hub.docker.com/r/million12/haproxy/ | |
| ports: | |
| # Note: Ports for kube-api manifest would need to change if running haproxy/kube-api on same kubelet. | |
| - containerPort: 443 | |
| hostPort: 443 | |
| name: https | |
| - containerPort: 7080 | |
| hostPort: 7080 | |
| name: http | |
| - containerPort: 8080 | |
| hostPort: 8080 | |
| name: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment