Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Kubernetes Infra using Kubespray

Building Kubernetes Infra using Kubespray

This presentation is about how to build Kubernetes cluster using Kubespray.

Avatar for Seungkyu Ahn

Seungkyu Ahn

June 29, 2018
Tweet

More Decks by Seungkyu Ahn

Other Decks in Programming

Transcript

  1. 저는 소개하자면 • JSP&Servlet -> EJB -> Spring, Hibernate •

    CVS -> Subversion -> Git • Ant -> Maven • Transactional Script -> OR Mapping, Domain Modeling • Heavy Class -> Design pattern, Refactoring • Waterfall, UML -> XP Developer : ~2010년 Engineer : 2011년~ • OpenStack • Linux • Docker, Kubernetes • Ansible 학습중 • Deep Learning • Spring boot, Frontend, IOS, Android https://www.ahnseungkyu.com [email protected]
  2. 5 Prerequisite 5 • Connect using ssh without password for

    all node • sudo no password • Install Python - all node • swapoff • Install pip • pip install -r requirements.txt • Install ansible
  3. 7 Host file 7 k0-master01 ansible_port=22 ansible_host=k0-master01 ip=10.0.0.177 k0-node01 ansible_port=22

    ansible_host=k0-node01 ip=10.0.0.178 [etcd] k0-master01 [kube-master] k0-master01 [kube-node] k0-node01 [k8s-cluster:children] kube-node kube-master
  4. 10 k8s-cluster.yml 10 kube_version: v1.10.4 kube_network_plugin: calico kube_service_addresses: 10.233.0.0/18 kube_pods_subnet:

    10.233.64.0/18 dashboard_enabled: true helm_enabled: false istio_enabled: false local_volume_provisioner_enabled: false ingress_nginx_enabled: false
  5. Q&A