Tag: kubernetes

Kubernetes AWS deployment can not set docker credentials

I set up a Kubernetes cluster on AWS using kube-up script with one master and two minions. I want to create a pod that uses a private docker image. So I need to add my credential to docker daemons of each minion of the cluster. But I don’t know how to log into the minions […]

kube-addons.service failed on CoreOS-libvirt installation

I have the following issue installing and provisioning my Kubernetes CoreOS-libvirt-based cluster. When I’m logging on the master node, I see the following: ssh core@192.168.10.1 Last login: Thu Dec 10 17:19:21 2015 from 192.168.10.254 CoreOS alpha (884.0.0) Update Strategy: No Reboots Failed Units: 1 kube-addons.service Trying to debug it, I run and receive the following: […]

separate applications on kubernetes cluster

i’m thinking of creating a kubernetes cluster on my 5 servers to provide a platform for all the teams in our company. but how can i separate different applications (multiple services) from each other. i mean, if team1 wants to deploy an web-application (1 nginx, 1 java-applicationserver, 1 mongodb). and team2 a completely other web-application […]

while running a kubernetes application

While running a kubernetes on local with docker with the following command kubectl -s http://localhost:8080 run-container nginx –image=nginx –port=80 i get this error Error from server: the server could not find the requested resource (post replicationControllers) Could someone give me some pointers on how to resolve the problem. Your help is highly appreciated

Kubernetes authentication issues pulling ECR images

Kubernetes docs say using AWS ECR is supported, but it’s not working for me. My nodes have an EC2 instance role associated with all the correct permissions but kubectl run debug1 -i –tty –restart=Never –image=672129611065.dkr.ecr.us-west-2.amazonaws.com/debug:v2 results in failed to “StartContainer” for “debug1” with ErrImagePull: “Authentication is required.” Details The instances all have a role associated […]

Getting error status trying to upload my kubernetes pod

I have my controller.yaml that looks like this: apiVersion: v1 kind: ReplicationController metadata: name: hmrcaction labels: name: hmrcaction spec: replicas: 1 selector: name: hmrcaction template: metadata: labels: name: hmrcaction version: 0.1.4 spec: containers: – name: hmrcaction image: ccc-docker-docker-release.someartifactory.com/hmrcaction:0.1.4 ports: – containerPort: 9000 imagePullSecrets: – name: fff-artifactory and service yaml that looks like this: apiVersion: v1 […]

Kubernetes and Dockerfile

People using Docker have probably used dockerfiles as master templates for their containers. Does Kubernetes allow re-use of existing dockerfiles? Or will people need to port that to Kubernetes .yaml -style templates?

WordPress GUI on Kubernetes

I have brought up mysql and wordpress containers on my master-minion single node of the kubernetes cluster (I have created this setup inside my openstack cloud). But when I try to access it on my web, it gives me a “page not found” error. While listing the endpoints of ther services running, I can use […]

Attaching a Google persistent disk to a Cloud SDK Docker container

Suppose I use a Cloud SDK Docker container, which lets me run various gcloud commands, including gcloud compute disks create which creates a Google persistent disk. However I cannot then attach to this disk within the container, since gcloud compute instances attach-disk only works on GCE instances and not Docker containers. Is there a way […]

How to deploy a rails app to google container engine with kubernetes?

I have tried many method to build my rails app to a docker image. And deploy it to google container engine. But until now, no one success. My Dockerfile(Under rails root path) FROM ruby:2.2.2 RUN apt-get update -qq && apt-get install -y build-essential RUN apt-get install -y nodejs ENV APP_HOME /myapp RUN mkdir $APP_HOME WORKDIR […]

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