Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manics/ansible-role-kubernetes-kubeadm
Install a mini Kubernetes cluster for testing with kubeadm
https://github.com/manics/ansible-role-kubernetes-kubeadm
ansible kubeadm kubernetes
Last synced: 16 days ago
JSON representation
Install a mini Kubernetes cluster for testing with kubeadm
- Host: GitHub
- URL: https://github.com/manics/ansible-role-kubernetes-kubeadm
- Owner: manics
- Created: 2017-11-16T19:13:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-01T12:26:31.000Z (about 7 years ago)
- Last Synced: 2024-10-30T14:25:11.218Z (2 months ago)
- Topics: ansible, kubeadm, kubernetes
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Kubernetes
==========Deploy a Kubernetes cluster with a single master using `kubeadm`.
This role is still in development, and is based on https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/
There are several other Ansible playbooks and roles for installing a simple Kubernetes cluster, but I couldn't get them to work.
To check whether the cluster has been successfully deployed try on a master node try:
kubectl --kubeconfig /etc/kubernetes/admin.conf get pods --all-namespaces
kubectl --kubeconfig /etc/kubernetes/admin.conf get nodesDependencies
------------This role requires the distribution Docker package (you must install it yourself).
Using the upstream package is currently not supported.Role Variables
--------------Required:
- `kubernetes_role`: Either `master` or `worker`, currently only a single master is supportedOptional:
- `kubernetes_token`: The token for initialising/joining a cluster
- `kubernetes_advertise_address`: The address for connecting to the Kubernetes master
- `kubernetes_install_docker`: Whether to automatically install the distribution docker (Kubernetes will probably fail if you try to use the upstream package)Example Playbooks
-----------------Author Information
------------------