参考文档:http://docs.ceph.com/docs/master/start/quick-start-preflight/#ceph-deploy-setup
# 配置hostname和hosts
$ hostname node1
$ cat /etc/hosts
192.168.10.7 node1
# 配置SSH keys
$ ssh-keygen
参考文档:http://docs.ceph.com/docs/master/start/quick-start-preflight/#ceph-deploy-setup
# 配置hostname和hosts
$ hostname node1
$ cat /etc/hosts
192.168.10.7 node1
# 配置SSH keys
$ ssh-keygen
| { | |
| "annotations": { | |
| "kubernetes.io/config.seen": "2015-08-21T16:38:38.984869909-07:00", | |
| "kubernetes.io/config.source": "api" | |
| }, | |
| "containers": [ | |
| { | |
| "image": "nginx", | |
| "imagePullPolicy": "IfNotPresent", | |
| "name": "kube_55ef9d77-480c-11e5-9a51-000c29f6dfc5_nginx_default_nginx.a6f522be_d4afa076", |
hyper
HYPER INFO 0821 18:39:11 30526 init_comm.go] [:193] Send ping message to init
[HYPER INFO 0821 18:39:11 30526 init_comm.go] [:244] send command 12 to init, payload: ''.
[HYPER INFO 0821 18:39:11 30526 init_comm.go] [:257] write 8 to init, payload: '
'.
[HYPER INFO 0821 18:39:11 30526 init_comm.go] [:262] message sent, set pong timer
[HYPER INFO 0821 18:39:11 30526 init_comm.go] [:45] [console] hyper_loop epoll_wait 1
[HYPER INFO 0821 18:39:11 30526 init_comm.go] [:45] [console] hyper_handle_event event EPOLLIN, de 0x60f618, fd 4, 0x60f340
死锁会发生在某些pod创建完之后,特点是这个Pod通过hyper rm 会一直阻塞,同时也会阻塞其他的Pod创建
有个错误消息:read init data failed
[HYPER INFO 0821 18:51:00 30526 job.go] [:78] +job podInfo(pod-HHZJiJekKt)
[HYPER INFO 0821 18:51:00 30526 container.go] [:10] ready to get the container(7d5ee50df10e537868408a896d6da95ffc7fc4967fde1e050e93d0fe7f9484b3) info
[HYPER INFO 0821 18:51:00 30526 job.go] [:84] -job podInfo(pod-HHZJiJekKt) OK
[HYPER INFO 0821 18:51:00 30526 server.go] [:881] Calling GET /list
[HYPER INFO 0821 18:51:00 30526 server.go] [:186] List type is pod
| ```json | |
| { | |
| "containers": [ | |
| { | |
| "envs": [ | |
| { | |
| "env": "KUBERNETES_SERVICE_HOST", | |
| "value": "10.254.0.1" | |
| }, | |
| { |
| /* | |
| Copyright 2015 The Kubernetes Authors All rights reserved. | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software |
hyper attach nginx container failed, op logs:
# cat hyper-svc.json
{
"containers": [
{
"image": "nginx",
"name": "nginx"
}| Roughly the diff from upstream Docker-1.8: | |
| https://github.com/docker/docker/compare/release/1.8...clearlinux:clr-1.8.1-submit | |
| # uname -r | |
| 3.10.0-316.el7.x86_64 | |
| # getenforce | |
| Enforcing | |
| # cd /etc/yum.repos.d/ | |
| # wget http://download.opensuse.org/repositories/home:clearlinux:preview/CentOS_7/home:clearlinux:preview.repo |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/rackspace/gophercloud" | |
| "github.com/rackspace/gophercloud/openstack" | |
| "github.com/rackspace/gophercloud/openstack/identity/v2/tenants" | |
| "github.com/rackspace/gophercloud/pagination" | |
| "os" | |
| ) |
| ```yaml | |
| - hosts: k8s | |
| remote_user: root | |
| tasks: | |
| - name: install devel tools | |
| shell: yum -y install git cmake gcc g++ autoconf automake device-mapper-devel sqlite-devel pcre-devel libsepol-devel libselinux-devel systemd-container-devel automake autoconf gcc make glibc-devel glibc-devel.i686 | |
| - name: create dir |