While the concepts and architecture in Kubernetes represent years of experience designing and building large scale cluster manager at Google, the Kubernetes project is still under heavy development. Expect bugs, design and API changes as we bring it to a stable, production product this year.
-
Kubernetes master:
curl -sSL https://get.kismatic.com/kubernetes/master.sh | sudo sh
-
Kubernetes nodes:
curl -sSL https://get.kismatic.com/kubernetes/node.sh | sudo sh
-
Requirements:
##Configuration and Manual Setup
rpm -Uvh https://repos.kismatic.com/el/7/x86_64/kismatic-repo-el-7-1.x86_64.rpm
Master: sudo yum install kubernetes-master
Nodes: sudo yum kubernetes-node
Configure Kubernetes Master
To configure services, edit configuration files in /etc/kubernetes/master
or /etc/kubernetes/node
To override services, copy /lib/systemd/system
to /etc/systemd/system
to override. This allows you to customize local services without worrying about losing changes as the result of a package upgrade.
Add minions to kube-controller-manager.conf
When running on bare metal (or without a cloud config), set the --machines=
flag to your static IPs to bootstrap nodes. Alternatively you could leave it blank, and manually register each node with kubectl create node -f <file>
after it is up. https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/node.md
Start services sudo systemctl start kube-apiserver sudo systemctl start kube-scheduler sudo systemctl start kube-controller-manager sudo systemctl start kubelet
test with
curl -L http://<master ip>:8080/version
Set --master=<master ip>
for a node in /etc/kubernetes/node/kube-proxy.conf
and --master=<master ip>
in /etc/kubernetes/node/kubelet.conf
sudo systemctl start kube-proxy sudo systemctl start kubelet
Check services are running
systemctl list-units -t service --all
Install docker on Ubuntu or Debian and etcd
To configure services, edit the file with the same name in /etc/default
Master
kube-controller-manager: when running on bare metal (or without a cloud config), set the --machines=
flag to your static IPs to bootstrap nodes. Alternatively you could leave it blank, and manually register each node with kubectl create node -f <file>
after it is up. https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/node.md
sudo service kube-apiserver start
sudo service kube-scheduler start
sudo service kube-controller-manager start
sudo service kubelet start
Configure Node
Set the --master
for a node in /etc/default/kube-proxy
and --api-servers
in /etc/default/kubelet
sudo service kube-proxy start
sudo service kubelet start
- extract kubernetes-server-linux-amd64.tar.gz to kubernetes/source
- set the version number in
./build_kubernetes
- run
./build_kubernetes
-
ruby
-
prerequisites:
gem install fpm
- BC Broussard
- Patrick Reilly