stackube/devstack
Ian Wienand d6d27752ad Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I37d57e12ebe5af5f02429831fe3249c5da0d1bad
2019-03-24 20:36:10 +00:00
..
kubeadm.yaml Add deployments for stackube addons 2017-08-04 18:37:30 +08:00
local.conf.node.sample Replace openstack.org git:// URLs with https:// 2019-03-24 20:36:10 +00:00
local.conf.sample Replace openstack.org git:// URLs with https:// 2019-03-24 20:36:10 +00:00
plugin.sh Bump 1.8 and version config, frakti 1.1.1 2017-10-28 22:41:10 +08:00
README.md Update network TPR to CRD 2017-07-06 09:45:23 +08:00
settings Bump 1.8 and version config, frakti 1.1.1 2017-10-28 22:41:10 +08:00

devstack plugin

devstack plugin for stackube.

All-in-one

# create stack user
sudo useradd -s /bin/bash -d /opt/stack -m stack
echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
sudo su - stack

git clone https://git.openstack.org/openstack-dev/devstack -b stable/ocata
cd devstack

Create local.conf from local.conf.sample and then run ./stack.sh to install.

./stack.sh

Wait a while for installation compelete, then setup kubernetes and OpenStack client:

# Kubernetes
export KUBECONFIG=/etc/kubernetes/admin.conf
kubectl cluster-info

# OpenStack
source openrc admin admin
openstack service list

Add a node

# create stack user
sudo useradd -s /bin/bash -d /opt/stack -m stack
echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
sudo su - stack

git clone https://git.openstack.org/openstack-dev/devstack -b stable/ocata
cd devstack

Create local.conf from local.conf.node.sample, set HOST_IP to local host's IP, set SERVICE_HOST to master's IP and set KUBEADM_TOKEN to kubeadm token (could be got by kubeadm token list).

Then run ./stack.sh to install.