mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 01:28:11 -03:30
Huge refactoring
Split scripts and instructuins into two parts: lab preparation and deployment.
This commit is contained in:
20
bootstrap-master.sh
Executable file
20
bootstrap-master.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Packages
|
||||
apt-get --yes update
|
||||
apt-get --yes upgrade
|
||||
apt-get --yes install git screen vim telnet tcpdump python-setuptools gcc python-dev python-pip libssl-dev libffi-dev software-properties-common curl
|
||||
|
||||
# Get ansible-2.1+, vanilla ubuntu-16.04 ansible (2.0.0.2) is broken due to https://github.com/ansible/ansible/issues/13876
|
||||
apt-add-repository -y ppa:ansible/ansible;apt-get update;apt-get install -y ansible
|
||||
|
||||
# Kargo-cli
|
||||
git clone https://github.com/kubespray/kargo-cli.git /root/kargo-cli
|
||||
cd /root/kargo-cli && python setup.py install
|
||||
|
||||
# Copy/create nodes list
|
||||
cp /var/tmp/nodes mcp/nodes
|
||||
|
||||
# Either pull or copy microservices repos
|
||||
cp -a /vat/tmp/microservices* mcp/ccp/
|
||||
|
||||
Reference in New Issue
Block a user