GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — devopsproject1/k8setup.yml at main · Sreedhar447/devopsproject1 Expand file tree/ Copy pathk8setup.ymlMore file actions 60 lines (49 loc) · 1.51 KB / Copy pathk8setup.ymlFile metadata and controls60 lines (49 loc) · 1.51 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 # Already Prepared the Playbook Go through the Playbook # This Playbook will be pushed into github so you can check from there too # This playbook will install kubectl - kops - generate keys for workstation --- - name: update server hosts: localhost vars: kops_download_path: "https://github.com/kubernetes/kops/releases/download/{{ kops_stable_version }}/kops-linux-amd64" tasks: - name: Add Kubernetes Repository yum_repository: name: Kubernetes description: Kubernetes Repo baseurl: https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64 enabled: yes gpgcheck: no repo_gpgcheck: no gpgkey: - https://packages.cloud.google.com/yum/doc/yum-key.gpg - https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg state: present become: yes - name: Install Kubectl yum: name: kubectl state: present become: yes - name: Kops Latest Release uri: url: https://api.github.com/repos/kubernetes/kops/releases/latest return_content: yes register: kops_ver - name: Print Latest Tag debug: var: kops_ver.json['tag_name'] - name: Set kops version set_fact: kops_stable_version={{ kops_ver.json['tag_name'] }} - name: Setup KOPS get_url: url: "{{ kops_download_path }}" dest: /usr/local/bin/kops mode: 0755 become: yes - name: Generate SSH keypair openssh_keypair: path: /home/centos/.ssh/id_rsa state: present ... |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |