Tag: kubernetes

“kubectl get services” doesn't show an “ExternalIP” column

Hello Kubernetes Gurus, I’ve just set up my own BareBone cluser on top of Centos7 with 1 master/2 nodes. I’m currently working through the GuestBook tutorial and when I thought everything was running smoothly, I hit a blocker… I’m unable to access the GuestBook webpage because “kubectl get services” nor “kubectl describe services/frontend” isn’t giving […]

How to reach Kubernetes service from another computer?

My IP-address: DNS_SERVICE_IP: 10.3.0.10 SERVICE_IP_RANGE 10.3.0.0/16 kubectl get svc return: NAME LABELS SELECTOR IP(S) PORT(S) guestbook app=guestbook app=guestbook 10.3.0.72 3000/TCP kubernetes component=apiserver,provider=kubernetes <none> 10.3.0.1 443/TCP mongodb app=mongodb app=mongodb 10.3.0.223 27017/TCP redis-master app=redis,role=master app=redis,role=master 10.3.0.178 6379/TCP Kubernetes master IP: 192.168.0.139 My local IP: 192.168.0.157 PING 10.3.0.223 (10.3.0.223) 56(84) bytes of data. — 10.3.0.223 ping statistics — […]

Accessing kubernetes running inside docker in a guest OS from the host OS

I’m trying to access the kubernetes api exposed inside a guest OS provisionned by Vagrant from the host OS. The Vagrantfile exposes all ports of the guest OS through a private network and also forward the port 8080 like this : config.vm.network “forwarded_port”, guest: 8080, host: 8080 config.vm.network “private_network”, ip: “192.168.50.4” When following the kubernetes […]

Kubernetes 1.2alpha8 AWS Container Registry Integration

Was trying to integrate kubernetes with AWS Container Registry. From what I have read it sounds like it should be automatically setup if the cluster is deployed to AWS. Which my cluster is. I also granted the IAM Roles the necessary permissions to pull from ecr but I still get unable to pull image when […]

SkyDNS in Daemon Sets and local DNS resolution

We are thinking about running SkyDNS on every Kubernetes host with Daemon Sets or static pods (via the Kubernetes manifest). We want to make every container use the local SkyDNS, deliberately bypassing Kubernetes cluster IP / kube-proxy routing. One way to achieve this would be to map DNS port 53 from the SkyDNS pod to […]

deploy wso2esb in docker container with kubernetes

can someone help with how to deploy wso2esb in docker container with kubernetes? currently im running only one node/master at local machine with ubuntu server 14.04 LTS if im running with this sudo docker run –name esb isim/wso2esb it instantly trigger the service inside the container but if im running with this kubectl run esb1 […]

Cannot access a Kubernetes postgresql service from the outside

I’m using Docker 1.10.1 and Kubernetes 1.0.1 on a local bare metal computer with Ubuntu 14.04, and I’m still new on this. That computer is the Kubernetes master as well as the node I’m using to make tests (I’m currently making a proof of concept). I created a couple of containers (1 nginx and 1 […]

How to install the kubernetes dns addon manually (skydns, kube2sky trouble)

I am following the instructions at https://coreos.com/kubernetes/docs/latest/deploy-addons.html to install KubeDNS manually by creating the kubedns rc and service. The yaml is as follows: apiVersion: v1 kind: Service metadata: name: kube-dns namespace: kube-system labels: k8s-app: kube-dns kubernetes.io/cluster-service: “true” kubernetes.io/name: “KubeDNS” spec: selector: k8s-app: kube-dns clusterIP: ${DNS_SERVICE_IP} ports: – name: dns port: 53 protocol: UDP – name: […]

Kubelet image GC for docker “Data Space Total” instead of disk space

Docker 1.10.2 Kubernetes 1.1.7 I start docker with parameter –graph=/mydisk/mypath/ And start Kubelet with parameters –docker-root=/mydisk/mypath/ –image-gc-high-threshold=80 –images-gc-low-threshold=60 docker info shows me Data Space Total: 107.4 GB. And mydisk is 1.2T. With a long time running, the total size of pulled docker images reaches 107.4GB. Then docker daemon crashes. I do not want to set […]

flannel error failed to initialize network failed to open tun device

I’m using flannel for the first time and I’m testing it with two nodes (Ubuntu14.04) with etcd running. The ip addresses of the two nodes are 192.168.0.124 (node1) and 192.168.0.127 (node2), and they can ping each other without problem. I have configured flannel network in etcd as follows: On node1: etcdctl set /coreos.com/network/config ‘{ “Network”: […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.