Tag: kubernetes

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?

Bootstrapping docker deamon

In the official Kubernetes multinode Docker guide , it is mentioned that you need to another Docker instance: A bootstrap Docker instance which is used to start etcd and flanneld, on which the Kubernetes components depend So what is a bootstrap instance and how do you make sure that keeps running on restarts ?

Kubernetes fails to pull Docker image from artifactoryonline.com

I am using Kubernetes on AWS to run a Play+AKKA Streams server. Here is the version details: Client Version: version.Info{Major:”1″, Minor:”2″, GitVersion:”v1.2.4+3eed1e3″, GitCommit:”3eed1e3be6848b877ff80a93da3785d9034d0a4f”, GitTreeState:”not a git tree”} Server Version: version.Info{Major:”1″, Minor:”2″, GitVersion:”v1.2.4″, GitCommit:”3eed1e3be6848b877ff80a93da3785d9034d0a4f”, GitTreeState:”clean”} Here is my deployment script: apiVersion: extensions/v1beta1 kind: Deployment metadata: name: service-validation2 labels: name: service-validation2 spec: replicas: 1 strategy: type: Recreate […]

Docker and Kubernetes repository for linux

I have been trying to do a Docker and Kubernetes setup on Linux on aws but I am unable to do the same. yum install -y docker docker-registry etcd kubernetes flannel Loaded plugins: amazon-id, rhui-lb, search-disabled-repos No package docker available. No package docker-registry available. No package kubernetes available. No package flannel available. Can anyone suggest […]

Does Kubernetes evenly distribute across an ec2 cluster?

So, I’m trying to understand CPU and VM allocation with kubernetes, docker and AWS ecs. Does this seem right? Locally, running “docker compose” with a few services: each container gets added to the single Docker Machine VM. You can allocate CPU shares from this single VM. AWS, running ECS, generated from a docker compose: each […]

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