Skip to content

pdumais/ansible-kubernetes

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
This will install kubernetes and any other required software (i.e. Etcd) on centos 7.
Each servers will be master AND worker node though. 

You first need to get the binary files from github (https://github.com/kubernetes/kubernetes/releases). Then unpack and copy
    tar -zxf kubernetes.tar.gz
    cd kubernetes
    cluster/get-kube-binaries.sh
    cd server
    tar -zxf kubernetes-server-linux-amd64.tar.gz
Then copy kube-apiserver, kube-controller-manager, kubectl, kubelet, kube-proxy, kube-scheduler to roles/kubernetes/files
Change the variables in group_vars/all and then just run "ansible-playbook k8s.yml"

About

Ansible script for deploying a clustered kubernetes on centos 7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages