A direct link to the app running on the pod works:
http://130.211.165.148:7200/primus/primus.js
A direct link to the Kubernetes Service should work but does not:
A direct link to the app running on the pod works:
http://130.211.165.148:7200/primus/primus.js
A direct link to the Kubernetes Service should work but does not:
⧑ kubectl --server=https://130.211.132.49 get -o yaml pod cloud-api-stream
apiVersion: v1beta1
creationTimestamp: 2015-01-12T17:52:34Z
currentState:
host: k8s-littlecloud-1-node-2.c.littlebits-electronics.internal
hostIP: 130.211.165.148
info:
cloud-api-stream:
containerID: docker://93e063e4262c28a984dec4999e2c32d9bfe81550bf9eebdc074f4758c15e6c92
image: quay.io/littlebits/cloud-server-api-stream
restartCount: 0
state:
running:
startedAt: 2015-01-12T17:52:35Z
net:
containerID: docker://030fb023d7391ec1464ae26cf6b85e58df94e78f514598a4cc856fe3981cf803
image: kubernetes/pause:latest
podIP: 10.108.1.117
restartCount: 0
state:
running:
startedAt: 2015-01-12T17:52:35Z
manifest:
containers: null
id: ""
restartPolicy: {}
version: ""
volumes: null
podIP: 10.108.1.117
status: Running
desiredState:
manifest:
containers:
- env:
- key: NODE_ENV
name: NODE_ENV
value: production
image: quay.io/littlebits/cloud-server-api-stream
imagePullPolicy: ""
name: cloud-api-stream
ports:
- containerPort: 7200
hostPort: 7200
name: cloud-api-stream
protocol: TCP
dnsPolicy: ClusterFirst
id: ""
restartPolicy:
always: {}
version: v1beta2
volumes: null
id: cloud-api-stream
kind: Pod
labels:
name: cloud-api-stream
namespace: default
resourceVersion: 506546
selfLink: /api/v1beta1/pods/cloud-api-stream?namespace=default
uid: c985624d-9a83-11e4-9d97-42010af00cbb
kind: Pod | |
apiVersion: v1beta1 | |
id: cloud-api-stream | |
labels: | |
name: cloud-api-stream | |
desiredState: | |
manifest: | |
version: v1beta1 | |
id: cloud-api-stream | |
containers: | |
- name: cloud-api-stream | |
image: quay.io/littlebits/cloud-server-api-stream | |
ports: | |
- name: cloud-api-stream | |
containerPort: 7200 | |
hostPort: 7200 | |
env: | |
- name: NODE_ENV | |
value: production |
⧑ kubectl --server=https://130.211.132.49 get -o yaml service cloud-api-stream
apiVersion: v1beta1
containerPort: cloud-api-stream
createExternalLoadBalancer: true
creationTimestamp: 2015-01-09T21:31:16Z
id: cloud-api-stream
kind: Service
namespace: default
port: 7777
portalIP: 10.111.251.250
protocol: TCP
publicIPs:
- 107.178.208.133
resourceVersion: 5611
selector:
name: cloud-api-stream
selfLink: /api/v1beta1/services/cloud-api-stream?namespace=default
sessionAffinity: None
uid: d7bf2823-9846-11e4-a0bd-42010af00cbb
kind: Service | |
apiVersion: v1beta1 | |
createExternalLoadBalancer: true | |
containerPort: cloud-api-stream | |
port: 7777 | |
id: cloud-api-stream | |
selector: | |
name: cloud-api-stream |