Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 786 Bytes

Integrating_Kubernetes_with_Ansible.MD

File metadata and controls

19 lines (14 loc) · 786 Bytes

Integrating Kubernetes cluster with Ansible

  1. Login to ansible server and copy public key onto kubernetes cluseter master account

  2. Update hosts file with new group called kubernetes and add kubernetes master in that.

  3. Create ansible playbooks to create deployment and services

  4. Check for pods, deployments and services on kubernetes master

    kubectl get pods -o wide 
    kubectl get deploy -o wide
    kubectl get service -o wide
  5. Access application suing service IP

    wget <kubernetes-Master-IP>:31200