Tag: kubernetes

Cannot validate certificate for ip because it doesn't contain any IP SANs

I have installed OpenShift3 with Docker and Kubernetes with the ansible installer. After the installation I want to create my docker registration on my master but I get the following error (I read it was something with SSL but I can’t find a solution): commands (from the sample): [root@ip-10-0-0-x centos]# export CURL_CA_BUNDLE=`pwd`/openshift.local.config/master/ca.crt [root@ip-10-0-0-x centos]# sudo […]

replication controller in docker swarm world

In kubernetes we got this replication controller which takes care of maintaining specified number of pods running in a given cluster. What is equivalent in docker-swarm world, do we have any? There is container restart option, does it work if one machine in the cluster goes down.

internal infrastructure with docker

i’ve a small company-network with following services/servers: jenkins stash (atlassian) confluence (atlassian) ldap owncloud zabbix (monitoring) puppet and some java-web-apps all running in separate kvm(libvirt)-vms in separate virtual-subnets on 2 machines (1 internal, 1 hetzner-rootserver) with shorewall inbetween. i’m thinking about switching to docker. but there are 2 questions to me: how can i achieve […]

Can't get Pod info in the kubernetes cluster

Following instructions in the book of “Kubernetes Cookbook”, I create a docker cluster with one master and two nodes: master: 198.11.175.18 etcd, flannel, kube-apiserver, kube-controller-manager, kube-scheduler minion: etcd, flannel, kubelet, kube-proxy minion1: 120.27.94.15 minion2: 114.215.142.7 OS version is: [user1@iZu1ndxa4itZ ~]$ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.2.1511 (Core) Release: […]

kubernetes error : skipping pod synchronization

i have configured kubernetes master on centos 7 and kubernetes node on another node centos 7 services running on kube master: kube-controller-manager kube-apiserver kube-scheduler etcd flanneld service running on kube node: flanneld docker kube-proxy kubelet all services are up and running and i could see the api url successfully getting all endpoints. http://kube-master:8080 however, when […]

import mysql data to kubernetes pod

Does anyone know how to import the data inside my dump.sql file to a kubernetes pod either; Directly,same way as you dealing with docker containers: docker exec -i container_name mysql -uroot –password=secret database < Dump.sql Or using the data stored in an existing docker container volume and pass it to the pod .

Connection refused with kubectl on EC2 ubuntu instance?

I installed docker-go-kubernetes on an ubuntu EC2 AWS instance using this guide: http://kubernetes.io/docs/getting-started-guides/aws/ I have kubectl installed but when I run a test: kubectl run my-nginx –image=nginx –replicas=2 –port=80 I receive and error: The connection to the server localhost:8080 was refused – did you specify the right host or port? How do I specify the […]

Kubernetes multinode setup cannot remove docker0 interface

I setup Kubernetes in multinode mode in Ubuntu 14.04 LTS with docker 1.7.1 by following this Guide: http://kubernetes.io/docs/getting-started-guides/docker-multinode/master/ The guide told to Remove the existing Docker bridge by sudo /sbin/ifconfig docker0 down and sudo brctl delbr docker0 everything is good until I restart the host machine (ubuntu), the docker0 interface is recreated after restart and […]

How to run mongo in kubernetes with authentication

I am new to kubernetes. In docker I can use the official mongo image and run docker run –name some-mongo -d mongo –auth And then connect to it and create a default db user. How can I pass –auth in a kube controller spec? Replication Controller # db-controller.yml apiVersion: v1 kind: ReplicationController metadata: labels: name: […]

Kubernetes: Multiple Services/Replication Controllers

We’re looking for direction on how to set up services and replication controllers for multiple microservices. I see a lot of examples on the internet that demonstrate a single service; I’m not sure how to configure each service separately. Are there examples out there that anyone can point to?

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