############################################################# ## NOT FOR PRODUCTION USE. ## ## THE CONTENT OF THIS FILE IS FOR LEARNING PURPOSES ONLY ## ## created by David Surey, Amazon Web Services, 2020 ## ############################################################# # Download and apply manifest - name: Download metrics-server manifest to the cluster. delegate_to: "{{ EKSBastionInstancePublicIP }}" ansible.builtin.get_url: url: https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml dest: ~/metrics-server.yaml mode: '0664' - name: Apply metrics-server manifest to the cluster. delegate_to: "{{ EKSBastionInstancePublicIP }}" kubernetes.core.k8s: state: present src: ~/metrics-server.yaml