Child pages
  • Kubernetes Ansible Server Kurulumu (Debian 8 Jessie)
Skip to end of metadata
Go to start of metadata

"/etc/default/grub" dosyasina alltaki satir eklenir.

GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"

 

ardindan grup update edilir ve sistem reboot yapilmalidir.

 update-grub
 update-grub2
 reboot

"/etc/apt/sources.list" dosyasina alttaki repo eklenir.

deb http://deb.debian.org/debian jessie-backports main contrib non-free

systemd 2.30 versionu yuklenir.

apt-get -t jessie-backports install systemd

python 3.6 versiyonuna yukseltilmeli.

apt-get install tcl-dev tk-dev zlib1g-dev ncurses-dev libreadline-dev libdb-dev libgdbm-dev libzip-dev libssl-dev libsqlite3-dev libbz2-dev liblzma-dev

wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tar.xz

tar xf Python-3.6.4.tar.xz

cd Python-3.6.4

./configure

make

make install

ansible son versiyonu yukleme(Ansible min Python 3.5 ile calisir standart gelen 3.4)

apt-get install git python3-netaddr

pip3 install ansible netaddr

kubernetes reposunu cek

git clone https://github.com/kubernetes-incubator/kubespray

kurulum yapilacak sunucularda ipv4 forwarding aktif edilmelidir ve sudo kurulmali.

sysctl -w net.ipv4.ip_forward=1

apt-get install sudo


  • No labels