k3s/contrib/for-demos
Tim Hockin 745c2af792 Add a simple hostport-to-service proxy
Example: a pod like the  below should
proxy port 53 TCP and UDP to the main DNS service.

```
apiVersion: v1
kind: Pod
metadata:
  name: localhost-dns-proxy
spec:
  containers:
  - name: proxy-udp
    image: gcr.io/google_containers/proxy-to-service:v1
    args: [ "udp", "53", "kube-dns.default" ]
    ports:
    - name: udp
      protocol: UDP
      containerPort: 53
      hostPort: 53
  - name: proxy-tcp
    image: gcr.io/google_containers/proxy-to-service:v1
    args: [ "tcp", "53", "kube-dns.default" ]
    ports:
    - name: tcp
      protocol: TCP
      containerPort: 53
      hostPort: 53
```
2015-06-26 21:55:18 -07:00
..
proxy-to-service Add a simple hostport-to-service proxy 2015-06-26 21:55:18 -07:00
serve_hostname s/gcloud preview docker/gcloud docker/ 2015-06-18 12:27:08 -07:00
test-webserver s/gcloud preview docker/gcloud docker/ 2015-06-18 12:27:08 -07:00